]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- make it easy to nuke junk (template with backup extension)
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 3 Oct 2005 23:17:14 +0000 (23:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pearize.sh -> 1.19

pearize.sh

index d9d124a813eaea4576d657dd4e7b0d1221da64c5..edf08b0596f4d6192d1be9303d17597979b8b495 100644 (file)
@@ -38,9 +38,11 @@ cat > $stmp <<'EOF'
 @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 ".pearize-%{version}$rc$pre$beta.spec\n" --specfile "$spec" | head -n 1)
 
-pear makerpm --spec-template=$stmp --rpm-pkgname=_pearize $tarball
+pear makerpm --spec-template=$stmp --rpm-pkgname=.pearize $tarball
+mv $template $template~
+template=$template~
 
 requires=$(grep '^Requires:' $template || :)
 conflicts=$(grep '^Conflicts:' $template || :)
This page took 0.036568 seconds and 4 git commands to generate.