SPECS: pearize.sh - avoid overwriting actual specfile
glen
glen at pld-linux.org
Mon Jan 9 14:20:43 CET 2006
Author: glen Date: Mon Jan 9 13:20:43 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- avoid overwriting actual specfile
---- Files affected:
SPECS:
pearize.sh (1.33 -> 1.34)
---- Diffs:
================================================================
Index: SPECS/pearize.sh
diff -u SPECS/pearize.sh:1.33 SPECS/pearize.sh:1.34
--- SPECS/pearize.sh:1.33 Fri Dec 30 14:16:31 2005
+++ SPECS/pearize.sh Mon Jan 9 14:20:38 2006
@@ -49,7 +49,8 @@
License: @release_license@
State: @release_state@
EOF
-template=$(pear makerpm --spec-template=$stmp $tarball | awk '/Wrote RPM spec file/{print $NF}{print $0 > "/dev/stderr"}')
+pear makerpm --spec-template=$stmp --rpm-pkgname=pearize $tarball
+template=pearize.spec
rm -f $stmp
mv $template .$template~
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/pearize.sh?r1=1.33&r2=1.34&f=u
More information about the pld-cvs-commit
mailing list