Prechádzať zdrojové kódy

remove Template::Toolkit

Ralf S. Engelschall 17 rokov pred
rodič
commit
43dfbf7748
1 zmenil súbory, kde vykonal 17 pridanie a 30 odobranie
  1. 17 30
      perl-parse/perl-parse.spec

+ 17 - 30
perl-parse/perl-parse.spec

@@ -42,7 +42,6 @@
 %define       V_c_scan                    0.74
 %define       V_appconfig                 1.66
 %define       V_appconfig_std             1.07
-%define       V_template                  2.20
 %define       V_ogdl                      20041124
 %define       V_text_csv_pp               1.06
 %define       V_text_csv_xs               0.57
@@ -64,7 +63,7 @@ Class:        BASE
 Group:        Perl
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20081022
+Release:      20081026
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Config/Config-IniFiles-%{V_config_inifiles}.tar.gz
@@ -80,22 +79,21 @@ Source9:      http://www.cpan.org/modules/by-module/Parse/ParseLex-%{V_parse_lex
 Source10:     http://www.cpan.org/modules/by-module/C/C-Scan-%{V_c_scan}.tar.gz
 Source11:     http://www.cpan.org/modules/by-module/AppConfig/AppConfig-%{V_appconfig}.tar.gz
 Source12:     http://www.cpan.org/modules/by-module/AppConfig/AppConfig-Std-%{V_appconfig_std}.tar.gz
-Source13:     http://www.cpan.org/modules/by-module/Template/Template-Toolkit-%{V_template}.tar.gz
-Source14:     http://switch.dl.sourceforge.net/ogdl/ogdlutils-%{V_ogdl}.tgz
-Source15:     http://www.cpan.org/modules/by-module/String/String-Tokenizer-%{V_string_tokenizer}.tar.gz
-Source16:     http://www.cpan.org/modules/by-module/Config/Config-Context-%{V_config_context}.tar.gz
-Source17:     http://www.cpan.org/modules/by-module/Config/Config-Scoped-%{V_config_scoped}.tar.gz
-Source18:     http://www.cpan.org/modules/by-module/Text/Text-CSV_PP-%{V_text_csv_pp}.tar.gz
-Source19:     http://www.cpan.org/modules/by-module/Text/Text-CSV_XS-%{V_text_csv_xs}.tgz
-Source20:     http://www.cpan.org/modules/by-module/Text/Text-CSV-Simple-%{V_text_csv_simple}.tar.gz
-Source21:     http://www.cpan.org/modules/by-module/Getopt/Getopt-Long-%{V_getopt_long}.tar.gz
-Source22:     http://www.cpan.org/modules/by-module/Getopt/Getopt-Attribute-%{V_getopt_attribute}.tar.gz
-Source23:     http://www.cpan.org/modules/by-module/Getopt/Getopt-ArgvFile-%{V_getopt_argvfile}.tar.gz
-Source24:     http://www.cpan.org/modules/by-module/Getopt/Getopt-Fancy-%{V_getopt_fancy}.tar.gz
-Source25:     http://www.cpan.org/modules/by-module/Getopt/Getopt-LL-%{V_getopt_ll}.tar.gz
-Source26:     http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-Topiary-%{V_parse_recdescent_topiary}.tar.gz
-Source27:     http://www.cpan.org/modules/by-module/Parse/Parse-Flex-%{V_parse_flex}.tar.gz
-Source28:     http://www.cpan.org/modules/by-module/Parse/Parse-Eyapp-%{V_parse_eyapp}.tar.gz
+Source13:     http://switch.dl.sourceforge.net/ogdl/ogdlutils-%{V_ogdl}.tgz
+Source14:     http://www.cpan.org/modules/by-module/String/String-Tokenizer-%{V_string_tokenizer}.tar.gz
+Source15:     http://www.cpan.org/modules/by-module/Config/Config-Context-%{V_config_context}.tar.gz
+Source16:     http://www.cpan.org/modules/by-module/Config/Config-Scoped-%{V_config_scoped}.tar.gz
+Source17:     http://www.cpan.org/modules/by-module/Text/Text-CSV_PP-%{V_text_csv_pp}.tar.gz
+Source18:     http://www.cpan.org/modules/by-module/Text/Text-CSV_XS-%{V_text_csv_xs}.tgz
+Source19:     http://www.cpan.org/modules/by-module/Text/Text-CSV-Simple-%{V_text_csv_simple}.tar.gz
+Source20:     http://www.cpan.org/modules/by-module/Getopt/Getopt-Long-%{V_getopt_long}.tar.gz
+Source21:     http://www.cpan.org/modules/by-module/Getopt/Getopt-Attribute-%{V_getopt_attribute}.tar.gz
+Source22:     http://www.cpan.org/modules/by-module/Getopt/Getopt-ArgvFile-%{V_getopt_argvfile}.tar.gz
+Source23:     http://www.cpan.org/modules/by-module/Getopt/Getopt-Fancy-%{V_getopt_fancy}.tar.gz
+Source24:     http://www.cpan.org/modules/by-module/Getopt/Getopt-LL-%{V_getopt_ll}.tar.gz
+Source25:     http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-Topiary-%{V_parse_recdescent_topiary}.tar.gz
+Source26:     http://www.cpan.org/modules/by-module/Parse/Parse-Flex-%{V_parse_flex}.tar.gz
+Source27:     http://www.cpan.org/modules/by-module/Parse/Parse-Eyapp-%{V_parse_eyapp}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -128,7 +126,6 @@ AutoReqProv:  no
     - C::Scan (%{V_c_scan})
     - AppConfig (%{V_appconfig})
     - AppConfig::Std (%{V_appconfig_std})
-    - Template (%{V_template})
     - OGDL (%{V_ogdl})
     - Text::CSV_PP (%{V_text_csv_pp})
     - Text::CSV_XS (%{V_text_csv_xs})
@@ -220,11 +217,6 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/AppConfig/
         regex     = AppConfig-Std-(__VER__)\.tar\.gz
     }
-    prog perl-parse:Template = {
-        version   = %{V_template}
-        url       = http://www.cpan.org/modules/by-module/Template/
-        regex     = Template-Toolkit-(__VER__)\.tar\.gz
-    }
     prog perl-parse:OGDL = {
         version   = %{V_ogdl}
         url       = http://prdownloads.sourceforge.net/ogdl/
@@ -315,7 +307,6 @@ AutoReqProv:  no
     %setup -q -T -D -a 25
     %setup -q -T -D -a 26
     %setup -q -T -D -a 27
-    %setup -q -T -D -a 28
 
 %build
 
@@ -335,15 +326,12 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
-    %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} \
-        -A TT_XS_ENABLE=y -A TT_XS_DEFAULT=y -A TT_DBI=n \
-        -A TT_QUIET=n -A TT_ACCEPT=y \
-        configure build install
     ( cd ogdlutils-%{V_ogdl}/c
       %{l_cc} %{l_cflags} -c ogdlparser.c graph.c path.c ogdllog.c
       ar cr libogdl.a ogdlparser.o graph.o path.o ogdllog.o
     ) || exit $?
     %{l_prefix}/bin/perl-openpkg -d ogdlutils-%{V_ogdl}/perl configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install
@@ -357,7 +345,6 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install
-    %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install
     %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`