Mailinglist Archive: opensuse-packaging (232 mails)

< Previous Next >
Re: [opensuse-packaging] How to specify a 'same build' RPM dependency?
  • From: Ludwig Nussel <ludwig.nussel@xxxxxxx>
  • Date: Thu, 16 Feb 2012 16:26:30 +0100
  • Message-id: <4F3D2026.3050607@suse.de>
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 that really a problem that needs a solution? Adding arbitrary repos
can lead to all kinds of problems anyways.
Also, since %release consists of checkin and rebuild counter in obs
finding two completely independent packages with the same value seems to
be quite unusual too.

cu
Ludwig

--
(o_ Ludwig Nussel
//\
V_/_ http://www.suse.de/
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB
16746 (AG Nürnberg)
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
References