On Thursday 08 September 2011, Marcus Hüwe wrote:
$ osc build openSUSE_11.4 x86_64 Multiple build description files found: truffle.spec, truffle.dsc
Use "osc build <repo> <arch> <descr>" (for instance "osc build openSUSE_11.4 x86_64 truffle.spec").
Thx, I was too blind to see it.
Could this be fixed somehow?
Hmm osc could parse the buildconfig and check the "Repotype"...
I have looked into osc sources, commandline.py. It's already marked as FIXME so would be nice if anybody could fix this: ......... descr = glob.glob('*.spec') + glob.glob('*.dsc') + glob.glob('*.kiwi') # FIXME: # * request repos from server and select by build type. if not arg_descr and len(descr) == 1: arg_descr = descr[0] elif not arg_descr: msg = None if len(descr) > 1: # guess/prefer build descrs like the following: # <pac>-<repo>.<ext> > <pac>.<ext> ... ......... cu, Rudi -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org