Name: python-pdm-build-locked Version: 0.3.4 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: pdm-build-locked is a pdm plugin to add locked packages as additional optional dependency groups to the distribution metadata # No license information obtained, it's up to the packager to fill it in License: ... URL: https://pypi.org/project/pdm-build-locked/ Source: %{pypi_source pdm_build_locked} BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'pdm-build-locked' generated automatically by pyp2spec.} %description %_description %package -n python3-pdm-build-locked Summary: %{summary} %description -n python3-pdm-build-locked %_description %prep %autosetup -p1 -n pdm_build_locked-%{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-pdm-build-locked -f %{pyproject_files} %changelog %autochangelog