Browse Source

- Remove dependency to perl-crypto and perl-parse because I cannot believe that this is really a needed dependency for those modules. - Add a version tracking configuration for perl-util - Add Class-Loader because it is required somewhere else, too.

Ralf S. Engelschall 23 years ago
parent
commit
cda6580851
1 changed files with 10 additions and 11 deletions
  1. 10 11
      perl-util/perl-util.spec

+ 10 - 11
perl-util/perl-util.spec

@@ -26,6 +26,7 @@
 #   versions of individual parts
 %define       V_alias             2.32
 %define       V_inline            0.43
+%define       V_class_loader      2.02
 
 #   package information
 Name:         perl-util
@@ -36,34 +37,32 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [REL]
 Group:        Language
 License:      GPL/Artistic
-Version:      20020517
-Release:      20020517
+Version:      20020521
+Release:      20020521
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Alias/Alias-%{V_alias}.tar.gz
 Source1:      http://www.cpan.org/modules/by-module/Inline/Inline-%{V_inline}.tar.gz
+Source2:      http://www.cpan.org/modules/by-module/Class/Class-Loader-%{V_class_loader}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206, perl, perl-crypto, perl-parse
-PreReq:       OpenPKG, openpkg >= 20020206, perl, perl-crypto, perl-parse
+BuildPreReq:  OpenPKG, openpkg >= 20020206, perl
+PreReq:       OpenPKG, openpkg >= 20020206, perl
 AutoReq:      no
 AutoReqProv:  no
 
 %description
     Perl modules for general utility usage:
     - Alias (%{V_alias})
-    - Inline::C (%{V_inline})
-    - Inline::C::grammar (%{V_inline})
-    - Inline::Foo (%{V_inline})
-    - Inline::MakeMaker (%{V_inline})
-    - Inline::denter (%{V_inline})
-    - Inline::Simple (%{V_inline})
+    - Inline (%{V_inline})
+    - Class::Loader (%{V_class_loader})
 
 %prep
     %setup0 -q -c -n %{name}-%{version}
     %setup1  -q -T -D -a 1
+    %setup2  -q -T -D -a 2
 
 %build
 
@@ -85,7 +84,7 @@ AutoReqProv:  no
     chmod a+x $perl
 
     # uncompress and build modules
-    for mod in %{SOURCE0} %{SOURCE1}; do
+    for mod in %{SOURCE0} %{SOURCE1} %{SOURCE2}; do
         dir=`echo "$mod" | sed -e 's;^.*/\([^/]*\)\.tar\.gz$;\1;'`
         cd $dir
         chmod -R u+rw .