Rename python3.Xm-config script to arch specific.

Resolves: rhbz#1091815
This commit is contained in:
Miro Hrončok 2014-05-28 15:02:25 +02:00
parent cfa9e5212d
commit 2be19fd14f

View File

@ -128,7 +128,7 @@
Summary: Version 3 of the Python programming language aka Python 3000 Summary: Version 3 of the Python programming language aka Python 3000
Name: python3 Name: python3
Version: %{pybasever}.1 Version: %{pybasever}.1
Release: 3%{?dist} Release: 4%{?dist}
License: Python License: Python
Group: Development/Languages Group: Development/Languages
@ -1365,6 +1365,11 @@ sed \
%endif # with_systemtap %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 # Running the upstream test suite
@ -1662,6 +1667,7 @@ rm -fr %{buildroot}
%{_bindir}/python3-config %{_bindir}/python3-config
%{_bindir}/python%{pybasever}-config %{_bindir}/python%{pybasever}-config
%{_bindir}/python%{LDVERSION_optimized}-config %{_bindir}/python%{LDVERSION_optimized}-config
%{_bindir}/python%{LDVERSION_optimized}-%{_arch}-config
%{_libdir}/libpython%{LDVERSION_optimized}.so %{_libdir}/libpython%{LDVERSION_optimized}.so
%{_libdir}/pkgconfig/python-%{LDVERSION_optimized}.pc %{_libdir}/pkgconfig/python-%{LDVERSION_optimized}.pc
%{_libdir}/pkgconfig/python-%{pybasever}.pc %{_libdir}/pkgconfig/python-%{pybasever}.pc
@ -1829,6 +1835,10 @@ rm -fr %{buildroot}
# ====================================================== # ======================================================
%changelog %changelog
* Wed May 28 2014 Miro Hrončok <mhroncok@redhat.com> - 3.4.1-4
- Rename python3.Xm-config script to arch specific.
Resolves: rhbz#1091815
* Tue May 27 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.1-3 * Tue May 27 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.1-3
- Update the rewheel module - Update the rewheel module