2022-03-16 23:54:01 +00:00
|
|
|
Name: marshalparser
|
|
|
|
Version: 0.3.0
|
2022-03-16 23:56:27 +00:00
|
|
|
Release: 3%{?dist}
|
2022-03-16 23:54:01 +00:00
|
|
|
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
|
|
|
|
|
2022-03-16 23:56:27 +00:00
|
|
|
# Test dependencies
|
|
|
|
BuildRequires: python3-pytest
|
2022-03-16 23:54:01 +00:00
|
|
|
|
|
|
|
%generate_buildrequires
|
2022-03-16 23:56:27 +00:00
|
|
|
%pyproject_buildrequires
|
2022-03-16 23:54:01 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Parser for Python internal Marshal format which can fix pyc files
|
|
|
|
reproducibility.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup
|
|
|
|
|
2022-03-16 23:56:27 +00:00
|
|
|
# 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}
|
|
|
|
|
2022-03-16 23:54:01 +00:00
|
|
|
%build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
%install
|
|
|
|
%pyproject_install
|
|
|
|
%pyproject_save_files %{name}
|
|
|
|
|
|
|
|
%check
|
2022-03-16 23:56:27 +00:00
|
|
|
%pytest -v test.py
|
2022-03-16 23:54:01 +00:00
|
|
|
|
|
|
|
%files -f %{pyproject_files}
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
|
|
|
%changelog
|
2022-03-16 23:56:27 +00:00
|
|
|
* Thu Mar 03 2022 Tomas Orsava <torsava@redhat.com> - 0.3.0-3
|
|
|
|
- Convert spec file to CentOS Stream 9 and RHEL 9
|
|
|
|
|
2022-03-16 23:54:01 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Oct 13 2021 Lumír Balhar <lbalhar@redhat.com> - 0.3.0-1
|
|
|
|
- Update to 0.3.0
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.6-2
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
* Fri Apr 30 2021 Lumír Balhar <lbalhar@redhat.com> - 0.2.6-1
|
|
|
|
- Update to 0.2.6
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Dec 18 2020 Lumír Balhar <lbalhar@redhat.com> - 0.2.5-1
|
|
|
|
- Update to 0.2.5
|
|
|
|
|
|
|
|
* Tue Dec 08 2020 Lumír Balhar <lbalhar@redhat.com> - 0.2.4-1
|
|
|
|
- Update to 0.2.4
|
|
|
|
|
|
|
|
* Wed Nov 11 2020 Lumír Balhar <lbalhar@redhat.com> - 0.2.3-1
|
|
|
|
- Update to 0.2.3 (#1896208)
|
|
|
|
|
|
|
|
* Tue Nov 10 2020 Lumír Balhar <lbalhar@redhat.com> - 0.2.2-1
|
|
|
|
- Update to 0.2.2 (#1896208)
|
|
|
|
|
|
|
|
* Wed Sep 16 2020 Lumír Balhar <lbalhar@redhat.com> - 0.2.1-1
|
|
|
|
- Update to 0.2.1
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Lumír Balhar <lbalhar@redhat.com> - 0.2.0-1
|
|
|
|
- Update to 0.2.0
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jul 15 2020 Lumír Balhar <lbalhar@redhat.com> - 0.1.1-1
|
|
|
|
- Initial package
|