From 33c57bb0c33e3e9ca2ad85c6da6180008c965dfc Mon Sep 17 00:00:00 2001 From: Philippe Makowski Date: Oct 30 2014 20:48:41 +0000 Subject: Remove lib64 rpaths (#1154706) --- diff --git a/firebird.spec b/firebird.spec index 908671e..2317330 100644 --- a/firebird.spec +++ b/firebird.spec @@ -6,7 +6,7 @@ Summary: SQL relational database management system Name: firebird Version: 2.5.3.26778.0 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/Databases License: Interbase @@ -44,6 +44,7 @@ BuildRequires: libatomic_ops-devel %endif BuildRequires: systemd-units BuildRequires: libatomic_ops-static +BuildRequires: chrpath Requires: %{name}-arch = %{version}-%{release} Requires: grep @@ -324,6 +325,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} @@ -523,6 +529,9 @@ fi %changelog +* Thu Oct 30 2014 Philippe Makowski 2.5.3.26778.0-2 +- Remove lib64 rpaths (#1154706) + * Sat Jul 26 2014 Philippe Makowski - 2.5.3.26778.0-1 - update from upstream 2.5.3 - update arm64 patch