Compare commits

...

1 Commits

Author SHA1 Message Date
Miro Hrončok 2be19fd14f Rename python3.Xm-config script to arch specific.
Resolves: rhbz#1091815
2014-05-28 15:02:25 +02:00
1 changed files with 11 additions and 1 deletions

View File

@ -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 <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
- Update the rewheel module