|
|
|
@ -4,8 +4,8 @@
|
|
|
|
|
%bcond_without tests
|
|
|
|
|
|
|
|
|
|
Name: python-pluggy
|
|
|
|
|
Version: 0.13.1
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 0.13.0
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: The plugin manager stripped of pytest specific details
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
@ -14,16 +14,16 @@ Source0: %{pypi_source}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-setuptools_scm
|
|
|
|
|
# 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
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
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
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pytest
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description\
|
|
|
|
@ -31,16 +31,19 @@ The plugin manager stripped of pytest specific details.
|
|
|
|
|
|
|
|
|
|
%description %_description
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{pypi_name}
|
|
|
|
|
%package -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
|
|
Summary: %summary
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{pypi_name}
|
|
|
|
|
%description -n python%{python3_pkgversion}-%{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
|
|
|
|
@ -52,11 +55,11 @@ The plugin manager stripped of pytest specific details.
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
%check
|
|
|
|
|
# TODO investigate test_load_setuptools_instantiation failure
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest testing -k "not test_load_setuptools_instantiation"
|
|
|
|
|
PYTHONPATH=$PWD %{__python3} -m pytest testing -k "not test_load_setuptools_instantiation"
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
|
%files -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
|
|
%{python3_sitelib}/%{pypi_name}/
|
|
|
|
|
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
|
|
|
|
%doc README.rst
|
|
|
|
@ -64,39 +67,14 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest testing -k "not
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* 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 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
|
|
|
|
|
* Mon Dec 11 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.13.0-3
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-3
|
|
|
|
|
- Bootstrap for Python 3.9
|
|
|
|
|
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 0.13.0-3
|
|
|
|
|
- Exclude unsupported i686 arch
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
* Tue Nov 19 2019 Lumír Balhar <lbalhar@redhat.com> - 0.13.0-2
|
|
|
|
|
- Adjusted for Python 3.8 module in RHEL 8
|
|
|
|
|
|
|
|
|
|
* Mon Nov 18 2019 Patrik Kopkan <pkopkan@redhat.com> - 0.13.0-1
|
|
|
|
|
- Update to 0.13.0 (#1750961)
|
|
|
|
|