Commit 2713470f authored by bescoto's avatar bescoto

RPM version number should be 2 from now on


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@271 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent edd85696
...@@ -115,7 +115,7 @@ def MakeTar(): ...@@ -115,7 +115,7 @@ def MakeTar():
def MakeSpecFile(): def MakeSpecFile():
"""Create spec file using spec template""" """Create spec file using spec template"""
specfile = "rdiff-backup-%s-1.spec" % Version specfile = "rdiff-backup-%s-2.spec" % Version
VersionedCopy(spec_template, specfile) VersionedCopy(spec_template, specfile)
return specfile return specfile
......
...@@ -6,7 +6,7 @@ SourceDir = "src" ...@@ -6,7 +6,7 @@ SourceDir = "src"
if len(sys.argv) == 2: if len(sys.argv) == 2:
version = sys.argv[1] version = sys.argv[1]
specfile = "rdiff-backup-%s-1.spec" % version specfile = "rdiff-backup-%s-2.spec" % version
print "Using specfile %s" % specfile print "Using specfile %s" % specfile
else: else:
print "Syntax: %s version_number" % sys.argv[0] print "Syntax: %s version_number" % sys.argv[0]
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Version: $version Version: $version
Summary: Convenient and transparent local/remote incremental mirror/backup Summary: Convenient and transparent local/remote incremental mirror/backup
Name: rdiff-backup Name: rdiff-backup
Release: 1 Release: 2
URL: http://www.stanford.edu/~bescoto/rdiff-backup/ URL: http://www.stanford.edu/~bescoto/rdiff-backup/
Source: %{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz
Copyright: GPL Copyright: GPL
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment