Name: python-bumpversion Version: 0.6.0 Release: 0.01%{?dist} Summary: Version-bump your software with a single command! # Check if the automatically generated License and its spelling is correct for Fedora # https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ License: GPL-3.0-only URL: https://github.com/peritus/bumpversion Source: %{pypi_source bumpversion} BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'bumpversion' generated automatically by pyp2spec.} %description %_description %package -n python3-bumpversion Summary: %{summary} %description -n python3-bumpversion %_description %prep %autosetup -p1 -n bumpversion-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install # For official Fedora packages, including files with '*' +auto is not allowed # Replace it with a list of relevant Python modules/globs and list extra files in %%files %pyproject_save_files '*' +auto %check #ValueError: No modules to check were left #%%pyproject_check_import %files -n python3-bumpversion -f %{pyproject_files} %changelog %autochangelog * Thu Feb 8 2024 Brian J. Murrell - 0.6.0-0.01 - Initial creation - Skip %%pyproject_check_import due to: + /usr/bin/python3 -sP /usr/lib/rpm/redhat/import_all_modules.py -f /builddir/build/BUILD/python-bumpversion-0.6.0-0.01.fc39.x86_64-pyproject-modules Traceback (most recent call last): File "/usr/lib/rpm/redhat/import_all_modules.py", line 171, in main() File "/usr/lib/rpm/redhat/import_all_modules.py", line 163, in main modules = read_modules_from_all_args(cli_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/rpm/redhat/import_all_modules.py", line 89, in read_modules_from_all_args raise ValueError('No modules to check were left') ValueError: No modules to check were left