packages: paintown/paintown.spec - fix build

shadzik shadzik at pld-linux.org
Fri Jun 12 10:29:48 CEST 2009


Author: shadzik                      Date: Fri Jun 12 08:29:48 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix build

---- Files affected:
packages/paintown:
   paintown.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/paintown/paintown.spec
diff -u packages/paintown/paintown.spec:1.8 packages/paintown/paintown.spec:1.9
--- packages/paintown/paintown.spec:1.8	Fri Jun 12 10:23:20 2009
+++ packages/paintown/paintown.spec	Fri Jun 12 10:29:43 2009
@@ -55,7 +55,9 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
-%{__make} -C build install
+cp build/bin/paintown .
+./install.sh -d $RPM_BUILD_ROOT%{_datadir}/%{name} -b $RPM_BUILD_ROOT%{_bindir}
+sed -i "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_bindir}/%{name}
 
 
 %clean
@@ -75,6 +77,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2009/06/12 08:29:43  shadzik
+- fix build
+
 Revision 1.8  2009/06/12 08:23:20  shadzik
 - bleh. remove patch2
 - when you want to use scons, BR it and remove cmake BR
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/paintown/paintown.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list