From 8ac65ae53797f373800abae41f1ac3bb65198ff7 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Oct 14 2016 07:17:44 +0000 Subject: Remove lib64 rpaths --- diff --git a/libnotify.spec b/libnotify.spec index b0d50e8..ae5a343 100644 --- a/libnotify.spec +++ b/libnotify.spec @@ -10,6 +10,7 @@ URL: http://www.gnome.org Source0: http://ftp.gnome.org/pub/GNOME/sources/libnotify/0.7/%{name}-%{version}.tar.xz License: LGPLv2+ Group: System Environment/Libraries +BuildRequires: chrpath BuildRequires: libtool BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: gdk-pixbuf2-devel @@ -49,6 +50,9 @@ make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT +# Remove lib64 rpaths +chrpath --delete $RPM_BUILD_ROOT%{_bindir}/notify-send + rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.a @@ -75,6 +79,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a %changelog * Fri Oct 14 2016 Kalev Lember - 0.7.7-1 - Update to 0.7.7 +- Remove lib64 rpaths * Thu Feb 04 2016 Fedora Release Engineering - 0.7.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild