diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..350915d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/marshalparser-0.3.0.tar.gz diff --git a/.marshalparser.metadata b/.marshalparser.metadata new file mode 100644 index 0000000..fcff211 --- /dev/null +++ b/.marshalparser.metadata @@ -0,0 +1 @@ +e1780d46e43c2548e614a99aa28b96a4c08dfc1e SOURCES/marshalparser-0.3.0.tar.gz diff --git a/SPECS/marshalparser.spec b/SPECS/marshalparser.spec new file mode 100644 index 0000000..76602a1 --- /dev/null +++ b/SPECS/marshalparser.spec @@ -0,0 +1,96 @@ +Name: marshalparser +Version: 0.3.0 +Release: 5%{?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 +* Thu May 05 2022 Tomas Orsava - 0.3.0-5 +- Rebuild to imrove gating + +* 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