From 2be19fd14fe33d0879ab7e7d3f54104c8ca43466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 28 May 2014 15:02:25 +0200 Subject: [PATCH] Rename python3.Xm-config script to arch specific. Resolves: rhbz#1091815 --- python3.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/python3.spec b/python3.spec index c373aee..231393b 100644 --- a/python3.spec +++ b/python3.spec @@ -128,7 +128,7 @@ Summary: Version 3 of the Python programming language aka Python 3000 Name: python3 Version: %{pybasever}.1 -Release: 3%{?dist} +Release: 4%{?dist} License: Python Group: Development/Languages @@ -1365,6 +1365,11 @@ sed \ %endif # with_systemtap +# Rename the script that differs on different arches to arch specific name +mv %{buildroot}%{_bindir}/python%{LDVERSION_optimized}-{,%{_arch}-}config +echo -e '#!/bin/sh\nexec `dirname $0`/python%{LDVERSION_optimized}-`uname -m`-config' > \ + %{buildroot}%{_bindir}/python%{LDVERSION_optimized}-config + chmod +x %{buildroot}%{_bindir}/python%{LDVERSION_optimized}-config # ====================================================== # Running the upstream test suite @@ -1662,6 +1667,7 @@ rm -fr %{buildroot} %{_bindir}/python3-config %{_bindir}/python%{pybasever}-config %{_bindir}/python%{LDVERSION_optimized}-config +%{_bindir}/python%{LDVERSION_optimized}-%{_arch}-config %{_libdir}/libpython%{LDVERSION_optimized}.so %{_libdir}/pkgconfig/python-%{LDVERSION_optimized}.pc %{_libdir}/pkgconfig/python-%{pybasever}.pc @@ -1829,6 +1835,10 @@ rm -fr %{buildroot} # ====================================================== %changelog +* Wed May 28 2014 Miro HronĨok - 3.4.1-4 +- Rename python3.Xm-config script to arch specific. +Resolves: rhbz#1091815 + * Tue May 27 2014 Matej Stuchlik - 3.4.1-3 - Update the rewheel module