diff SDL.spec.in @ 1390:67781f790694

Added DESTDIR support
author Sam Lantinga <slouken@libsdl.org>
date Mon, 20 Feb 2006 11:49:16 +0000
parents 19418e4422cb
children e20dcef5647c
line wrap: on
line diff
--- a/SDL.spec.in	Mon Feb 20 11:30:29 2006 +0000
+++ b/SDL.spec.in	Mon Feb 20 11:49:16 2006 +0000
@@ -45,13 +45,13 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 %ifos linux
-make install prefix=$RPM_BUILD_ROOT/%{prefix} \
-             bindir=$RPM_BUILD_ROOT/%{_bindir} \
-             libdir=$RPM_BUILD_ROOT/%{_libdir} \
-             includedir=$RPM_BUILD_ROOT/%{_includedir} \
-             datadir=$RPM_BUILD_ROOT/%{_datadir} \
-             mandir=$RPM_BUILD_ROOT/%{_mandir}
-ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT/%{prefix}/lib/libSDL-1.1.so.0
+make install prefix=$RPM_BUILD_ROOT%{prefix} \
+             bindir=$RPM_BUILD_ROOT%{_bindir} \
+             libdir=$RPM_BUILD_ROOT%{_libdir} \
+             includedir=$RPM_BUILD_ROOT%{_includedir} \
+             datadir=$RPM_BUILD_ROOT%{_datadir} \
+             mandir=$RPM_BUILD_ROOT%{_mandir}
+ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT%{prefix}/lib/libSDL-1.1.so.0
 %else
 %makeinstall
 %endif