%global project rpm-lockfile-prototype Name: python-%project Version: 0.13.1 Release: 1.20241205092835523660.main.0.gd823f9e%{?dist} Summary: Build manual page from python's ArgumentParser object. License: GPL-3.0-or-later URL: https://github.com/konflux-ci/rpm-lockfile-prototype Source0: rpm-lockfile-prototype-0.13.1.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-dnf %global _description %{expand: Generate RPM lockfile.} %description %_description %package -n python3-%project Summary: RPM lockfile generator %description -n python3-%project %_description %prep %autosetup -p1 -n rpm-lockfile-prototype-0.13.1 %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 %files -n python3-%project %license COPYING %doc README.md %_bindir/rpm-lockfile-prototype %_bindir/caching-rpm-lockfile-prototype %python3_sitelib/rpm_lockfile/*.py %python3_sitelib/rpm_lockfile/__pycache__/*.pyc %python3_sitelib/rpm_lockfile/content_origin/*.py %python3_sitelib/rpm_lockfile/content_origin/__pycache__/*.pyc %python3_sitelib/rpm_lockfile_prototype-*dist-info %changelog * Thu Dec 05 2024 Packit - 0.13.1-1.20241205092835523660.main.0.gd823f9e - Development snapshot (d823f9e0) * Tue Sep 03 2024 Pavel Raiskup - 0.7.2-1 - initial RPM packaging