Name: python-find-libpython Version: 0.4.0 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: Finds the libpython associated with your environment, wherever it may be hiding # 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/ktbarrett/find_libpython Source: %{pypi_source find_libpython} BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'find-libpython' generated automatically by pyp2spec.} %description %_description %package -n python3-find-libpython Summary: %{summary} %description -n python3-find-libpython %_description %prep %autosetup -p1 -n find_libpython-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install # Add top-level Python module names here as arguments, you can use globs %files -n python3-find-libpython %{_bindir}/find_libpython %{python3_sitelib}/find_libpython* %changelog %autochangelog