contrib/buildrpm
changeset 21641 977e5bd6eb76
parent 21640 4bfb721de6dd
child 22435 4c4385eb26bc
--- a/contrib/buildrpm	Thu May 15 01:48:37 2014 +0200
+++ b/contrib/buildrpm	Tue May 20 04:07:58 2014 +0200
@@ -43,8 +43,8 @@
     release='0'
 fi
 
-$HG archive -t tgz $rpmdir/SOURCES/mercurial-$version.tar.gz
-rpmspec=$rpmdir/SPECS/mercurial-$version.spec
+$HG archive -t tgz $rpmdir/SOURCES/mercurial-$version-$release.tar.gz
+rpmspec=$rpmdir/SPECS/mercurial.spec
 
 sed -e "s,^Version:.*,Version: $version," \
     -e "s,^Release:.*,Release: $release," \