From d8c46b535f0ed2dad9066f8a8d575f59ce7406b1 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Mar 30 2021 12:12:32 +0000 Subject: import python-backports-1.0-16.module+el8.4.0+9193+f3daf6ef --- diff --git a/SPECS/python-backports.spec b/SPECS/python-backports.spec index 1b70935..247f594 100644 --- a/SPECS/python-backports.spec +++ b/SPECS/python-backports.spec @@ -2,7 +2,7 @@ Name: python-backports Version: 1.0 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Namespace for backported Python features # Only code is sourced from http://www.python.org/dev/peps/pep-0382/ @@ -39,22 +39,27 @@ Summary: %summary %install -mkdir -pm 755 %{buildroot}%{python_sitelib}/backports -install -pm 644 %{SOURCE0} %{buildroot}%{python_sitelib}/backports/__init__.py -%if "%{python_sitelib}" != "%{python_sitearch}" -mkdir -pm 755 %{buildroot}%{python_sitearch}/backports -install -pm 644 %{SOURCE0} %{buildroot}%{python_sitearch}/backports/__init__.py +mkdir -pm 755 %{buildroot}%{python2_sitelib}/backports +install -pm 644 %{SOURCE0} %{buildroot}%{python2_sitelib}/backports/__init__.py +%if "%{python2_sitelib}" != "%{python2_sitearch}" +mkdir -pm 755 %{buildroot}%{python2_sitearch}/backports +install -pm 644 %{SOURCE0} %{buildroot}%{python2_sitearch}/backports/__init__.py %endif %files -n python2-backports -%{python_sitelib}/backports -%if "%{python_sitelib}" != "%{python_sitearch}" -%{python_sitearch}/backports +%{python2_sitelib}/backports +%if "%{python2_sitelib}" != "%{python2_sitearch}" +%{python2_sitearch}/backports %endif %changelog +* Wed Nov 18 2020 Tomas Orsava - 1.0-16 +- Update python macros to python2 versioned macros +- Issue found when rebuilding the python27 module to include CVE fixes +- Related: rhbz#1883890 rhbz#1883258 + * Thu Apr 25 2019 Tomas Orsava - 1.0-15 - Bumping due to problems with modular RPM upgrade path - Resolves: rhbz#1695587