On 26 April 2012 06:05, Παναγιώτης Πιτέλος pitepana-at-gmail.com wrote:
While i am build eplist i show the following message : "unresolvable
nothing provides python-requests,
...
As i know this
dependency is provided by other repository (*i am building)
...
My question is how can i add this dependency on the spec file in order to be
build correctly.
If OBS complains that the dependency is unresolvable your spec file already
contains the dependency. You need to tell OBS where to find it. This is not
done in the spec file of the package, after all the same spec file might
be used in different build environments.
To add an extra source of packages edit the metaconfig of your OBS
project (Advanced -- Meta in the Web UI). By default there is only one
per repository, but you can add another one.
Something like that:
<project name="home:linux_salonica">
<title>linux_salonica's Home Project</title>
<description></description>
<person userid="linux_salonica" role="maintainer"/>
<person userid="linux_salonica" role="bugowner"/>
<repository name="openSUSE_12.1">
<path project="devel:languages:python" repository="openSUSE_12.1"/>
<path project="openSUSE:12.1" repository="standard"/>
<arch>i586</arch>
</repository>
</project>
(Just guessing the values, but it should give you the idea even if some value
is not correct. I'm not sure whether the order can a make difference if
different versions of the same package appear in both paths.)
I'm not sure where this is documented. I remember struggling a long
time when I had this issue the first time.
Regards,
Uwe Geuder
Nomovok Ltd.
Tampere, Finland
uwe.gXuder@xxxxxxxxxxx (bot check: correct 1 obvious spelling error)
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org