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:00:54 -0600 |
commit | c0a22a6db5a1adc491acbafdb95ff6b436c58991 (patch) | |
tree | acf744ca7b21acac0563003811f5d0686f81e41f | |
parent | aada35a1281981a361cce99f923f467ddabbeb76 (diff) | |
download | mock-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-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: |