summaryrefslogtreecommitdiff
path: root/rdiff-backup
diff options
context:
space:
mode:
authorben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-03-21 08:48:29 +0000
committerben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2002-03-21 08:48:29 +0000
commitc237c573d3ed36bc985d71dcc09b26f547f47609 (patch)
tree507ea65e4f5b39990ca2a27f23bfefb31921d24e /rdiff-backup
parent1c3e204532bf158f51b1aa588852f78eb102cc40 (diff)
downloadrdiff-backup-c237c573d3ed36bc985d71dcc09b26f547f47609.tar.gz
Updating dist files
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@16 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup')
-rwxr-xr-xrdiff-backup/dist/makedist5
1 files changed, 3 insertions, 2 deletions
diff --git a/rdiff-backup/dist/makedist b/rdiff-backup/dist/makedist
index 20198f4..162126b 100755
--- a/rdiff-backup/dist/makedist
+++ b/rdiff-backup/dist/makedist
@@ -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)