%global project rpm-lockfile-prototype Name: python-%project Version: 0.9.0 Release: 1.20241113111801904745.pr71.6.g7de0cd8%{?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.9.0.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.9.0 %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 %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 * Wed Nov 13 2024 Packit - 0.9.0-1.20241113111801904745.pr71.6.g7de0cd8 - Add caching for downloaded rpmdb (Lubomír Sedlář) - Fix setting $basearch variable (Lubomír Sedlář) - Substitute variables in repoids (Lubomír Sedlář) - Add support for metalink/mirrorlist (Lubomír Sedlář) * Tue Sep 03 2024 Pavel Raiskup - 0.7.2-1 - initial RPM packaging