![](https://seccdn.libravatar.org/avatar/cb2aaf49f775c94d4056311eef22be7b.jpg?s=120&d=mm&r=g)
On 16.02.2012 15:05, Johannes Meixner wrote:
An approximation could be:
foo.spec ---------------------------------------------------------- Name: foo Conflicts: foo-x11 < %{version}-%{release} Conflicts: foo-x11 > %{version}-%{release}
... %package x11 Requires: foo = %{version}-%{release} ----------------------------------------------------------
But then it is still possible that main-package and sub-package with exact matching version-release are installed but both come from totally different OBS projects/repositories (e.g. with different patches or whatever kind of differences).
Is there a way to specify a 'same build' RPM dependency? If you _really_ wanted to avoid the IMO rather small chance of matching %release in different repositories, you can generate a large random number in your build and require it as provided by foo.
Greetings, Stephan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org