Am 27.10.19 um 18:22 schrieb Arjen de Korte:
Quote from https://en.opensuse.org/openSUSE:Packaging_Perl
"Since 11.4 the requirement for the current version of perl should be written as:
%if 0%{?suse_version} < 1140 Requires: perl = %{perl_version} %else %{perl_requires} %endif
Before 11.4, we need an explicit 'Requires' using the %perl_version macro."
This above doesn't seem to do the job anymore. There is no dependency on the perl version in Factory and RPM Lint complains about
perl-Mail-SpamAssassin-Plugin-iXhash2.ppc64le: W: no-dependency-on perl-base 5.28.1 perl-Mail-SpamAssassin.ppc64le: W: no-dependency-on perl-base 5.28.1
But that's a rpmlint problem not a macro problem. We do not require the perl package since quite some time, we require the compatible perl version. You should see 'perl(:MODULE_COMPAT_5.28.1)' in the requires of the perl modules. And since 11.4 is quite old, %perl_requires is all you need. Greetings, Stephan -- Lighten up, just enjoy life, smile more, laugh more, and don't get so worked up about things. Kenneth Branagh -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org