Hello, I have a package made from a single source tar ball where I split stuff which requires X11 into a sub-package so that the main-package can be installed on a system without X11. Because the stuff in the sub-package could have any kind of subtle dependency on the stuff in the main-package, I like to make sure that the sub-package requires the 100% exact matching main-package. Furthermore, when the sub-package is installed, I like to make sure that the main-package cannot be changed without changing the sub-package accordingly. In the end I like that the sub-package and the main-package must come from the same build where both the main-package and its sub-package have been made. 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? By the way: The RPM documentation http://www.rpm.org/max-rpm/s1-rpm-depend-manual-dependencies.html and /usr/share/doc/packages/rpm/manual/dependencies (in rpm-4.8.0 in openSUSE 11.4) does not show a comparison operator for "not equal" so that two Conflicts with '<' and '>' are used. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH -- Maxfeldstrasse 5 -- 90409 Nuernberg -- Germany HRB 16746 (AG Nuernberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org