Просмотр исходного кода

Corrected build dependency and added IO::String and IO::stringy modules to resolve missing dependencies of perl-gfx and perl-mail.

Ralf S. Engelschall 24 лет назад
Родитель
Сommit
a4497e5d08
1 измененных файлов с 12 добавлено и 4 удалено
  1. 12 4
      perl-ds/perl-ds.spec

+ 12 - 4
perl-ds/perl-ds.spec

@@ -26,6 +26,8 @@
 #   versions of individual parts
 %define       V_vector            6.1
 %define       V_scalar            1.17
+%define       V_string            1.01
+%define       V_stringy           2.108
 
 #   package information
 Name:         perl-ds
@@ -36,17 +38,19 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [REL]
 Group:        Language
 License:      GPL/Artistic
-Version:      20020515
-Release:      20020515
+Version:      20020516
+Release:      20020516
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Bit/Bit-Vector-%{V_vector}.tar.gz
 Source1:      http://www.cpan.org/modules/by-module/Set/Set-Scalar-%{V_scalar}.tar.gz
+Source2:      http://www.cpan.org/modules/by-module/IO/IO-String-%{V_string}.tar.gz
+Source3:      http://www.cpan.org/modules/by-module/IO/IO-stringy-%{V_stringy}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206, perl, gcc, gzip
+BuildPreReq:  OpenPKG, openpkg >= 20020206, perl
 PreReq:       OpenPKG, openpkg >= 20020206, perl
 AutoReq:      no
 AutoReqProv:  no
@@ -55,10 +59,14 @@ AutoReqProv:  no
     Perl modules for use with data structures:
     - Bit::Vector (%{V_vector})
     - Set::Scalar (%{V_scalar})
+    - IO::String  (%{V_string})
+    - IO::stringy (%{V_stringy})
 
 %prep
     %setup0 -q -c -n %{name}-%{version}
     %setup1  -q -T -D -a 1
+    %setup2  -q -T -D -a 2
+    %setup3  -q -T -D -a 3
 
 %build
 
@@ -80,7 +88,7 @@ AutoReqProv:  no
     chmod a+x $perl
 
     # uncompress and build modules
-    for mod in %{SOURCE0} %{SOURCE1}; do
+    for mod in %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3}; do
         dir=`echo "$mod" | sed -e 's;^.*/\([^/]*\)\.tar\.gz$;\1;'`
         cd $dir
         chmod -R u+rw .