[opensuse-buildservice] Passthrough option for binary-only RPMs
Hi all, unfortunately I have some binary-only RPMs which I'd like to use just like the normal RPMs that our OBS builds (private instance). There's no chance that the vendor will provide me with the sources or the SRPM. Ideally I'm looking for something like osc add --binarypassthrough mybinary.rpm And then I'd expect the file to be available unchanged at http://private.instance.obs:82/project:/.../mybinary.rpm
From what I've found in the documentation and on the web such option doesn't exist. Is this correct? And if so, perhaps this is feature request worth considering?
Assuming that the option doesn't exist, is there a better way than trying to dissect the binary-only RPM with rpm2cpio etc. and then feeding that into OBS? Thanks -- Till -- Dipl.-Inform. Till Dörges doerges@pre-sense.de Tel. +49 - 40 - 244 2407 - 14 Fax +49 - 40 - 244 2407 - 24 PRESENSE Technologies GmbH Sachsenstr. 5, D-20097 HH Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges, Jürgen Sander USt-IdNr.: DE263765024 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Friday 26 June 2015, 15:28:20 wrote Till Dörges:
Hi all,
unfortunately I have some binary-only RPMs which I'd like to use just like the normal RPMs that our OBS builds (private instance).
There's no chance that the vendor will provide me with the sources or the SRPM.
Ideally I'm looking for something like
osc add --binarypassthrough mybinary.rpm
And then I'd expect the file to be available unchanged at
http://private.instance.obs:82/project:/.../mybinary.rpm
From what I've found in the documentation and on the web such option doesn't exist. Is this correct? And if so, perhaps this is feature request worth considering?
Assuming that the option doesn't exist, is there a better way than trying to dissect the binary-only RPM with rpm2cpio etc. and then feeding that into OBS?
you could commit them as source and just copy them to the rpm-build output directory inside of a spec file beside. This has the advantage that the rpms are part of the commit history at least. -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am 26.06.2015 um 15:52 schrieb Adrian Schröter:
Ideally I'm looking for something like
osc add --binarypassthrough mybinary.rpm
And then I'd expect the file to be available unchanged at
http://private.instance.obs:82/project:/.../mybinary.rpm [...] you could commit them as source and just copy them to the rpm-build output directory inside of a spec file beside.
This has the advantage that the rpms are part of the commit history at least.
If I understand correctly that would be ./home/abuild/rpmbuild/RPMS/i686 (or %{_rpmdir}/i686) ? So OBS would pick up any RPM that ends up in that directory? Regards -- Till -- Dipl.-Inform. Till Dörges doerges@pre-sense.de Tel. +49 - 40 - 244 2407 - 14 Fax +49 - 40 - 244 2407 - 24 PRESENSE Technologies GmbH Sachsenstr. 5, D-20097 HH Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges, Jürgen Sander USt-IdNr.: DE263765024 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Adrian Schröter
-
Till Dörges