Name: python-puremagic Version: 2.1.1 Release: 1%{?dist} # 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} # for some reason python-rpm-macros' %%pyproject_files doesn't include /usr/bin/puremagic, so add it manually /usr/bin/puremagic %changelog * Mon Mar 23 2026 Brian J. Murrell - 2.1.1-1 - Update to 2.1.1 * Fri Mar 13 2026 Brian J. Murrell - 2.1.0-1 - Update to 2.1.0 - Add SETUPTOOLS_SCM_PRETEND_VERSION=%{version} in %%build to avoid build failure due to missing git metadata * Mon Mar 09 2026 Brian J. Murrell - 2.0.2-1 - Update to 2.0.2 * Sun Feb 22 2026 Brian J. Murrell - 2.0.0-1 - Update to 2.0.0 - Added /usr/bin/puremagic to files list * Fri Jul 04 2025 Brian J. Murrell - 1.30-1 - Update to 1.30 * Fri May 02 2025 Brian J. Murrell - 1.29-1 - Update to 1.29 * Thu Nov 28 2024 Brian J. Murrell - 1.28-0.01 - Initial release