diff options
author | Michael E Brown <mebrown@michaels-house.net> | 2007-12-09 00:00:19 -0600 |
---|---|---|
committer | Michael E Brown <mebrown@michaels-house.net> | 2007-12-09 00:01:50 -0600 |
commit | 066e37b31f5c98c221de7f78d26972056d34b5b0 (patch) | |
tree | 2aea568a13f7a3187342576c058e21283d00b817 | |
parent | a850a68d3efba05e7d48adc94495b7e06dc2a8d2 (diff) | |
download | mock-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-x | py/mock.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |