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

Philippe Makowski makowski at fedoraproject.org
Thu Oct 30 20:43:33 UTC 2014


commit 1551634c14a28be8720c909b096ae10443e0de24
Author: Philippe Makowski <pmakowski at espelida.com>
Date:   Thu Oct 30 21:43:37 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 1cb26eb..cfe09b3 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: 12%{?dist}
+Release: 13%{?dist}
 
 Group:  Applications/Databases
 License: Interbase
@@ -47,6 +47,7 @@ BuildRequires: libatomic_ops-devel
 %endif
 BuildRequires: systemd-units
 BuildRequires: libatomic_ops-static
+BuildRequires: chrpath
 
 Requires: %{name}-arch = %{version}-%{release}
 Requires: grep
@@ -330,6 +331,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}
 
@@ -529,6 +535,9 @@ fi
 
 
 %changelog
+* Thu Oct 30 2014 Philippe Makowski <makowski at fedoraproject.org>  2.5.2.26539.0-13
+- Remove lib64 rpaths (#1154706)
+
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.5.2.26539.0-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list