[Erp5-report] r11942 - /spec/mandriva/2006.0/build-zope-product-rpm.sh

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jan 8 17:21:24 CET 2007


Author: kevin
Date: Mon Jan  8 17:21:22 2007
New Revision: 11942

URL: http://svn.erp5.org?rev=11942&view=rev
Log:
Auto build RPM

Modified:
    spec/mandriva/2006.0/build-zope-product-rpm.sh

Modified: spec/mandriva/2006.0/build-zope-product-rpm.sh
URL: http://svn.erp5.org/spec/mandriva/2006.0/build-zope-product-rpm.sh?rev=11942&r1=11941&r2=11942&view=diff
==============================================================================
--- spec/mandriva/2006.0/build-zope-product-rpm.sh (original)
+++ spec/mandriva/2006.0/build-zope-product-rpm.sh Mon Jan  8 17:21:22 2007
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 ################################################
-# This script build a RPM package of one ERP5 zope Products (the one given as $NAME parameter).
+# This script generate a RPM package of a given ERP5 Zope Products (the one given as $NAME parameter).
 # The script get the latest ERP5 code from the SVN repository. To build the RPM, the latest spec
 # file from Nexedi's repository is downloaded and automatically updated (release number,
 # product version, changelog).
@@ -9,8 +9,8 @@
 
 PARAMS=1
 
-# Where we can find the RPM directory
-# and where we want to store the source code from svn
+# Folders and path where we can find the RPM directory
+# and where the source code from svn will be stored
 SVN_PATH="/home/$USER/svn"
 RPM_PATH="/home/$USER/rpm"
 REPOSIT="https://svn.erp5.org/repos/public"
@@ -119,7 +119,7 @@
 %define version $VERSION
 %define release $RELEASE
 
-%define zope_home %{_prefix}/lib/zope
+%define zope_home     %{_prefix}/lib/zope
 %define software_home %{zope_home}/lib/python
 
 $SUMMARY
@@ -153,7 +153,7 @@
   rm -f $RPM_PATH/SPECS/$SPEC_FILE
   mv -f $TMP_SPEC $RPM_PATH/SPECS/$SPEC_FILE
 
-  # rpmbuild -ba $RPM_PATH/SPECS/$SPEC_FILE
+  rpmbuild -ba $RPM_PATH/SPECS/$SPEC_FILE
 
   # Idea: launch rpmlint here.
 
@@ -166,4 +166,4 @@
 
 done
 
-exit 0
+exit 0




More information about the Erp5-report mailing list