Author: anssi
Date: Sun Feb  4 00:48:55 2007
New Revision: 116123

Modified:
   packages/cooker/SDL12/current/SPECS/SDL12.spec

Log:
- buildrequire chrpath for rpath removal

Modified: packages/cooker/SDL12/current/SPECS/SDL12.spec
==============================================================================
--- packages/cooker/SDL12/current/SPECS/SDL12.spec      (original)
+++ packages/cooker/SDL12/current/SPECS/SDL12.spec      Sun Feb  4 00:48:55 2007
@@ -1,7 +1,7 @@
 %define        fname   SDL
 %define        name    SDL12
 %define        version 1.2.11
-%define rel    4
+%define rel    5
 %define        lib_name_orig   lib%{fname}
 %define        lib_major       1.2
 %define        lib_name        %mklibname %{fname} %{lib_major}
@@ -68,6 +68,7 @@
 BuildRequires: libmesaglu-devel
 BuildRequires: esound-devel
 BuildRequires: nas-devel
+BuildRequires: chrpath
 %ifarch %{ix86}
 BuildRequires: nasm
 %endif
@@ -222,6 +223,9 @@
 rm -f $RPM_BUILD_ROOT%{_libdir}/SDL/*.a
 %endif
 
+# --disable-rpath does not seem to work correctly
+chrpath -d %{buildroot}%{_libdir}/libSDL.so
+
 #multiarch
 %multiarch_binaries $RPM_BUILD_ROOT%{_bindir}/sdl-config
 

Reply via email to