packages: feh/feh.spec - use proper env vars with make

lkrotowski lkrotowski at pld-linux.org
Thu Jan 6 21:40:25 CET 2011


Author: lkrotowski                   Date: Thu Jan  6 20:40:25 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use proper env vars with make

---- Files affected:
packages/feh:
   feh.spec (1.50 -> 1.51) 

---- Diffs:

================================================================
Index: packages/feh/feh.spec
diff -u packages/feh/feh.spec:1.50 packages/feh/feh.spec:1.51
--- packages/feh/feh.spec:1.50	Mon Dec  6 10:50:15 2010
+++ packages/feh/feh.spec	Thu Jan  6 21:40:20 2011
@@ -65,14 +65,16 @@
 
 %build
 %{__make} \
-	CC="%{__cc}"
+	CC="%{__cc}" \
+	PREFIX=%{_prefix}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
 
 %{__make} install \
-	PREFIX=$RPM_BUILD_ROOT%{_prefix}
+	DESTDIR=$RPM_BUILD_ROOT \
+	PREFIX=%{_prefix}
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/%{name}
 
@@ -98,6 +100,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.51  2011/01/06 20:40:20  lkrotowski
+- use proper env vars with make
+
 Revision 1.50  2010/12/06 09:50:15  uzsolt
 - 1.10.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/feh/feh.spec?r1=1.50&r2=1.51&f=u



More information about the pld-cvs-commit mailing list