Compare commits

..

No commits in common. "c8-stream-3.8" and "imports/c9-beta/python-pluggy-0.13.1-7.el9" have entirely different histories.

3 changed files with 48 additions and 23 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/pluggy-0.13.0.tar.gz
SOURCES/pluggy-0.13.1.tar.gz

View File

@ -1 +1 @@
9d172f2825272e63095ab8e37aae8f1367aad057 SOURCES/pluggy-0.13.0.tar.gz
828b2c10996d902b8c47f2fded0e101c636b9ff9 SOURCES/pluggy-0.13.1.tar.gz

View File

@ -4,8 +4,8 @@
%bcond_without tests
Name: python-pluggy
Version: 0.13.0
Release: 3%{?dist}
Version: 0.13.1
Release: 7%{?dist}
Summary: The plugin manager stripped of pytest specific details
License: MIT
@ -14,16 +14,16 @@ Source0: %{pypi_source}
BuildArch: noarch
# Exclude i686 arch. Due to a modularity issue it's being added to the
# x86_64 compose of CRB, but we don't want to ship it at all.
# See: https://projects.engineering.redhat.com/browse/RCM-72605
ExcludeArch: i686
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-rpm-macros
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
%if %{with tests}
BuildRequires: python%{python3_pkgversion}-pytest
BuildRequires: python3-pytest
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1756902
%if 0%{?fedora} <= 31
BuildRequires: (python3-importlib-metadata if python3 < 3.8)
%endif
%endif
%global _description\
@ -31,19 +31,16 @@ The plugin manager stripped of pytest specific details.
%description %_description
%package -n python%{python3_pkgversion}-%{pypi_name}
%package -n python3-%{pypi_name}
Summary: %summary
%description -n python%{python3_pkgversion}-%{pypi_name}
%description -n python3-%{pypi_name}
The plugin manager stripped of pytest specific details.
%prep
%autosetup -p1 -n %{pypi_name}-%{version}
# Remove dependency of setuptools-scm
sed -i "/ *use_scm_version=.*,/d" setup.py
sed -i "s/ *setup_requires=.*/version='%{version}',/" setup.py
%build
%py3_build
@ -55,11 +52,11 @@ sed -i "s/ *setup_requires=.*/version='%{version}',/" setup.py
%if %{with tests}
%check
# TODO investigate test_load_setuptools_instantiation failure
PYTHONPATH=$PWD %{__python3} -m pytest testing -k "not test_load_setuptools_instantiation"
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest testing -k "not test_load_setuptools_instantiation"
%endif
%files -n python%{python3_pkgversion}-%{pypi_name}
%files -n python3-%{pypi_name}
%{python3_sitelib}/%{pypi_name}/
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
%doc README.rst
@ -67,11 +64,39 @@ PYTHONPATH=$PWD %{__python3} -m pytest testing -k "not test_load_setuptools_inst
%changelog
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 0.13.0-3
- Exclude unsupported i686 arch
* Wed Feb 16 2022 Tomas Orsava <torsava@redhat.com> - 0.13.1-7
- Add gating configuration and a simple smoke test
- Related: rhbz#1950291
* Tue Nov 19 2019 Lumír Balhar <lbalhar@redhat.com> - 0.13.0-2
- Adjusted for Python 3.8 module in RHEL 8
* Tue Feb 08 2022 Tomas Orsava <torsava@redhat.com> - 0.13.1-6
- Add automatically generated Obsoletes tag with the python39- prefix
for smoother upgrade from RHEL8
- Related: rhbz#1990421
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.13.1-5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.13.1-4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jun 05 2020 Matthias Runge <mrunge@redhat.com> - 0.13.1-1
- update to 0.13.1
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-4
- Rebuilt for Python 3.9
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-3
- Bootstrap for Python 3.9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Nov 18 2019 Patrik Kopkan <pkopkan@redhat.com> - 0.13.0-1
- Update to 0.13.0 (#1750961)