From: Thierry Parmentelat Date: Tue, 7 Jun 2011 22:37:05 +0000 (+0200) Subject: need to accept a few more options X-Git-Tag: 5.0-rc22~27 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=876072815c59d4edd537604552884e8e7cf37be0;p=build.git need to accept a few more options --- diff --git a/spec2make.py b/spec2make.py index 8a8966a5..0e5a47df 100755 --- a/spec2make.py +++ b/spec2make.py @@ -13,6 +13,12 @@ def main (): help='specify target arch') parser.add_option('-w','--whitelist-rpms',action='store',dest='whitelist',default='', help='comma separated list of rpms to expose in makefile') + parser.add_option('-1','--with',action='store',dest='with',default='', + help='accept but ignore --with option') + parser.add_option('-0','--without',action='store',dest='without',default='', + help='accept but ignore --without option') + parser.add_option('-d','--define',action='store',dest='define',default='', + help='accept but ignore --define option') (options,args) = parser.parse_args() try: