Blame SPECS/marshalparser.spec

55bac3
Name:           marshalparser
55bac3
Version:        0.3.0
55bac3
Release:        5%{?dist}
55bac3
Summary:        Parser for Python internal Marshal format
55bac3
55bac3
License:        MIT
55bac3
URL:            https://github.com/fedora-python/%{name}
55bac3
Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
55bac3
BuildArch:      noarch
55bac3
55bac3
BuildRequires:  python3-devel
55bac3
BuildRequires:  pyproject-rpm-macros
55bac3
55bac3
# Test dependencies
55bac3
BuildRequires:  python3-pytest
55bac3
55bac3
%generate_buildrequires
55bac3
%pyproject_buildrequires
55bac3
55bac3
%description
55bac3
Parser for Python internal Marshal format which can fix pyc files
55bac3
reproducibility.
55bac3
55bac3
%prep
55bac3
%autosetup
55bac3
55bac3
# Remove tests for Python versions that we don't ship, leave 3.9.
55bac3
# They are skipped automatically, but it takes a long time.
55bac3
rm -rf test/python_stdlib/{3.10,3.11,3.6,3.7,3.8}
55bac3
55bac3
%build
55bac3
%pyproject_wheel
55bac3
55bac3
%install
55bac3
%pyproject_install
55bac3
%pyproject_save_files %{name}
55bac3
55bac3
%check
55bac3
%pytest -v test.py
55bac3
55bac3
%files -f %{pyproject_files}
55bac3
%license LICENSE
55bac3
%doc README.md
55bac3
%{_bindir}/%{name}
55bac3
55bac3
%changelog
55bac3
* Thu May 05 2022 Tomas Orsava <torsava@redhat.com> - 0.3.0-5
55bac3
- Rebuild to imrove gating
55bac3
55bac3
* Wed May 04 2022 Tomas Orsava <torsava@redhat.com> - 0.3.0-4
55bac3
- Rebuild to activate gating
55bac3
55bac3
* Thu Mar 03 2022 Tomas Orsava <torsava@redhat.com> - 0.3.0-3
55bac3
- Convert spec file to CentOS Stream 9 and RHEL 9
55bac3
55bac3
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
55bac3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
55bac3
55bac3
* Wed Oct 13 2021 Lumír Balhar <lbalhar@redhat.com> - 0.3.0-1
55bac3
- Update to 0.3.0
55bac3
55bac3
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-3
55bac3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
55bac3
55bac3
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.6-2
55bac3
- Rebuilt for Python 3.10
55bac3
55bac3
* Fri Apr 30 2021 Lumír Balhar <lbalhar@redhat.com> - 0.2.6-1
55bac3
- Update to 0.2.6
55bac3
55bac3
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-2
55bac3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
55bac3
55bac3
* Fri Dec 18 2020 Lumír Balhar <lbalhar@redhat.com> - 0.2.5-1
55bac3
- Update to 0.2.5
55bac3
55bac3
* Tue Dec 08 2020 Lumír Balhar <lbalhar@redhat.com> - 0.2.4-1
55bac3
- Update to 0.2.4
55bac3
55bac3
* Wed Nov 11 2020 Lumír Balhar <lbalhar@redhat.com> - 0.2.3-1
55bac3
- Update to 0.2.3 (#1896208)
55bac3
55bac3
* Tue Nov 10 2020 Lumír Balhar <lbalhar@redhat.com> - 0.2.2-1
55bac3
- Update to 0.2.2 (#1896208)
55bac3
55bac3
* Wed Sep 16 2020 Lumír Balhar <lbalhar@redhat.com> - 0.2.1-1
55bac3
- Update to 0.2.1
55bac3
55bac3
* Wed Jul 29 2020 Lumír Balhar <lbalhar@redhat.com> - 0.2.0-1
55bac3
- Update to 0.2.0
55bac3
55bac3
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-2
55bac3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
55bac3
55bac3
* Wed Jul 15 2020 Lumír Balhar <lbalhar@redhat.com> - 0.1.1-1
55bac3
- Initial package