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
|
# we keep the complicated form even here to easy sync the other macros with
|
||||||
# perl-macros package
|
# perl-macros package
|
||||||
#
|
#
|
||||||
%if 0%{?suse_version}
|
%perl_requires() \
|
||||||
# dummy version for the version mls added automatic version requires
|
%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1700 \
|
||||||
%if %suse_version < 1701
|
Requires: perl = %{perl_version} \
|
||||||
%perl_requires Requires: perl = %{perl_version}
|
|
||||||
%else
|
|
||||||
%perl_requires nil
|
|
||||||
%endif
|
|
||||||
%else
|
|
||||||
%perl_requires nil
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# suse specific macros
|
# suse specific macros
|
||||||
|
Loading…
Reference in New Issue
Block a user