equal
deleted
inserted
replaced
41 # official tag, version is like 1.3.1 |
41 # official tag, version is like 1.3.1 |
42 version=`echo $hgversion | sed -e 's/+.*//'` |
42 version=`echo $hgversion | sed -e 's/+.*//'` |
43 release='0' |
43 release='0' |
44 fi |
44 fi |
45 |
45 |
46 $HG archive -t tgz $rpmdir/SOURCES/mercurial-$version.tar.gz |
46 $HG archive -t tgz $rpmdir/SOURCES/mercurial-$version-$release.tar.gz |
47 rpmspec=$rpmdir/SPECS/mercurial-$version.spec |
47 rpmspec=$rpmdir/SPECS/mercurial.spec |
48 |
48 |
49 sed -e "s,^Version:.*,Version: $version," \ |
49 sed -e "s,^Version:.*,Version: $version," \ |
50 -e "s,^Release:.*,Release: $release," \ |
50 -e "s,^Release:.*,Release: $release," \ |
51 $specfile > $rpmspec |
51 $specfile > $rpmspec |
52 |
52 |