[python] We need to provide both arch specific and noarch Provide for python2-devel

Bohuslav Kabrda bkabrda at fedoraproject.org
Tue Jan 20 16:05:02 UTC 2015


commit dc37a5e7f063f6fd502fde1d319305f274aaccd3
Author: Slavek Kabrda <bkabrda at redhat.com>
Date:   Tue Jan 20 17:05:27 2015 +0100

    We need to provide both arch specific and noarch Provide for python2-devel
    
    in order not to break noarch builds.

 python.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/python.spec b/python.spec
index 16b5f61..8edd478 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.9
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: Python
 Group: Development/Languages
 Requires: %{python}-libs%{?_isa} = %{version}-%{release}
@@ -1019,6 +1019,7 @@ Requires: pkgconfig
 Conflicts: %{python} < %{version}-%{release}
 %if %{main_python}
 Obsoletes: python2-devel
+Provides: python2-devel = %{version}-%{release}
 Provides: python2-devel%{?_isa} = %{version}-%{release}
 %endif
 
@@ -2127,6 +2128,10 @@ rm -fr %{buildroot}
 # ======================================================
 
 %changelog
+* Tue Jan 20 2015 Slavek Kabrda <bkabrda at redhat.com> - 2.7.9-4
+- We need to provide both arch specific and noarch Provide for python2-devel
+in order not to break noarch builds.
+
 * Tue Jan 20 2015 Slavek Kabrda <bkabrda at redhat.com> - 2.7.9-3
 - Make python2-devel provide arch specific.
 Resolves: rhbz#1183530


More information about the scm-commits mailing list