浏览代码

add XML-Mini

Ralf S. Engelschall 18 年之前
父节点
当前提交
42802d672e
共有 1 个文件被更改,包括 11 次插入1 次删除
  1. 11 1
      perl-xml/perl-xml.spec

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

@@ -86,6 +86,7 @@
 %define       V_xml_atom_filter         0.06
 %define       V_xml_atom_syndication    0.901
 %define       V_xml_rss_fromatom        0.02
+%define       V_xml_mini                1.36
 
 #   package information
 Name:         perl-xml
@@ -98,7 +99,7 @@ Class:        BASE
 Group:        Perl
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20080130
+Release:      20080203
 
 #   package options
 %option       with_libxml            no
@@ -180,6 +181,7 @@ Source59:     http://www.cpan.org/modules/by-module/HTML/HTML-TreeBuilder-XPath-
 Source60:     http://www.cpan.org/modules/by-module/HTML/HTML-TreeBuilder-Select-%{V_html_treebuilder_select}.tar.gz
 Source61:     http://www.cpan.org/modules/by-module/HTML/HTML-Element-Extended-%{V_html_element_extended}.tar.gz
 Source62:     http://www.cpan.org/modules/by-module/HTML/HTML-TableExtract-%{V_html_tableextract}.tar.gz
+Source63:     http://www.cpan.org/modules/by-module/XML/XML-Mini-%{V_xml_mini}.tar.gz
 Patch0:       perl-xml.patch
 
 #   build information
@@ -257,6 +259,7 @@ AutoReqProv:  no
     - XML::Smart (%{V_xml_smart})
     - XML::Stream (%{V_xml_stream})
     - XML::DT (%{V_xml_dt})
+    - XML::Mini (%{V_xml_mini})
     - HTML::Tagset (%{V_html_tagset})
     - HTML::Parser (%{V_html_parser})
     - HTML::Tree (%{V_html_tree})
@@ -558,6 +561,11 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/HTML/
         regex     = HTML-TableExtract-(__VER__)\.tar\.gz
     }
+    prog perl-xml:XML-Mini = {
+        version   = %{V_xml_mini}
+        url       = http://www.cpan.org/modules/by-module/XML/
+        regex     = XML-Mini-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -623,6 +631,7 @@ AutoReqProv:  no
     %setup -q -T -D -a 60
     %setup -q -T -D -a 61
     %setup -q -T -D -a 62
+    %setup -q -T -D -a 63
     %patch -p0
     rm -f HTML-Prototype*/Build.PL
     chmod u+w HTML-Prototype-Useful-*/Makefile.PL*
@@ -716,6 +725,7 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE60} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE61} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE62} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE63} configure build install
 
     #   pre-activate the XML::SAX parsers
     eval `%{l_prefix}/bin/perl -V:installvendorlib`