|
|
@@ -95,6 +95,7 @@
|
|
|
%define V_check_isa 0.04
|
|
|
%define V_package_constants 0.02
|
|
|
%define V_carp_clan 6.04
|
|
|
+%define V_class_isa 0.36
|
|
|
|
|
|
# package information
|
|
|
Name: perl-util
|
|
|
@@ -107,7 +108,7 @@ Class: BASE
|
|
|
Group: Perl
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20110619
|
|
|
+Release: 20111022
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/authors/id/S/SB/SBURKE/Test-%{V_test}.tar.gz
|
|
|
@@ -182,6 +183,7 @@ Source68: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/capitalization-%{V_ca
|
|
|
Source69: http://www.cpan.org/authors/id/N/NU/NUFFIN/Check-ISA-%{V_check_isa}.tar.gz
|
|
|
Source70: http://www.cpan.org/authors/id/K/KA/KANE/Package-Constants-%{V_package_constants}.tar.gz
|
|
|
Source71: http://www.cpan.org/authors/id/S/ST/STBEY/Carp-Clan-%{V_carp_clan}.tar.gz
|
|
|
+Source72: http://www.cpan.org/authors/id/S/SM/SMUELLER/Class-ISA-%{V_class_isa}.tar.gz
|
|
|
Patch0: perl-util.patch
|
|
|
|
|
|
# build information
|
|
|
@@ -264,6 +266,7 @@ PreReq: perl-module
|
|
|
- Check::ISA (%{V_check_isa})
|
|
|
- Package::Constants (%{V_package_constants})
|
|
|
- Carp::Clan (%{V_carp_clan})
|
|
|
+ - Class::ISA (%{V_class_isa})
|
|
|
|
|
|
%track
|
|
|
prog perl-util:Alias = {
|
|
|
@@ -626,6 +629,11 @@ PreReq: perl-module
|
|
|
url = http://www.cpan.org/authors/id/S/ST/STBEY/
|
|
|
regex = Carp-Clan-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-util:Class-ISA = {
|
|
|
+ version = %{V_class_isa}
|
|
|
+ url = http://www.cpan.org/authors/id/S/SM/SMUELLER/
|
|
|
+ regex = Class-ISA-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -700,6 +708,7 @@ PreReq: perl-module
|
|
|
%setup -q -T -D -a 69
|
|
|
%setup -q -T -D -a 70
|
|
|
%setup -q -T -D -a 71
|
|
|
+ %setup -q -T -D -a 72
|
|
|
%patch -p0
|
|
|
|
|
|
%build
|
|
|
@@ -778,6 +787,7 @@ PreReq: perl-module
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE69} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE70} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE71} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE72} 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
|