SPECS: pearize.sh - partial revert
glen
glen at pld-linux.org
Tue Oct 4 01:18:51 CEST 2005
Author: glen Date: Mon Oct 3 23:18:51 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- partial revert
---- Files affected:
SPECS:
pearize.sh (1.19 -> 1.20)
---- Diffs:
================================================================
Index: SPECS/pearize.sh
diff -u SPECS/pearize.sh:1.19 SPECS/pearize.sh:1.20
--- SPECS/pearize.sh:1.19 Tue Oct 4 01:17:14 2005
+++ SPECS/pearize.sh Tue Oct 4 01:18:46 2005
@@ -38,11 +38,11 @@
@extra_headers@
Optional: @optional@
EOF
-template=$(rpm -q --qf ".pearize-%{version}$rc$pre$beta.spec\n" --specfile "$spec" | head -n 1)
+template=$(rpm -q --qf "%{name}-%{version}$rc$pre$beta.spec\n" --specfile "$spec" | head -n 1)
-pear makerpm --spec-template=$stmp --rpm-pkgname=.pearize $tarball
-mv $template $template~
-template=$template~
+pear makerpm --spec-template=$stmp $tarball
+mv $template .$template~
+template=.$template~
requires=$(grep '^Requires:' $template || :)
conflicts=$(grep '^Conflicts:' $template || :)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/pearize.sh?r1=1.19&r2=1.20&f=u
More information about the pld-cvs-commit
mailing list