From 7fdb9bedcda48894b7ba85e34ca5722b28b69076 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Thu, 3 Sep 2015 14:05:21 -0600 Subject: [PATCH] Fix quoting in %python_provide macro --- macros.python | 2 +- python.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/macros.python b/macros.python index 8988b83..938e422 100644 --- a/macros.python +++ b/macros.python @@ -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);\ diff --git a/python.spec b/python.spec index dd4bddb..ad54f4f 100644 --- a/python.spec +++ b/python.spec @@ -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 - 2.7.10-8 +- Fix quoting in %%python_provide macro + * Thu Sep 3 2015 Orion Poplawski - 2.7.10-7 - Add obsoletes to %%python_provide macro to fix upgrade path - Fix python2- provides for python- packages in %%python_provide