|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: marshalparser
|
|
|
|
|
Version: 0.3.0
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.3.4
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Parser for Python internal Marshal format
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
@ -12,10 +12,10 @@ BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: pyproject-rpm-macros
|
|
|
|
|
|
|
|
|
|
# Test dependencies
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
BuildRequires: python3.11
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%pyproject_buildrequires
|
|
|
|
|
%pyproject_buildrequires -x test
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Parser for Python internal Marshal format which can fix pyc files
|
|
|
|
@ -24,10 +24,6 @@ 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
|
|
|
|
|
|
|
|
|
@ -44,6 +40,10 @@ rm -rf test/python_stdlib/{3.10,3.11,3.6,3.7,3.8}
|
|
|
|
|
%{_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
|
|
|
|
|
|
|
|
|
|
* Thu May 05 2022 Tomas Orsava <torsava@redhat.com> - 0.3.0-5
|
|
|
|
|
- Rebuild to imrove gating
|
|
|
|
|
|
|
|
|
|