[PyQwt/f16] followed suggestions from Rex Dieter (bug #737236) and added a temporary work-around to remove rpath

Tadej Janež tadej at fedoraproject.org
Sun Sep 18 14:11:00 UTC 2011


commit a56d50e09509d45568207c94d56d99358f7f4b33
Author: Tadej Janež <tadej.janez at tadej.hicsalta.si>
Date:   Sun Sep 18 16:07:01 2011 +0200

    followed suggestions from Rex Dieter (bug #737236) and added a temporary
    work-around to remove rpaths

 PyQwt.spec |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/PyQwt.spec b/PyQwt.spec
index 52faa4f..6605f33 100644
--- a/PyQwt.spec
+++ b/PyQwt.spec
@@ -1,6 +1,6 @@
 Name:           PyQwt
 Version:        5.2.0
-Release:        14%{?dist}
+Release:        14%{?dist}.1
 Summary:        Python bindings for Qwt
 
 Group:          Development/Languages
@@ -14,6 +14,8 @@ BuildRequires:  sip-devel
 BuildRequires:  PyQt4-devel
 BuildRequires:  numpy-f2py
 BuildRequires:  qwt-devel
+# added for the temporary work-around, which removes rpaths
+BuildRequires:  chrpath
 
 Requires:       PyQt4%{?_isa}
 Requires:       numpy%{?_isa}
@@ -71,6 +73,12 @@ mv sphinx/build/html devel-doc
 chmod 755 %{buildroot}/%{python_sitearch}/PyQt4/Qwt5/grace.py
 chmod 755 %{buildroot}/%{python_sitearch}/PyQt4/Qwt5/qplt.py
 
+# temporary work-around to remove rpaths
+chrpath --list %{buildroot}/%{python_sitearch}/PyQt4/Qwt5/_iqt.so && \
+chrpath --delete %{buildroot}/%{python_sitearch}/PyQt4/Qwt5/_iqt.so ||:
+chrpath --list %{buildroot}/%{python_sitearch}/PyQt4/Qwt5/Qwt.so && \
+chrpath --delete %{buildroot}/%{python_sitearch}/PyQt4/Qwt5/Qwt.so ||:
+
 
 %files
 %doc ANNOUNCEMENT-%{version} README
@@ -86,6 +94,10 @@ chmod 755 %{buildroot}/%{python_sitearch}/PyQt4/Qwt5/qplt.py
 
 
 %changelog
+* Sun Sep 18 2011 Tadej Janež <tadej.janez at tadej.hicsalta.si> - 5.2.0-14.1
+- followed suggestions from Rex Dieter (bug #737236) and added a temporary
+  work-around to remove rpaths
+
 * Wed Sep 07 2011 Tadej Janež <tadej.janez at tadej.hicsalta.si> - 5.2.0-14
 - changes to the spec file that follow the latest Packaging Guidelines:
   - added %%{?_isa} to arch specific Requires


More information about the scm-commits mailing list