## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-jupyter-server-fileid Version: 0.9.1 Release: %autorelease Summary: A Jupyter Server extension for the File ID service License: BSD-3-Clause URL: https://pypi.org/project/jupyter-server-fileid/ Source: %{pypi_source jupyter_server_fileid} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: A Jupyter Server extension providing an implementation of the File ID service.} %description %_description %package -n python3-jupyter-server-fileid Summary: %{summary} Requires: python-jupyter-filesystem # Upstream has this dependency in jupyter-server-fileid[cli] # but the executable script is in the main package. # See https://github.com/jupyter-server/jupyter_server_fileid/issues/54 Requires: python3-click %description -n python3-jupyter-server-fileid %_description %prep %autosetup -p1 -n jupyter_server_fileid-%{version} sed -i "/pytest-cov/d" pyproject.toml %generate_buildrequires %pyproject_buildrequires -x test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files jupyter_server_fileid install -m 0755 -p -d %{buildroot}%{_sysconfdir}/jupyter/jupyter_server_config.d mv -v %{buildroot}{%{_prefix},}%{_sysconfdir}/jupyter/jupyter_server_config.d/jupyter_server_fileid.json %check %pytest %files -n python3-jupyter-server-fileid -f %{pyproject_files} %doc README.md %{_bindir}/jupyter-fileid %config(noreplace) %{_sysconfdir}/jupyter/jupyter_server_config.d/jupyter_server_fileid.json %pyproject_extras_subpkg -n python3-jupyter-server-fileid test %changelog ## START: Generated by rpmautospec * Fri Jan 26 2024 Fedora Release Engineering - 0.9.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Dec 19 2023 Lumir Balhar - 0.9.1-1 - Update to 0.9.1 (rhbz#2255263) * Wed Dec 13 2023 Lumír Balhar - 0.9.0-4 - Provide test extra for jupyter-collaboration * Fri Jul 21 2023 Fedora Release Engineering - 0.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 04 2023 Python Maint - 0.9.0-2 - Rebuilt for Python 3.12 * Tue Apr 11 2023 Lumír Balhar - 0.9.0-1 - Update to 0.9.0 (rhbz#2185465) * Wed Mar 01 2023 Lumír Balhar - 0.8.0-1 - Update to 0.8.0 (rhbz#2173025) * Fri Feb 17 2023 Lumír Balhar - 0.7.0-1 - Update to 0.7.0 (rhbz#2170695) * Fri Jan 20 2023 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Dec 05 2022 Lumír Balhar - 0.6.0-1 - Initial package ## END: Generated by rpmautospec