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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to