Переглянути джерело

add Steffen Beyer's Data::Location module which is a Perl variant of the good old ProMac or WML output diversion concept

Ralf S. Engelschall 22 роки тому
батько
коміт
393cb9b4db
1 змінених файлів з 7 додано та 2 видалено
  1. 7 2
      perl-util/perl-util.spec

+ 7 - 2
perl-util/perl-util.spec

@@ -41,6 +41,7 @@
 %define       V_test                     1.24
 %define       V_test_harness             2.28
 %define       V_class_xpath              1.1
+%define       V_data_locations           5.2-fixed
 
 #   package information
 Name:         perl-util
@@ -51,8 +52,8 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [BASE]
 Group:        Language
 License:      GPL/Artistic
-Version:      20030507
-Release:      20030507
+Version:      20030517
+Release:      20030517
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Alias/Alias-%{V_alias}.tar.gz
@@ -72,6 +73,7 @@ Source13:     http://www.cpan.org/authors/id/M/MS/MSCHWARTZ/Startup-%{V_startup}
 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
 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
 
 #   build information
 Prefix:       %{l_prefix}
@@ -100,6 +102,7 @@ AutoReqProv:  no
     - Test (%{V_test})
     - Test::Harness (%{V_test_harness})
     - Class::XPath (%{V_class_xpath})
+    - Data::Locations (%{V_data_locations})
 
 %prep
     %setup0  -q -c
@@ -119,6 +122,7 @@ AutoReqProv:  no
     %setup14 -q -T -D -a 14
     %setup15 -q -T -D -a 15
     %setup16 -q -T -D -a 16
+    %setup17 -q -T -D -a 17
 
 %build
 
@@ -144,6 +148,7 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg install -d %{SOURCE14}
     %{l_prefix}/bin/perl-openpkg install -d %{SOURCE15}
     %{l_prefix}/bin/perl-openpkg install -d %{SOURCE16}
+    %{l_prefix}/bin/perl-openpkg install -d %{SOURCE17}
 
     #   cleanup installation files
     rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/replace # demo from "Startup" module