SHA256
1
0
forked from pool/perl

- 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:
Stephan Kulow 2010-11-30 10:23:22 +00:00 committed by Git OBS Bridge
parent 738257bf9e
commit 24acbdd968
2 changed files with 20 additions and 0 deletions

View File

@ -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

View File

@ -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