SPECS: pearize.sh - updated

glen glen at pld-linux.org
Wed Nov 8 20:16:51 CET 2006


Author: glen                         Date: Wed Nov  8 19:16:51 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated

---- Files affected:
SPECS:
   pearize.sh (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: SPECS/pearize.sh
diff -u SPECS/pearize.sh:1.40 SPECS/pearize.sh:1.41
--- SPECS/pearize.sh:1.40	Wed Nov  8 20:08:38 2006
+++ SPECS/pearize.sh	Wed Nov  8 20:16:46 2006
@@ -35,6 +35,10 @@
 }
 
 tarball=$(getsource $spec 0)
+if [ -z "$tarball" ]; then
+	echo >&2 "Spec is missing Source0!"
+	exit 1
+fi
 
 if [ ! -f $tarball ]; then
 	./builder -g "$spec"
@@ -49,7 +53,7 @@
 License: @release_license@
 State: @release_state@
 EOF
-pear make-rpm-spec --spec-template=$stmp --rpm-pkgname=pearize $tarball
+pear make-rpm-spec --spec-template=$stmp --output=pearize.spec $tarball
 template=pearize.spec
 rm -f $stmp
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pearize.sh?r1=1.40&r2=1.41&f=u



More information about the pld-cvs-commit mailing list