Name: marshalparser Version: 0.3.0 Release: 4%{?dist} Summary: Parser for Python internal Marshal format License: MIT URL: https://github.com/fedora-python/%{name} Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros # Test dependencies BuildRequires: python3-pytest %generate_buildrequires %pyproject_buildrequires %description Parser for Python internal Marshal format which can fix pyc files reproducibility. %prep %autosetup # Remove tests for Python versions that we don't ship, leave 3.9. # They are skipped automatically, but it takes a long time. rm -rf test/python_stdlib/{3.10,3.11,3.6,3.7,3.8} %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{name} %check %pytest -v test.py %files -f %{pyproject_files} %license LICENSE %doc README.md %{_bindir}/%{name} %changelog * Wed May 04 2022 Tomas Orsava - 0.3.0-4 - Rebuild to activate gating * Thu Mar 03 2022 Tomas Orsava - 0.3.0-3 - Convert spec file to CentOS Stream 9 and RHEL 9 * Thu Jan 20 2022 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Oct 13 2021 Lumír Balhar - 0.3.0-1 - Update to 0.3.0 * Thu Jul 22 2021 Fedora Release Engineering - 0.2.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.2.6-2 - Rebuilt for Python 3.10 * Fri Apr 30 2021 Lumír Balhar - 0.2.6-1 - Update to 0.2.6 * Tue Jan 26 2021 Fedora Release Engineering - 0.2.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Dec 18 2020 Lumír Balhar - 0.2.5-1 - Update to 0.2.5 * Tue Dec 08 2020 Lumír Balhar - 0.2.4-1 - Update to 0.2.4 * Wed Nov 11 2020 Lumír Balhar - 0.2.3-1 - Update to 0.2.3 (#1896208) * Tue Nov 10 2020 Lumír Balhar - 0.2.2-1 - Update to 0.2.2 (#1896208) * Wed Sep 16 2020 Lumír Balhar - 0.2.1-1 - Update to 0.2.1 * Wed Jul 29 2020 Lumír Balhar - 0.2.0-1 - Update to 0.2.0 * Tue Jul 28 2020 Fedora Release Engineering - 0.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 15 2020 Lumír Balhar - 0.1.1-1 - Initial package