Sfoglia il codice sorgente

one more requirement for Class:DBI

Ralf S. Engelschall 21 anni fa
parent
commit
41f42f8491
1 ha cambiato i file con 11 aggiunte e 1 eliminazioni
  1. 11 1
      perl-util/perl-util.spec

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

@@ -47,6 +47,7 @@
 %define       V_class_declare            0.05
 %define       V_class_declare_attributes 0.03
 %define       V_class_trigger            0.08
+%define       V_class_whitehole          0.04
 %define       V_data_locations           5.2-fixed
 %define       V_data_swap                0.02
 %define       V_devel_stacktrace         1.11
@@ -117,7 +118,8 @@ Source34:     http://www.cpan.org/modules/by-module/Class/Class-Contract-%{V_cla
 Source35:     http://www.cpan.org/modules/by-module/Class/Class-Declare-%{V_class_declare}.tar.gz
 Source36:     http://www.cpan.org/modules/by-module/Class/Class-Declare-Attributes-%{V_class_declare_attributes}.tar.gz
 Source37:     http://www.cpan.org/modules/by-module/Class/Class-Trigger-%{V_class_trigger}.tar.gz
-Source38:     http://www.cpan.org/modules/by-module/UNIVERSAL/UNIVERSAL-moniker-%{V_universal_moniker}.tar.gz
+Source38:     http://www.cpan.org/modules/by-module/Class/Class-WhiteHole-%{V_class_whitehole}.tar.gz
+Source39:     http://www.cpan.org/modules/by-module/UNIVERSAL/UNIVERSAL-moniker-%{V_universal_moniker}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -151,6 +153,7 @@ AutoReqProv:  no
     - Class::Declare (%{V_class_declare})
     - Class::Declare-Attributes (%{V_class_declare_attributes})
     - Class::Trigger (%{V_class_trigger})
+    - Class::WhiteHole (%{V_class_whitehole})
     - Data::Locations (%{V_data_locations})
     - Data::Swap (%{V_data_swap})
     - Devel::StackTrace (%{V_devel_stacktrace})
@@ -280,6 +283,11 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/Class/
         regex     = Class-Trigger-(__VER__)\.tar\.gz
     }
+    prog perl-util:Class-WhiteHole = {
+        version   = %{V_class_whitehole}
+        url       = http://www.cpan.org/modules/by-module/Class/
+        regex     = Class-WhiteHole-(__VER__)\.tar\.gz
+    }
     prog perl-util:Data-Locations = {
         version   = %{V_data_locations}
         url       = http://www.cpan.org/modules/by-module/Data/
@@ -406,6 +414,7 @@ AutoReqProv:  no
     %setup -q -T -D -a 36
     %setup -q -T -D -a 37
     %setup -q -T -D -a 38
+    %setup -q -T -D -a 39
 
 %build
 
@@ -451,6 +460,7 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE36} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE37} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE38} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE39} 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