## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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-black Version: 0.4.0 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: A simple extension for Jupyter Notebook and Jupyter Lab to beautify Python code automatically using Black. # Check if the automatically generated License and its spelling is correct for Fedora # https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ License: MIT URL: https://github.com/n8henrie/jupyter-black Source: %{pypi_source jupyter_black} BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'jupyter-black' generated automatically by pyp2spec.} %description %_description %package -n python3-jupyter-black Summary: %{summary} %description -n python3-jupyter-black %_description # For official Fedora packages, review which extras should be actually packaged # See: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#Extras #pyproject_extras_subpkg -n python3-jupyter-black dev,test %prep %autosetup -p1 -n jupyter_black-%{version} %generate_buildrequires # Keep only those extras which you actually want to package or use during tests %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -L jupyter_black %check %_pyproject_check_import_allow_no_modules -t %files -n python3-jupyter-black -f %{pyproject_files} %doc README.md CHANGELOG.md AUTHORS.md CONTRIBUTING.md %license LICENSE %changelog ## START: Generated by rpmautospec * Fri May 09 2025 John Doe - 0.4.0-1 - Uncommitted changes ## END: Generated by rpmautospec