fix macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=51
This commit is contained in:
parent
517eaefdaf
commit
f0e5eff64a
12
macros.perl
12
macros.perl
@ -26,15 +26,9 @@
|
||||
# we keep the complicated form even here to easy sync the other macros with
|
||||
# perl-macros package
|
||||
#
|
||||
%if 0%{?suse_version}
|
||||
# dummy version for the version mls added automatic version requires
|
||||
%if %suse_version < 1701
|
||||
%perl_requires Requires: perl = %{perl_version}
|
||||
%else
|
||||
%perl_requires nil
|
||||
%endif
|
||||
%else
|
||||
%perl_requires nil
|
||||
%perl_requires() \
|
||||
%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1700 \
|
||||
Requires: perl = %{perl_version} \
|
||||
%endif
|
||||
|
||||
# suse specific macros
|
||||
|
Loading…
Reference in New Issue
Block a user