Remove lib64 rpaths

This commit is contained in:
Kalev Lember 2017-04-11 14:10:41 +02:00
parent 6de4a101ef
commit 587b363d66

View File

@ -9,6 +9,7 @@ URL: https://wiki.gnome.org/Projects/LibRsvg
#VCS: git:git://git.gnome.org/librsvg #VCS: git:git://git.gnome.org/librsvg
Source: http://download.gnome.org/sources/librsvg/2.40/librsvg-%{version}.tar.xz Source: http://download.gnome.org/sources/librsvg/2.40/librsvg-%{version}.tar.xz
BuildRequires: chrpath
BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(cairo-png) BuildRequires: pkgconfig(cairo-png)
BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gdk-pixbuf-2.0)
@ -70,6 +71,12 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/mozilla/
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
rm -f $RPM_BUILD_ROOT%{_datadir}/pixmaps/svg-viewer.svg rm -f $RPM_BUILD_ROOT%{_datadir}/pixmaps/svg-viewer.svg
# Remove lib64 rpaths
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/rsvg-convert
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/rsvg-view-3
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-svg.so
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
@ -103,6 +110,7 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/pixmaps/svg-viewer.svg
%changelog %changelog
* Tue Apr 11 2017 Kalev Lember <klember@redhat.com> - 2.40.17-1 * Tue Apr 11 2017 Kalev Lember <klember@redhat.com> - 2.40.17-1
- Update to 2.40.17 - Update to 2.40.17
- Remove lib64 rpaths
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.40.16-3 * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.40.16-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild