- added a new macro %perl_requires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=50
This commit is contained in:
parent
738257bf9e
commit
24acbdd968
15
macros.perl
15
macros.perl
@ -22,6 +22,21 @@
|
||||
%perl_installarchlib %(perl -V:installarchlib | sed "s!.*='!!;s!'.*!!")
|
||||
%perl_prefix %{buildroot}
|
||||
|
||||
# Macro to encapsulate perl requires (empty for fedora and suse > 11.3)
|
||||
# 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
|
||||
%endif
|
||||
|
||||
# suse specific macros
|
||||
#
|
||||
%perl_make_install make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 30 10:23:06 UTC 2010 - coolo@novell.com
|
||||
|
||||
- added a new macro %perl_requires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 15:20:19 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user