Remove lib64 rpaths

This commit is contained in:
Kalev Lember 2016-10-14 09:17:44 +02:00
parent ee4f40bc39
commit 8ac65ae537

View File

@ -10,6 +10,7 @@ URL: http://www.gnome.org
Source0: http://ftp.gnome.org/pub/GNOME/sources/libnotify/0.7/%{name}-%{version}.tar.xz Source0: http://ftp.gnome.org/pub/GNOME/sources/libnotify/0.7/%{name}-%{version}.tar.xz
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
BuildRequires: chrpath
BuildRequires: libtool BuildRequires: libtool
BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gdk-pixbuf2-devel BuildRequires: gdk-pixbuf2-devel
@ -49,6 +50,9 @@ make %{?_smp_mflags}
%install %install
make install DESTDIR=$RPM_BUILD_ROOT 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}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
@ -75,6 +79,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
%changelog %changelog
* Fri Oct 14 2016 Kalev Lember <klember@redhat.com> - 0.7.7-1 * Fri Oct 14 2016 Kalev Lember <klember@redhat.com> - 0.7.7-1
- Update to 0.7.7 - Update to 0.7.7
- Remove lib64 rpaths
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-8 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild