|
|
|
@ -1,8 +1,19 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.6.5)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 12;
|
|
|
|
|
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: 1%{?dist}
|
|
|
|
|
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
|
|
|
|
@ -11,8 +22,17 @@ BuildArch: noarch
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: pyproject-rpm-macros
|
|
|
|
|
|
|
|
|
|
# Test dependencies
|
|
|
|
|
# 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
|
|
|
|
@ -32,7 +52,7 @@ reproducibility.
|
|
|
|
|
%pyproject_save_files %{name}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%pytest -v test.py
|
|
|
|
|
%pytest
|
|
|
|
|
|
|
|
|
|
%files -f %{pyproject_files}
|
|
|
|
|
%license LICENSE
|
|
|
|
@ -40,18 +60,59 @@ reproducibility.
|
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Mar 28 2023 Lumír Balhar <lbalhar@redhat.com> - 0.3.4-1
|
|
|
|
|
- Rebase to 0.3.4 and enable testing with Python 3.11
|
|
|
|
|
Resolves: RHEL-309
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.3.4-12
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.3.4-11
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 07 2024 Miro Hrončok <miro@hroncok.cz> - 0.3.4-10
|
|
|
|
|
- Add RHEL gating configuration
|
|
|
|
|
|
|
|
|
|
* Tue May 07 2024 Miro Hrončok <miro@hroncok.cz> - 0.3.4-9
|
|
|
|
|
- CI: Remove tests for Pythons not available in c10s
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Sep 27 2023 Miro Hrončok <miro@hroncok.cz> - 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 <releng@fedoraproject.org> - 0.3.4-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu May 05 2022 Tomas Orsava <torsava@redhat.com> - 0.3.0-5
|
|
|
|
|
- Rebuild to imrove gating
|
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.3.4-4
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Wed May 04 2022 Tomas Orsava <torsava@redhat.com> - 0.3.0-4
|
|
|
|
|
- Rebuild to activate gating
|
|
|
|
|
* Wed May 31 2023 Karolina Surma <ksurma@redhat.com> - 0.3.4-3
|
|
|
|
|
- Review the License tag according to the SPDX standard
|
|
|
|
|
|
|
|
|
|
* Thu Mar 03 2022 Tomas Orsava <torsava@redhat.com> - 0.3.0-3
|
|
|
|
|
- Convert spec file to CentOS Stream 9 and RHEL 9
|
|
|
|
|
* Fri Mar 17 2023 Miro Hrončok <miro@hroncok.cz> - 0.3.4-2
|
|
|
|
|
- Drop dependency on tox and skip other-Python-versions tests on ELN
|
|
|
|
|
|
|
|
|
|
* Fri Mar 17 2023 Lumir Balhar <lbalhar@redhat.com> - 0.3.4-1
|
|
|
|
|
- Update to 0.3.4 (rhbz#2179370)
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Nov 05 2022 Lumír Balhar <lbalhar@redhat.com> - 0.3.3-1
|
|
|
|
|
- Update to 0.3.3
|
|
|
|
|
Resolves: rhbz#2140261
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.3.1-2
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Mon May 16 2022 Lumír Balhar <lbalhar@redhat.com> - 0.3.1-1
|
|
|
|
|
- Update to 0.3.1
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
@ -94,3 +155,5 @@ Resolves: RHEL-309
|
|
|
|
|
|
|
|
|
|
* Wed Jul 15 2020 Lumír Balhar <lbalhar@redhat.com> - 0.1.1-1
|
|
|
|
|
- Initial package
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
|