Geoffroy,

Here is a spec file patch to oscar-selector so it can be built under SL6.0

in SL6+ and recent distro, %install stage recreate from scratch the 
$RPM_BUILD_ROOT directory. Thus doing the make install in the %build stage is 
voided by adding an empty %install stage (which remove the previous installed 
stuffs).

This patch removes the %build stage and moves the "make install" in the 
%install stage.

Cheers,

Olivier.

-- 
   Olivier LAHAYE
   Responsable calcul scientifique
   CEA DRT/LIST
   +33 1 69 08 13 25

Index: oscar-selector.spec.in
===================================================================
--- oscar-selector.spec.in	(révision 9425)
+++ oscar-selector.spec.in	(copie de travail)
@@ -47,11 +47,9 @@
 %prep
 %setup -n %{name}
 
-%build
-make install-cli DESTDIR=$RPM_BUILD_ROOT
-make install-gui DESTDIR=$RPM_BUILD_ROOT
-
 %install
+%__make install-cli DESTDIR=$RPM_BUILD_ROOT
+%__make install-gui DESTDIR=$RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to