## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 17; 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-hatch-vcs Version: 0.4.0 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: Hatch plugin for versioning with your preferred VCS # 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/ofek/hatch-vcs Source: %{pypi_source hatch_vcs} BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'hatch-vcs' generated automatically by pyp2spec.} %description %_description %package -n python3-hatch-vcs Summary: %{summary} %description -n python3-hatch-vcs %_description %prep %autosetup -p1 -n hatch_vcs-%{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 %_pyproject_check_import_allow_no_modules -t %files -n python3-hatch-vcs -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Mon Apr 28 2025 CoprDistGit - 0.4.0-17 - automatic import of python-hatch-vcs * Mon Apr 28 2025 CoprDistGit - 0.4.0-16 - automatic import of python-hatch-vcs * Thu Apr 10 2025 CoprDistGit - 0.4.0-15 - automatic import of python-hatch-vcs * Fri Apr 04 2025 CoprDistGit - 0.4.0-14 - automatic import of python-hatch-vcs * Mon Mar 17 2025 CoprDistGit - 0.4.0-13 - automatic import of python-hatch-vcs * Tue Mar 04 2025 CoprDistGit - 0.4.0-12 - automatic import of python-hatch-vcs * Mon Feb 17 2025 CoprDistGit - 0.4.0-11 - automatic import of python-hatch-vcs * Wed Feb 05 2025 CoprDistGit - 0.4.0-10 - automatic import of python-hatch-vcs * Tue Feb 04 2025 CoprDistGit - 0.4.0-9 - automatic import of python-hatch-vcs * Mon Feb 03 2025 CoprDistGit - 0.4.0-8 - automatic import of python-hatch-vcs * Sat Feb 01 2025 CoprDistGit - 0.4.0-7 - automatic import of python-hatch-vcs * Thu Jan 30 2025 CoprDistGit - 0.4.0-6 - automatic import of python-hatch-vcs * Mon Jan 27 2025 CoprDistGit - 0.4.0-5 - automatic import of python-hatch-vcs * Tue Jan 21 2025 CoprDistGit - 0.4.0-4 - automatic import of python-hatch-vcs * Sun Jan 19 2025 CoprDistGit - 0.4.0-3 - automatic import of python-hatch-vcs * Thu Jan 16 2025 CoprDistGit - 0.4.0-2 - automatic import of python-hatch-vcs * Thu Jan 02 2025 CoprDistGit - 0.4.0-1 - automatic import of python-hatch-vcs ## END: Generated by rpmautospec