Mailinglist Archive: opensuse-buildservice (89 mails)

< Previous Next >
Re: [opensuse-buildservice] Using a third party repository with a OBS project
  • From: Rahul S <srahul@xxxxxxxxx>
  • Date: Sun, 7 Jan 2018 07:41:18 +0530
  • Message-id: <>
On Wed, Jan 3, 2018 at 1:55 PM, Adrian Schröter <adrian@xxxxxxx> wrote:
On Mittwoch, 3. Januar 2018, 06:08:56 CET wrote Rahul S:

I am new to OBS. I have created the appliance and got it working.
There is a specific problem I am trying to solve. It will be great if
someone can point me at the right documentation.

I have to build a package on SLES12SP2. The package has build-time
dependency on a few rpms which are published in a separate non-OBS rpm
repository. How can I configure this ?

You need to ask your OBS administrator to configure the repository as
"Download On Demand" resource.

However, we only do so for base distributions on usually.

But it sounds you run your own instance, so you can just do so as the Admin

Thanks Adrian. I got that working using a DoD repo.

The documentation says that when DoD repositories are used, packages
are automatically updated when new upstream releases are available.
This isn't working fo me.

To test this, I did the following:
1. create a test rpm repository with a few rpms using the 'createrepo' command
2. configure a OBS project to use the above repo
3. create a new package in OBS which has a build time dependency on a
package in this repo - the package successfully got built
4. use 'rpmrebuild' to increment the 'release' of the rpm in my test
repo and re-run 'createrepo'

I have waited for more than 12 hours. My OBS project has not got
rebuilt. Why isn't it getting rebuilt ? In fact, my new rpm has been
downloaded by OBS and can be found under

Following is my project's meta data:

<project name="test">
<person userid="Admin" role="maintainer"/>
<repository name="SLE_12_SP3">
<download arch="x86_64" url="";
<path project="" repository="standard"/>


To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >