浏览代码

Time::Hires is now part of base distribution

Ralf S. Engelschall 23 年之前
父节点
当前提交
61ea658022
共有 1 个文件被更改,包括 4 次插入15 次删除
  1. 4 15
      perl-time/perl-time.spec

+ 4 - 15
perl-time/perl-time.spec

@@ -25,7 +25,6 @@
 
 #   versions of individual parts
 %define       V_time_date          1.1301
-%define       V_time_hires         1.38
 %define       V_date_manip         5.40
 %define       V_date_calc          5.3
 %define       V_class_date         1.1.1
@@ -45,11 +44,10 @@ Release:      20021014
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Date/TimeDate-%{V_time_date}.tar.gz
-Source1:      http://www.cpan.org/modules/by-module/Time/Time-HiRes-%{V_time_hires}.tar.gz
-Source2:      http://www.cpan.org/modules/by-module/Date/DateManip-%{V_date_manip}.tar.gz
-Source3:      http://www.cpan.org/modules/by-module/Date/Date-Calc-%{V_date_calc}.tar.gz
-Source4:      http://hacks.dlux.hu/Class-Date/download/Class-Date-%{V_class_date}.tar.gz
-Source5:      http://www.cpan.org/authors/id/A/AN/ANDREWHO/Benchmark-Timer-%{V_benchmark_timer}.tar.gz
+Source1:      http://www.cpan.org/modules/by-module/Date/DateManip-%{V_date_manip}.tar.gz
+Source2:      http://www.cpan.org/modules/by-module/Date/Date-Calc-%{V_date_calc}.tar.gz
+Source3:      http://hacks.dlux.hu/Class-Date/download/Class-Date-%{V_class_date}.tar.gz
+Source4:      http://www.cpan.org/authors/id/A/AN/ANDREWHO/Benchmark-Timer-%{V_benchmark_timer}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -62,7 +60,6 @@ AutoReqProv:  no
 %description
     Various Perl modules for Date and Time handling:
     - Time::Date (%{V_time_date})
-    - Time::HiRes (%{V_time_hires})
     - Date::Manip (%{V_date_manip})
     - Date::Calc (%{V_date_calc})
     - Class::Date (%{V_class_date})
@@ -74,7 +71,6 @@ AutoReqProv:  no
     %setup2  -q -T -D -a 2
     %setup3  -q -T -D -a 3
     %setup4  -q -T -D -a 4
-    %setup5  -q -T -D -a 5
 
 %build
 
@@ -109,13 +105,6 @@ AutoReqProv:  no
       $make $makeargs install
     )
 
-    #   build Time::HiRes
-    ( cd Time-HiRes-%{V_time_hires}
-      $perl Makefile.PL $perlargs
-      $make $makeargs all
-      $make $makeargs install
-    )
-
     #   build Date::Manip
     ( cd DateManip-%{V_date_manip}
       $perl Makefile.PL $perlargs