import python-backports-1.0-16.module+el8.4.0+9193+f3daf6ef

This commit is contained in:
CentOS Sources 2021-05-18 02:52:22 -04:00 committed by Andrew Lukoshko
parent dcbee8b3e8
commit fa49591adf
1 changed files with 14 additions and 9 deletions

View File

@ -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 <torsava@redhat.com> - 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 <torsava@redhat.com> - 1.0-15
- Bumping due to problems with modular RPM upgrade path
- Resolves: rhbz#1695587