Local osc build: problem with required rpm


Have to admit that I’m a newbie to osc, but have been able to build my first
package via the Web-Gui already.

Now I want to use the command line AND take advantage of local build.
To not have to download all the build environment I want to use my already
downloaded openSUSE 11.4 repository.

According to the tutorial the only thing I have to do is to link the existing
repository into my osbuild-packagecache.

i586 -> /home/srv/repositories/opensuse/distribution/11.4/repo/oss/suse/i586/
i686 -> /home/srv/repositories/opensuse/distribution/11.4/repo/oss/suse/i686/
noarch -> /home/srv/repositories/opensuse/distribution/11.4/repo/oss/suse/noarch/
repodata -> /home/srv/repositories/opensuse/distribution/11.4/repo/oss/suse/repodata/
setup -> /home/srv/repositories/opensuse/distribution/11.4/repo/oss/suse/setup/
x86_64 -> /home/srv/repositories/opensuse/distribution/11.4/repo/oss/suse/x86_64/

Next I start

osc build openSUSE_11.4 x86_64 qsynth.spec

and osc says that it wants to update the cache

Updating cache of required packages
0.5% cache miss. 219/220 dependencies cached.

which is in fact insserv-1.14.0-20.22.1.x86_64.rpm.

When I check my original copy of the 11.4 repository there is an insserv-1.14.0-20.21.1.x86_64.rpm
available, which obviously is an older version, BUT is the 11.4 released one.

Now my question:

  1. How does osc identify that there is a newer version?
  2. Why does osc not respect the current release?
  3. How can I change this back to the “original” release, as I obviously do not want to
    write into the original 11.4 repository?

Thanks in advance,


It will be more easy to answer, if you show your spec-file.