|
|
@@ -85,9 +85,13 @@
|
|
|
%define V_class_trait 0.22
|
|
|
%define V_hash_merge 0.10
|
|
|
%define V_readonly 1.03
|
|
|
+%define V_params_util 0.31
|
|
|
+%define V_data_optlist 0.103
|
|
|
%define V_sub_uplevel 0.18
|
|
|
+%define V_sub_install 0.924
|
|
|
%define V_sub_exporter 0.978
|
|
|
%define V_class_base 0.03
|
|
|
+%define V_self 0.14
|
|
|
|
|
|
# package information
|
|
|
Name: perl-util
|
|
|
@@ -100,7 +104,7 @@ Class: BASE
|
|
|
Group: Perl
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20071219
|
|
|
+Release: 20071220
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/Test/Test-%{V_test}.tar.gz
|
|
|
@@ -164,9 +168,13 @@ Source57: http://www.cpan.org/modules/by-module/Class/Class-InsideOut-%{V_cl
|
|
|
Source58: http://www.cpan.org/modules/by-module/Class/Class-Trait-%{V_class_trait}.tar.gz
|
|
|
Source59: http://www.cpan.org/modules/by-module/Hash/Hash-Merge-%{V_hash_merge}.tar.gz
|
|
|
Source60: http://www.cpan.org/authors/id/R/RO/ROODE/Readonly-%{V_readonly}.tar.gz
|
|
|
-Source61: http://www.cpan.org/modules/by-module/Sub/Sub-Uplevel-%{V_sub_uplevel}.tar.gz
|
|
|
-Source62: http://www.cpan.org/modules/by-module/Sub/Sub-Exporter-%{V_sub_exporter}.tar.gz
|
|
|
-Source63: http://www.cpan.org/modules/by-module/Class/Class-Base-%{V_class_base}.tar.gz
|
|
|
+Source61: http://www.cpan.org/modules/by-module/Params/Params-Util-%{V_params_util}.tar.gz
|
|
|
+Source62: http://www.cpan.org/modules/by-module/Data/Data-OptList-%{V_data_optlist}.tar.gz
|
|
|
+Source63: http://www.cpan.org/modules/by-module/Sub/Sub-Uplevel-%{V_sub_uplevel}.tar.gz
|
|
|
+Source64: http://www.cpan.org/modules/by-module/Sub/Sub-Install-%{V_sub_install}.tar.gz
|
|
|
+Source65: http://www.cpan.org/modules/by-module/Sub/Sub-Exporter-%{V_sub_exporter}.tar.gz
|
|
|
+Source66: http://www.cpan.org/modules/by-module/Class/Class-Base-%{V_class_base}.tar.gz
|
|
|
+Source67: http://www.cpan.org/authors/id/G/GU/GUGOD/self-%{V_self}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -241,9 +249,13 @@ AutoReqProv: no
|
|
|
- Want (%{V_want})
|
|
|
- Hash::Merge (%{V_hash_merge})
|
|
|
- Readonly (%{V_readonly})
|
|
|
+ - Params::Util (%{V_params_util})
|
|
|
+ - Data::OptList (%{V_data_optlist})
|
|
|
- Sub::Uplevel (%{V_sub_uplevel})
|
|
|
+ - Sub::Install (%{V_sub_install})
|
|
|
- Sub::Exporter (%{V_sub_exporter})
|
|
|
- Class::Base (%{V_class_base})
|
|
|
+ - self (%{V_self})
|
|
|
|
|
|
%track
|
|
|
prog perl-util:Alias = {
|
|
|
@@ -551,11 +563,26 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/authors/id/R/RO/ROODE/
|
|
|
regex = Readonly-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-util:Params-Util = {
|
|
|
+ version = %{V_params_util}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Params/
|
|
|
+ regex = Params-Util-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog perl-util:Data-OptList = {
|
|
|
+ version = %{V_data_optlist}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Data/
|
|
|
+ regex = Data-OptList-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
prog perl-util:Sub-Uplevel = {
|
|
|
version = %{V_sub_uplevel}
|
|
|
url = http://www.cpan.org/modules/by-module/Sub/
|
|
|
regex = Sub-Uplevel-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-util:Sub-Install = {
|
|
|
+ version = %{V_sub_install}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Sub/
|
|
|
+ regex = Sub-Install-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
prog perl-util:Sub-Exporter = {
|
|
|
version = %{V_sub_exporter}
|
|
|
url = http://www.cpan.org/modules/by-module/Sub/
|
|
|
@@ -566,6 +593,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Class/
|
|
|
regex = Class-Base-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-util:self = {
|
|
|
+ version = %{V_self}
|
|
|
+ url = http://www.cpan.org/authors/id/G/GU/GUGOD/
|
|
|
+ regex = self-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -632,6 +664,10 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 61
|
|
|
%setup -q -T -D -a 62
|
|
|
%setup -q -T -D -a 63
|
|
|
+ %setup -q -T -D -a 64
|
|
|
+ %setup -q -T -D -a 65
|
|
|
+ %setup -q -T -D -a 66
|
|
|
+ %setup -q -T -D -a 67
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -702,6 +738,10 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE61} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE62} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE63} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE64} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE65} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE66} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE67} configure build install
|
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/replace
|
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/prove
|
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/prove.1
|