Name: python-puremagic Version: 1.28 Release: 0.01 # Fill in the actual package summary to submit package to Fedora Summary: Pure python implementation of magic file detection # 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/cdgriffith/puremagic Source: %{pypi_source puremagic} BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'puremagic' generated automatically by pyp2spec.} %description %_description %package -n python3-puremagic Summary: %{summary} %description -n python3-puremagic %_description %prep %autosetup -p1 -n puremagic-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install # Add top-level Python module names here as arguments, you can use globs %pyproject_save_files -l puremagic %check %pyproject_check_import %files -n python3-puremagic -f %{pyproject_files} %changelog * Thu Nov 28 2024 Brian J. Murrell - 1.28-0.01 - Initial release