commit 216345f7231ac17764f96bd4cc69579cec134ec0 Author: MSVSphere Packaging Team Date: Fri Oct 25 16:55:29 2024 +0300 import marshalparser-0.3.4-11.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8f238f4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/marshalparser-0.3.4.tar.gz diff --git a/.marshalparser.metadata b/.marshalparser.metadata new file mode 100644 index 0000000..ef39836 --- /dev/null +++ b/.marshalparser.metadata @@ -0,0 +1 @@ +27d0905c27535dfbf13871c4d4ce4bcb146dad72 SOURCES/marshalparser-0.3.4.tar.gz diff --git a/SPECS/marshalparser.spec b/SPECS/marshalparser.spec new file mode 100644 index 0000000..9a4cec5 --- /dev/null +++ b/SPECS/marshalparser.spec @@ -0,0 +1,156 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.1) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 11; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +Name: marshalparser +Version: 0.3.4 +Release: %autorelease +Summary: Parser for Python internal Marshal format + +# SPDX +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 + +# For tests on various pyc files +# We intentionally skip those on RHEL to avoid pulling other Pythons into next RHEL. +# When a new Python is added into RHEL, the new version should be explicitly added. +%if %{undefined rhel} +BuildRequires: python3.6 +BuildRequires: python3.8 +BuildRequires: python3.9 +BuildRequires: python3.10 +BuildRequires: python3.11 +BuildRequires: python3.12 +%endif + +%generate_buildrequires +%pyproject_buildrequires -x test + +%description +Parser for Python internal Marshal format which can fix pyc files +reproducibility. + +%prep +%autosetup + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{name} + +%check +%pytest + +%files -f %{pyproject_files} +%license LICENSE +%doc README.md +%{_bindir}/%{name} + +%changelog +## START: Generated by rpmautospec +* Mon Jun 24 2024 Troy Dawson - 0.3.4-11 +- Bump release for June 2024 mass rebuild + +* Tue May 07 2024 Miro Hrončok - 0.3.4-10 +- Add RHEL gating configuration + +* Tue May 07 2024 Miro Hrončok - 0.3.4-9 +- CI: Remove tests for Pythons not available in c10s + +* Thu Jan 25 2024 Fedora Release Engineering - 0.3.4-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 0.3.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Sep 27 2023 Miro Hrončok - 0.3.4-6 +- Don't test with retired Python 3.7 +- https://fedoraproject.org/wiki/Changes/RetirePython3.7 + +* Thu Jul 20 2023 Fedora Release Engineering - 0.3.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 0.3.4-4 +- Rebuilt for Python 3.12 + +* Wed May 31 2023 Karolina Surma - 0.3.4-3 +- Review the License tag according to the SPDX standard + +* Fri Mar 17 2023 Miro Hrončok - 0.3.4-2 +- Drop dependency on tox and skip other-Python-versions tests on ELN + +* Fri Mar 17 2023 Lumir Balhar - 0.3.4-1 +- Update to 0.3.4 (rhbz#2179370) + +* Thu Jan 19 2023 Fedora Release Engineering - 0.3.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Nov 05 2022 Lumír Balhar - 0.3.3-1 +- Update to 0.3.3 +Resolves: rhbz#2140261 + +* Thu Jul 21 2022 Fedora Release Engineering - 0.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 0.3.1-2 +- Rebuilt for Python 3.11 + +* Mon May 16 2022 Lumír Balhar - 0.3.1-1 +- Update to 0.3.1 + +* 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 + +## END: Generated by rpmautospec