On Tue, 2014-11-04 at 14:53 +0100, Andreas Schwab wrote:
Dimstar / Dominique Leuenberger <dimstar@opensuse.org> writes:
On Tue, 2014-11-04 at 14:34 +0100, Jan Engelhardt wrote:
On Tuesday 2014-11-04 14:32, Johannes Meixner wrote:
Furthermore I enhanced https://en.opensuse.org/openSUSE:Specfile_guidelines#Recommends with
%if 0%{?suse_version} Recommends: foo %else Requires: foo %endif
Of course that results a merciless Requires for all non-SUSE build targets regardless of the distribution version (meta condition) and regardless if RPM supports Recommends (actual condition).
Since a Recommends is not a Require, the !suse branch should not contain _anything_.
That's debatable.. on a default openSUSE installation, the packages would be installed... so the packager really might say: better to have it - remove it if you know what you do.
If you replace it with Requires you can no longer remove it without breaking dependencies.
Of course you can't; but if the distro doesn't HAVE the granularity of what WE do, as a packager you have to pick the choice for the user. As such, I think it is MORE in line with the intent of the packager to 'require' the package instead of not having it listed AT ALL in case of Recommends, and remove it in case of Suggests. But, in the end, the current behavior of OBS of FAILING if you use Recommends on those packages is the perfect way to let the packager DO this thinking process. That's why I say simply stripping it would be wrong. Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org