Browse Source

add Want module (required by DBIx::SearchBuilder)

master
parent
commit
27bcdd12cd
  1. 12
      perl-util/perl-util.spec

12
perl-util/perl-util.spec

@ -86,6 +86,7 @@
%define V_clone_pp 1.02
%define V_data_page 2.00
%define V_data_page_pageset 1.02
%define V_want 0.09
# package information
Name: perl-util
@ -98,7 +99,7 @@ Class: BASE
Group: Language
License: GPL/Artistic
Version: %{V_perl}
Release: 20051230
Release: 20060104
# list of sources
Source0: http://www.cpan.org/modules/by-module/Test/Test-%{V_test}.tar.gz
@ -163,6 +164,7 @@ Source58: http://www.cpan.org/modules/by-module/Clone/Clone-PP-%{V_clone_pp}
Source59: http://www.cpan.org/modules/by-module/Data/Data-Page-%{V_data_page}.tar.gz
Source60: http://www.cpan.org/modules/by-module/Data/Data-Page-Pageset-%{V_data_page_pageset}.tar.gz
Source61: http://www.cpan.org/modules/by-module/Regexp/Regexp-Assemble-%{V_regexp_assemble}.tar.gz
Source62: http://www.cpan.org/authors/id/R/RO/ROBIN/Want-%{V_want}.tar.gz
# build information
Prefix: %{l_prefix}
@ -236,6 +238,7 @@ AutoReqProv: no
- Clone::PP (%{V_clone_pp})
- Data::Page (%{V_data_page})
- Data::Page::Pageset (%{V_data_page_pageset})
- Want (%{V_want})
%track
prog perl-util:Alias = {
@ -550,6 +553,11 @@ AutoReqProv: no
url = http://www.cpan.org/modules/by-module/Data/
regex = Data-Page-Pageset-(__VER__)\.tar\.gz
}
prog perl-util:Want = {
version = %{V_want}
url = http://www.cpan.org/authors/id/R/RO/ROBIN/
regex = Want-(__VER__)\.tar\.gz
}
%prep
%setup -q -c
@ -614,6 +622,7 @@ AutoReqProv: no
%setup -q -T -D -a 59
%setup -q -T -D -a 60
%setup -q -T -D -a 61
%setup -q -T -D -a 62
%build
@ -682,6 +691,7 @@ AutoReqProv: no
%{l_prefix}/bin/perl-openpkg -d %{SOURCE59} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE60} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE61} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE62} configure build install
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/replace
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/prove
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup

Loading…
Cancel
Save