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:01:50 -0600
commit066e37b31f5c98c221de7f78d26972056d34b5b0 (patch)
tree2aea568a13f7a3187342576c058e21283d00b817
parenta850a68d3efba05e7d48adc94495b7e06dc2a8d2 (diff)
downloadmock-066e37b31f5c98c221de7f78d26972056d34b5b0.tar.gz
mock-066e37b31f5c98c221de7f78d26972056d34b5b0.tar.xz
mock-066e37b31f5c98c221de7f78d26972056d34b5b0.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 f6797b9..71ffbe5 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: