[opensuse-buildservice] Multiple build description files
Hi, I have a minor problem with local building packages which are setup for both deb and rpm: cd ~/devel/osc/home:rudi_m:devel-snap/truffle $ osc --version 0.132.5 $ ls debian.changelog debian.control debian.rules truffle_0.1.0.git27.dd53.orig.tar.gz truffle.changes truffle.dsc truffle.spec $ osc build openSUSE_11.4 x86_64 Multiple build description files found: truffle.spec, truffle.dsc So it just complains about that and exits. And this is the annoying workaround: $ mv truffle.dsc truffle.dsc.away $ osc build openSUSE_11.4 x86_64 [all good] $ mv truffle.dsc.away truffle.dsc $ mv truffle.spec truffle.spec.away $ osc build Debian_6.0 x86_64 [all good] There are no probs with that package on OBS server. Could this be fixed somehow? cu, Rudi -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, On 2011-09-08 18:14:59 +0200, Ruediger Meier wrote:
I have a minor problem with local building packages which are setup for both deb and rpm:
cd ~/devel/osc/home:rudi_m:devel-snap/truffle
$ osc --version 0.132.5
$ ls debian.changelog debian.control debian.rules truffle_0.1.0.git27.dd53.orig.tar.gz truffle.changes truffle.dsc truffle.spec
$ osc build openSUSE_11.4 x86_64 Multiple build description files found: truffle.spec, truffle.dsc
So it just complains about that and exits. And this is the annoying workaround:
$ mv truffle.dsc truffle.dsc.away $ osc build openSUSE_11.4 x86_64 [all good] $ mv truffle.dsc.away truffle.dsc $ mv truffle.spec truffle.spec.away $ osc build Debian_6.0 x86_64 [all good]
Use "osc build <repo> <arch> <descr>" (for instance "osc build openSUSE_11.4 x86_64 truffle.spec").
There are no probs with that package on OBS server.
Could this be fixed somehow?
Hmm osc could parse the buildconfig and check the "Repotype"... Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
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
participants (2)
-
Marcus Hüwe
-
Ruediger Meier