From: <agi...@us...> - 2010-10-06 09:34:20
|
Revision: 7790 http://unicore.svn.sourceforge.net/unicore/?rev=7790&view=rev Author: agiesler Date: 2010-10-06 09:34:14 +0000 (Wed, 06 Oct 2010) Log Message: ----------- enable custom RPM packaging for XUUDB Modified Paths: -------------- xuudb/trunk/xuudb-all/build-etics.xml Modified: xuudb/trunk/xuudb-all/build-etics.xml =================================================================== --- xuudb/trunk/xuudb-all/build-etics.xml 2010-10-06 08:15:50 UTC (rev 7789) +++ xuudb/trunk/xuudb-all/build-etics.xml 2010-10-06 09:34:14 UTC (rev 7790) @@ -105,9 +105,9 @@ <fileset dir="src/main/samples/" includes="**/*"/> </copy--> - <!--copy todir="${rpm-base}/usr/share/doc/unicore-xuudb/" > + <copy todir="${rpm-base}/usr/share/doc/unicore-xuudb/" > <fileset dir="." includes="CHANGES.txt"/> - </copy--> + </copy> <!--exec dir="${rpm-base}/usr/bin/" executable="chmod" failonerror="true"> <arg value="+x"/> @@ -120,14 +120,15 @@ <echo>... building RPM </echo> <echo> ... copy update spec file to target folder </echo> + <exec dir="." executable="chmod" failonerror="true"> + <arg value="+rwx"/> + <arg value="./update-specfile.py"/> + </exec> <exec dir="." executable="cp" failonerror="true"> <arg value="update-specfile.py"/> <arg value="target/"/> </exec> - <exec dir="target" executable="chmod" failonerror="true"> - <arg value="+x"/> - <arg value="./update-specfile.py"/> - </exec> + <echo> ... updating spec file </echo> <exec dir="target" executable="./update-specfile.py" failonerror="true"> <arg value="${version}"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |