Remove lib64 rpaths

https://bugzilla.redhat.com/show_bug.cgi?id=1132876
This commit is contained in:
Kalev Lember 2014-08-22 12:08:24 +02:00
parent ec3f501d38
commit 487559a84b

View File

@ -6,7 +6,7 @@
Name: cogl
Version: 1.18.2
Release: 4%{?dist}
Release: 5%{?dist}
Summary: A library for using 3D graphics hardware to draw pretty pictures
Group: Development/Libraries
@ -15,6 +15,7 @@ URL: http://www.clutter-project.org/
Source0: http://download.gnome.org/sources/cogl/1.18/cogl-%{version}.tar.xz
BuildRequires: cairo-devel
BuildRequires: chrpath
BuildRequires: gdk-pixbuf2-devel
BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel
@ -112,6 +113,12 @@ find %{buildroot} -name '*.la' -delete
# This gets installed by mistake
rm %{buildroot}%{_datadir}/cogl/examples-data/crate.jpg
# Remove lib64 rpaths
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libcogl-path.so
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libcogl-pango.so
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libcogl-gst.so
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/libgstcogl.so
%find_lang %{name}
%post -p /sbin/ldconfig
@ -142,6 +149,9 @@ rm %{buildroot}%{_datadir}/cogl/examples-data/crate.jpg
%endif
%changelog
* Fri Aug 22 2014 Kalev Lember <kalevlember@gmail.com> - 1.18.2-5
- Remove lib64 rpaths (#1132876)
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild