[cheese/f15] disable rpaths (fixes #703636), from Julian Sikorski

Adam Williamson adamwill at fedoraproject.org
Wed Jun 29 03:40:50 UTC 2011


commit f0e53516a951b430f862b0e906355827a5543c6c
Author: Adam Williamson <awilliam at redhat.com>
Date:   Tue Jun 28 20:40:10 2011 -0700

    disable rpaths (fixes #703636), from Julian Sikorski

 cheese.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/cheese.spec b/cheese.spec
index 0797aea..bea84eb 100644
--- a/cheese.spec
+++ b/cheese.spec
@@ -1,7 +1,7 @@
 Name:           cheese
 Epoch:          1
 Version:        3.0.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Application for taking pictures and movies from a webcam
 
 Group:          Amusements/Graphics
@@ -36,6 +36,7 @@ BuildRequires: vala-devel
 BuildRequires: libgee-devel
 BuildRequires: gnome-video-effects
 BuildRequires: gnome-desktop3-devel
+BuildRequires: chrpath
 
 Requires: gstreamer-plugins-good >= 0.10.6-2
 Requires: gnome-video-effects
@@ -86,6 +87,9 @@ tar xf %{SOURCE1} -C $RPM_BUILD_ROOT%{_datadir}/icons --strip-components=1 chees
 
 %find_lang %{name} --with-gnome
 
+chrpath --delete $RPM_BUILD_ROOT%{_bindir}/cheese
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libcheese-gtk.so.*
+
 
 %post
 touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
@@ -138,6 +142,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 %{_datadir}/gir-1.0/Cheese-3.0.gir
 
 %changelog
+* Sat Jun 04 2011 Julian Sikorski <belegdol at fedoraproject.org> - 1:3.0.1-2
+- Removed RPATHS (RH #703636)
+
 * Tue Apr 26 2011 Matthias Clasen <mclasen at redhat.com> 1:3.0.1-1
 - Update to 3.0.1
 


More information about the scm-commits mailing list