]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- partial revert
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 3 Oct 2005 23:18:46 +0000 (23:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pearize.sh -> 1.20

pearize.sh

index edf08b0596f4d6192d1be9303d17597979b8b495..c3088ee60abe0e3d62cb871ef65c0e5b8f8954b9 100644 (file)
@@ -38,11 +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 "%{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 || :)
This page took 0.034155 seconds and 4 git commands to generate.