[firebird/f20] Remove lib64 rpaths (#1154706)

Philippe Makowski makowski at fedoraproject.org
Thu Oct 30 20:40:10 UTC 2014


commit 2df1e8f2d95460dfee2f8e9eb090e1406868ab17
Author: Philippe Makowski <pmakowski at espelida.com>
Date:   Thu Oct 30 21:40:13 2014 +0100

    Remove lib64 rpaths (#1154706)

 firebird.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/firebird.spec b/firebird.spec
index 5b716db..f152339 100644
--- a/firebird.spec
+++ b/firebird.spec
@@ -6,7 +6,7 @@
 Summary: SQL relational database management system
 Name:  firebird
 Version: 2.5.2.26539.0
-Release: 8%{?dist}
+Release: 9%{?dist}
 
 Group:  Applications/Databases
 License: Interbase
@@ -46,6 +46,7 @@ BuildRequires: libatomic_ops-devel
 %endif
 BuildRequires: systemd-units
 BuildRequires: libatomic_ops-static
+BuildRequires: chrpath
 
 Requires: %{name}-arch = %{version}-%{release}
 Requires: grep
@@ -328,6 +329,11 @@ ln -s %{fbroot}/bin/nbackup .%{_bindir}/nbackup
 ln -s %{fbroot}/bin/qli .%{_bindir}/qli
 ln -s %{fbroot}/bin/fb_config .%{_bindir}/fb_config
 
+# Remove lib64 rpaths
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libfbembed.so.%{major}
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libfbclient.so.%{major}
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgds.so.0
+
 %clean
 rm -Rf %{buildroot}
 
@@ -527,6 +533,9 @@ fi
 
 
 %changelog
+* Thu Oct 30 2014 Philippe Makowski <makowski at fedoraproject.org>  2.5.2.26539.0-9
+- Remove lib64 rpaths (#1154706)
+
 * Thu Aug 08 2013 Philippe Makowski <makowski at fedoraproject.org>  2.5.2.26539.0-8
 - add BR libatomic_ops-static  (bug #993439)
 


More information about the scm-commits mailing list