Browse Source

add Module::Install

master
parent
commit
7f71062045
  1. 12
      perl-module/perl-module.spec

12
perl-module/perl-module.spec

@ -44,6 +44,7 @@
%define V_module_locate 1.79
%define V_module_pluggable 5.1
%define V_module_pluggable_ordered 1.5
%define V_module_install 1.14
%define V_class_inspector 1.28
%define V_file_sharedir 1.03
%define V_cpan 2.10
@ -61,7 +62,7 @@ Class: BASE
Group: Perl
License: GPL/Artistic
Version: %{V_perl}
Release: 20150321
Release: 20150323
# list of sources
Source0: http://www.cpan.org/authors/id/F/FL/FLORA/ExtUtils-Depends-%{V_extutils_depends}.tar.gz
@ -85,6 +86,7 @@ Source17: http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Config-%{V_extu
Source18: http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Helpers-%{V_extutils_helpers}.tar.gz
Source19: http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-%{V_extutils_installpaths}.tar.gz
Source20: http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-Tiny-%{V_module_build_tiny}.tar.gz
Source21: http://www.cpan.org/authors/id/B/BI/BINGOS/Module-Install-%{V_module_install}.tar.gz
Patch0: perl-module.patch
# build information
@ -109,6 +111,7 @@ PreReq: OpenPKG, openpkg >= 20100101, perl >= %{V_perl}
- Module::Locate (%{V_module_locate})
- Module::Pluggable (%{V_module_pluggable})
- Module::Pluggable::Ordered (%{V_module_pluggable_ordered})
- Module::Install (%{V_module_install})
- Class::Inspector (%{V_class_inspector})
- File::ShareDir (%{V_file_sharedir})
- CPAN (%{V_cpan})
@ -196,6 +199,11 @@ PreReq: OpenPKG, openpkg >= 20100101, perl >= %{V_perl}
url = http://www.cpan.org/authors/id/A/AP/APEIRON/
regex = Module-Pluggable-Ordered-(__VER__)\.tar\.gz
}
prog perl-module:Module-Install = {
version = %{V_module_install}
url = http://www.cpan.org/authors/id/B/BI/BINGOS/
regex = Module-Install-(__VER__)\.tar\.gz
}
prog perl-module:Class-Inspector = {
version = %{V_class_inspector}
url = http://www.cpan.org/authors/id/A/AD/ADAMK/
@ -244,6 +252,7 @@ PreReq: OpenPKG, openpkg >= 20100101, perl >= %{V_perl}
%setup -q -T -D -a 18
%setup -q -T -D -a 19
%setup -q -T -D -a 20
%setup -q -T -D -a 21
%patch -p0
%build
@ -271,6 +280,7 @@ PreReq: OpenPKG, openpkg >= 20100101, perl >= %{V_perl}
%{l_prefix}/bin/perl-openpkg -d %{SOURCE18} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE19} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE21} configure build install
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/{cpan,instmodsh}
mv $RPM_BUILD_ROOT%{l_prefix}/bin/scandeps.pl \

Loading…
Cancel
Save