summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2010-08-23 10:36:01 -0700
committerJesse Keating <jkeating@redhat.com>2010-08-23 10:36:01 -0700
commit93dca15fa27854a5d8a1d353499277221423825a (patch)
treeee74fbf845b57a2b437d312289ab8d7a37e61f66
parent322d5cc014245f9232875c75811075591d56cf91 (diff)
downloadfedora-packager-93dca15fa27854a5d8a1d353499277221423825a.zip
fedora-packager-93dca15fa27854a5d8a1d353499277221423825a.tar.gz
fedora-packager-93dca15fa27854a5d8a1d353499277221423825a.tar.xz
re-fix dist defines.
One of these times I'll get it right.
-rw-r--r--src/pyfedpkg/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py
index b34481d..0077383 100644
--- a/src/pyfedpkg/__init__.py
+++ b/src/pyfedpkg/__init__.py
@@ -942,8 +942,8 @@ class PackageModule:
"--define '_srcrpmdir %s'" % path,
"--define '_rpmdir %s'" % path,
"--define 'dist .%s'" % self.dist,
- "--define '%s 1'" % self.dist,
- "--define '%s 1'" % self.distvar]
+ "--define '%s %s'" % (self.distvar, self.distval),
+ "--define '%s 1'" % self.dist]
try:
self.ver = self.getver()
self.rel = self.getrel()