summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael E Brown <mebrown@michaels-house.net>2007-12-09 00:00:19 -0600
committerMichael E Brown <mebrown@michaels-house.net>2007-12-09 00:00:54 -0600
commitc0a22a6db5a1adc491acbafdb95ff6b436c58991 (patch)
treeacf744ca7b21acac0563003811f5d0686f81e41f
parentaada35a1281981a361cce99f923f467ddabbeb76 (diff)
downloadmock-c0a22a6db5a1adc491acbafdb95ff6b436c58991.tar.gz
mock-c0a22a6db5a1adc491acbafdb95ff6b436c58991.tar.xz
mock-c0a22a6db5a1adc491acbafdb95ff6b436c58991.zip
fix --without to follow proper rpmbuild conventions. Courtesy Paulo Cavalcanti <promac@gmail.com>.
-rwxr-xr-xpy/mock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mock.py b/py/mock.py
index f4a9d80..5ab457d 100755
--- a/py/mock.py
+++ b/py/mock.py
@@ -237,7 +237,7 @@ def set_config_opts_per_cmdline(config_opts, options, args):
options.rpmmacros.append("_with_%s 1" % option)
for option in options.rpmwithout:
- options.rpmmacros.append("_with_%s 0" % option)
+ options.rpmmacros.append("_without_%s 1" % option)
for macro in options.rpmmacros:
try: