|
@@ -42,6 +42,7 @@
|
|
|
%define V_test_harness 2.28
|
|
%define V_test_harness 2.28
|
|
|
%define V_class_xpath 1.1
|
|
%define V_class_xpath 1.1
|
|
|
%define V_data_locations 5.2-fixed
|
|
%define V_data_locations 5.2-fixed
|
|
|
|
|
+%define V_string_divert 0.90
|
|
|
|
|
|
|
|
# package information
|
|
# package information
|
|
|
Name: perl-util
|
|
Name: perl-util
|
|
@@ -52,8 +53,8 @@ Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [BASE]
|
|
Distribution: OpenPKG [BASE]
|
|
|
Group: Language
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
License: GPL/Artistic
|
|
|
-Version: 20030517
|
|
|
|
|
-Release: 20030517
|
|
|
|
|
|
|
+Version: 20030523
|
|
|
|
|
+Release: 20030523
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/Alias/Alias-%{V_alias}.tar.gz
|
|
Source0: http://www.cpan.org/modules/by-module/Alias/Alias-%{V_alias}.tar.gz
|
|
@@ -74,6 +75,7 @@ Source14: http://www.cpan.org/modules/by-module/Test/Test-%{V_test}.tar.gz
|
|
|
Source15: http://www.cpan.org/modules/by-module/Test/Test-Harness-%{V_test_harness}.tar.gz
|
|
Source15: http://www.cpan.org/modules/by-module/Test/Test-Harness-%{V_test_harness}.tar.gz
|
|
|
Source16: http://www.cpan.org/modules/by-module/Class/Class-XPath-%{V_class_xpath}.tar.gz
|
|
Source16: http://www.cpan.org/modules/by-module/Class/Class-XPath-%{V_class_xpath}.tar.gz
|
|
|
Source17: http://www.cpan.org/modules/by-module/Data/Data-Locations-%{V_data_locations}.tar.gz
|
|
Source17: http://www.cpan.org/modules/by-module/Data/Data-Locations-%{V_data_locations}.tar.gz
|
|
|
|
|
+Source18: http://www.cpan.org/modules/by-module/String/String-Divert-%{V_string_divert}.tar.gz
|
|
|
|
|
|
|
|
# build information
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
Prefix: %{l_prefix}
|
|
@@ -103,6 +105,7 @@ AutoReqProv: no
|
|
|
- Test::Harness (%{V_test_harness})
|
|
- Test::Harness (%{V_test_harness})
|
|
|
- Class::XPath (%{V_class_xpath})
|
|
- Class::XPath (%{V_class_xpath})
|
|
|
- Data::Locations (%{V_data_locations})
|
|
- Data::Locations (%{V_data_locations})
|
|
|
|
|
+ - String::Divert (%{V_string_divert})
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
|
%setup0 -q -c
|
|
%setup0 -q -c
|
|
@@ -123,6 +126,7 @@ AutoReqProv: no
|
|
|
%setup15 -q -T -D -a 15
|
|
%setup15 -q -T -D -a 15
|
|
|
%setup16 -q -T -D -a 16
|
|
%setup16 -q -T -D -a 16
|
|
|
%setup17 -q -T -D -a 17
|
|
%setup17 -q -T -D -a 17
|
|
|
|
|
+ %setup18 -q -T -D -a 18
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
|
|
|
@@ -149,6 +153,7 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE15}
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE15}
|
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE16}
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE16}
|
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE17}
|
|
%{l_prefix}/bin/perl-openpkg install -d %{SOURCE17}
|
|
|
|
|
+ %{l_prefix}/bin/perl-openpkg install -d %{SOURCE18}
|
|
|
|
|
|
|
|
# cleanup installation files
|
|
# cleanup installation files
|
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/replace # demo from "Startup" module
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/replace # demo from "Startup" module
|