Commit 1dd9e9ed authored by ben's avatar ben

Updating dist files


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@16 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent ffa0e4a0
......@@ -3,15 +3,16 @@
import os, re, shutil, time
filelist = ["rdiff-backup", "CHANGELOG", "COPYING", "README", "FAQ.html"]
SourceDir = "src"
# Various details about the files must also be specified by the rpm
# spec template.
spec_template = "rdiff-backup.spec"
spec_template = "dist/rdiff-backup.spec"
def GetVersion():
"""Return version string by reading in ./rdiff-backup"""
fp = open("rdiff-backup", "r")
fp = open(SourceDir + "rdiff-backup", "r")
match = re.search("Version (.*?) ", fp.read())
fp.close()
return match.group(1)
......
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