How to upload binary file(rpm) to repo using OBS?

Hi all,

I have locally set up obs and several projects in this system. But also I have a few rpms without source code and spec file. I need to upload these rpms to repo using obs! Can I do it via web interface or only I can place them to the needed repo via console on my server.

Thank you.

Hi all,

I have locally set up obs and several projects in this system. But also I have a few rpms without source code and spec file. I need to upload these rpms to repo using obs! Can I do it via web interface or only I can place them to the needed repo via console on my server.

Thank you.

Hello,

This is the Forums Comments/Suggestion subforum of the Forums Feedback forum. And as it says there:

Comments and/or suggestions about the openSUSE forums

I do not understand how you can catagorize an OBS question as being something about the running of these openSUSE forums.

My guess is that the Open Build Service (OBS) subforum of the Developement forums is a beter place to find an answer.

I will move this thread to there. Please everybody wait until this thread is moved.

Moved and open for posting.

OBS is not a file server. You can not distribute programs without the source. So how could you upload binary files to a place where other people can freely download them? It’s not difficult to build a package that would contain rpms… It’s just not allowed … AFAIK. (but I’m not aware about all the rules).

On 2012-07-24 12:56, VyacheslavSarzhan wrote:
>
> Hi all,
>
>
> I have locally set up obs and several projects in this system. But also
> I have a few rpms without source code and spec file. I need to upload
> these rpms to repo using obs! Can I do it via web interface or only I
> can place them to the needed repo via console on my server.

I don’t know how to do that, but in any case, you are not allowed to upload rpms that have no
source, legal reasons.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 07/24/2012 01:36 PM, hcvv wrote:
> Moved and open for posting.

he has two here:

  1. http://forums.opensuse.org/showthread.php?t=476952
  2. http://forums.opensuse.org/showthread.php?t=476950


dd

Because off multi-posting, this thread will be mwerged in another one. Please refrain from posting here, go to http://forums.opensuse.org/english/other-forums/development/open-build-service-obs/476952-how-upload-binary-file-rpm-repo-using-obs.html

Well, this was triple posting (Sigh!). One thread is closed (there was no answer until now). The other two are merged. The result above looks a bit strange, but at least all contributions are in one thread.

Please VyacheslavSarzhan,

Next time first look carefully before you decide where to post. My guess is that it will be a difficult task to have three discussions about the same subject at the same time even for you.

And the volunteers here on the forums like it more to help people then to reorganize threads/posts :frowning:

Hi
The easiest way is to build an rpm from the binary rpm and create a
spec file to install in the relative paths… then just create a
tarball from the extracted rpm. Add any post install scripting and
upload the binary tarball and your spec file and let your private OBS
build.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.34-0.7-default
up 2 days 14:42, 2 users, load average: 0.15, 0.19, 0.14
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Sorry for inconvenience, It was the first time( and verry hard working day…

As long as you understand, there is no probblem anymore. Please feel welcome and enjoy openSUSE.