[jboss-svn-commits] JBL Code SVN: r13844 - in labs/jbosslabs/trunk/rpm: SPECS and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Jul 30 09:54:51 EDT 2007


Author: wrzep
Date: 2007-07-30 09:54:51 -0400 (Mon, 30 Jul 2007)
New Revision: 13844

Modified:
   labs/jbosslabs/trunk/rpm/README
   labs/jbosslabs/trunk/rpm/SPECS/labs-2.1.spec
Log:
JBLAB-875
labs rpm fixes


Modified: labs/jbosslabs/trunk/rpm/README
===================================================================
--- labs/jbosslabs/trunk/rpm/README	2007-07-30 10:45:06 UTC (rev 13843)
+++ labs/jbosslabs/trunk/rpm/README	2007-07-30 13:54:51 UTC (rev 13844)
@@ -1,7 +1,7 @@
 Build an RPM of .ORG
 --------------------
 
-1. Create a file ~/.rpmmacro with the following content:
+1. Create a file ~/.rpmmacros with the following content:
 %_topdir        <directory where rpm scripts (and this README file) are checked out>
 %_tmppath       <any temporary directory you like>
 

Modified: labs/jbosslabs/trunk/rpm/SPECS/labs-2.1.spec
===================================================================
--- labs/jbosslabs/trunk/rpm/SPECS/labs-2.1.spec	2007-07-30 10:45:06 UTC (rev 13843)
+++ labs/jbosslabs/trunk/rpm/SPECS/labs-2.1.spec	2007-07-30 13:54:51 UTC (rev 13844)
@@ -46,9 +46,11 @@
 		mkdir -p $dest_dir/$path
 	fi
 	if [ -f $path ]; then
-		echo "FILE: $path"
-		sed "s/\${RPM_INST_DIR}/%{rpm_inst_dir_esc}/g" $path > $dest_dir/$path
-	fi
+             if ! echo "$path" | grep -e "\.svn"; then
+                        echo "FILE: $path"
+                        sed "s/\${RPM_INST_DIR}/%{rpm_inst_dir_esc}/g" $path > $dest_dir/$path
+             fi
+    fi
 done
 
 %build




More information about the jboss-svn-commits mailing list