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. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org