Sfoglia il codice sorgente

modifying package: perl-time-5.10.0 20080406 -> 20080408

Ralf S. Engelschall 17 anni fa
parent
commit
1fb45b22fb
2 ha cambiato i file con 20 aggiunte e 5 eliminazioni
  1. 18 3
      perl-time/perl-time.patch
  2. 2 2
      perl-time/perl-time.spec

+ 18 - 3
perl-time/perl-time.patch

@@ -1,6 +1,6 @@
 Index: Benchmark-Timer-0.7100/Makefile.PL
 --- Benchmark-Timer-0.7100/Makefile.PL.orig	2004-12-20 23:49:50 +0100
-+++ Benchmark-Timer-0.7100/Makefile.PL	2005-06-03 17:10:04 +0200
++++ Benchmark-Timer-0.7100/Makefile.PL	2008-04-08 18:44:31 +0200
 @@ -20,7 +20,7 @@
  # Optional features and their modules
  features        (
@@ -11,8 +11,8 @@ Index: Benchmark-Timer-0.7100/Makefile.PL
                    ],
                  );
 Index: Time-Duration-1.06/Makefile.PL
---- Time-Duration-1.06/Makefile.PL.orig	2007-11-02 13:22:59 +0100
-+++ Time-Duration-1.06/Makefile.PL	2007-11-02 13:23:52 +0100
+--- Time-Duration-1.06/Makefile.PL.orig	2007-08-19 02:29:54 +0200
++++ Time-Duration-1.06/Makefile.PL	2008-04-08 18:44:31 +0200
 @@ -3,8 +3,5 @@
  name 'Time-Duration';
  all_from 'Duration.pm';
@@ -22,3 +22,18 @@ Index: Time-Duration-1.06/Makefile.PL
 -
  auto_install;
  WriteAll;
+Index: Time-HiRes-1.9714/Makefile.PL
+--- Time-HiRes-1.9714/Makefile.PL.orig	2008-04-08 18:44:38 +0200
++++ Time-HiRes-1.9714/Makefile.PL	2008-04-08 18:50:04 +0200
+@@ -839,11 +839,9 @@
+     my $action;
+     if (@ARGV) {
+ 	if (@ARGV > 1) {
+-	    usage();
+ 	} elsif ($ARGV[0] =~ /^(configure)$/) {
+ 	    $action = $1; 
+ 	} else {
+-	    die qq{$0: Usage: $0 [configure]\n};
+ 	}
+     }
+     if (-f "xdefine" && !(defined $action && $action eq 'configure')) {

+ 2 - 2
perl-time/perl-time.spec

@@ -24,7 +24,7 @@
 #   versions of individual parts
 %define       V_perl                   5.10.0
 %define       V_time_date              1.16
-%define       V_time_hires             1.9713
+%define       V_time_hires             1.9714
 %define       V_time_local             1.18
 %define       V_date_manip             5.48
 %define       V_date_calc              5.4
@@ -50,7 +50,7 @@ Class:        BASE
 Group:        Perl
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20080406
+Release:      20080408
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Time/TimeDate-%{V_time_date}.tar.gz