Fix quoting in %python_provide macro

This commit is contained in:
Orion Poplawski 2015-09-03 14:05:21 -06:00
parent cb9dd73459
commit 7fdb9bedcd
2 changed files with 5 additions and 2 deletions

View File

@ -21,7 +21,7 @@ CFLAGS="%{optflags}" %{__python} %{py_setup} %{?py_setup_args} install -O1 --ski
print(" = ");\
print(vr);\
--Obsoleting the previous default python package\
print("\nObsoletes: python-");\
print("\\nObsoletes: python-");\
print(string.sub(str,9,string.len(str)));\
print(" < ");\
print(vr);\

View File

@ -108,7 +108,7 @@ Summary: An interpreted, interactive, object-oriented programming language
Name: %{python}
# Remember to also rebase python-docs when changing this:
Version: 2.7.10
Release: 7%{?dist}
Release: 8%{?dist}
License: Python
Group: Development/Languages
Requires: %{python}-libs%{?_isa} = %{version}-%{release}
@ -2155,6 +2155,9 @@ rm -fr %{buildroot}
# ======================================================
%changelog
* Thu Sep 3 2015 Orion Poplawski <orion@cora.nwra.com> - 2.7.10-8
- Fix quoting in %%python_provide macro
* Thu Sep 3 2015 Orion Poplawski <orion@cora.nwra.com> - 2.7.10-7
- Add obsoletes to %%python_provide macro to fix upgrade path
- Fix python2- provides for python- packages in %%python_provide