basebuilder_pel7ppc64lebuilder0
4 years ago
45 changed files with 6641 additions and 0 deletions
@ -0,0 +1,51 @@
@@ -0,0 +1,51 @@
|
||||
From 5375759f62132dc8328baf939e471a32a6a3b3f5 Mon Sep 17 00:00:00 2001 |
||||
From: Dave Rolsky <autarch@urth.org> |
||||
Date: Wed, 6 Jul 2016 08:49:37 -0500 |
||||
Subject: [PATCH 2/2] Add leap second on December 31, 2016 |
||||
MIME-Version: 1.0 |
||||
Content-Type: text/plain; charset=UTF-8 |
||||
Content-Transfer-Encoding: 8bit |
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com> |
||||
--- |
||||
leaptab.txt | 1 + |
||||
lib/DateTime/LeapSecond.pm | 1 + |
||||
t/19leap-second.t | 1 + |
||||
3 files changed, 3 insertions(+) |
||||
|
||||
diff --git a/leaptab.txt b/leaptab.txt |
||||
index 4075fbd..e9fb846 100644 |
||||
--- a/leaptab.txt |
||||
+++ b/leaptab.txt |
||||
@@ -24,3 +24,4 @@ |
||||
2009 Jan. 1 +1 |
||||
2012 Jul. 1 +1 |
||||
2015 Jul. 1 +1 |
||||
+2017 Jan. 1 +1 |
||||
diff --git a/lib/DateTime/LeapSecond.pm b/lib/DateTime/LeapSecond.pm |
||||
index 736f2eb..b936c72 100644 |
||||
--- a/lib/DateTime/LeapSecond.pm |
||||
+++ b/lib/DateTime/LeapSecond.pm |
||||
@@ -107,6 +107,7 @@ sub _initialize { |
||||
2009 Jan. 1 +1 |
||||
2012 Jun. 1 +1 |
||||
2015 Jul. 1 +1 |
||||
+ 2017 Jan. 1 +1 |
||||
) |
||||
); |
||||
} |
||||
diff --git a/t/19leap-second.t b/t/19leap-second.t |
||||
index 3d9434c..9d3f6eb 100644 |
||||
--- a/t/19leap-second.t |
||||
+++ b/t/19leap-second.t |
||||
@@ -1157,6 +1157,7 @@ use DateTime; |
||||
[ 2008, 12, 31 ], |
||||
[ 2012, 6, 30 ], |
||||
[ 2015, 6, 30 ], |
||||
+ [ 2016, 12, 31 ], |
||||
) { |
||||
my $formatted = join '-', map { sprintf( '%02d', $_ ) } @{$date}; |
||||
|
||||
-- |
||||
2.5.5 |
||||
|
@ -0,0 +1,61 @@
@@ -0,0 +1,61 @@
|
||||
From 27a96035f1da2ff0f4801fedffdb7a8cdadd3fc7 Mon Sep 17 00:00:00 2001 |
||||
From: Dave Rolsky <autarch@urth.org> |
||||
Date: Mon, 5 Jan 2015 08:53:52 -0600 |
||||
Subject: [PATCH 1/2] There will be a leap second on June 30, 2015 |
||||
MIME-Version: 1.0 |
||||
Content-Type: text/plain; charset=UTF-8 |
||||
Content-Transfer-Encoding: 8bit |
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com> |
||||
--- |
||||
leaptab.txt | 1 + |
||||
lib/DateTime/LeapSecond.pm | 4 +--- |
||||
t/19leap-second.t | 1 + |
||||
3 files changed, 3 insertions(+), 3 deletions(-) |
||||
|
||||
diff --git a/leaptab.txt b/leaptab.txt |
||||
index f1c7f2e..4075fbd 100644 |
||||
--- a/leaptab.txt |
||||
+++ b/leaptab.txt |
||||
@@ -23,3 +23,4 @@ |
||||
2006 Jan. 1 +1 |
||||
2009 Jan. 1 +1 |
||||
2012 Jul. 1 +1 |
||||
+2015 Jul. 1 +1 |
||||
diff --git a/lib/DateTime/LeapSecond.pm b/lib/DateTime/LeapSecond.pm |
||||
index c5bf97c..736f2eb 100644 |
||||
--- a/lib/DateTime/LeapSecond.pm |
||||
+++ b/lib/DateTime/LeapSecond.pm |
||||
@@ -74,9 +74,6 @@ sub day_length { |
||||
|
||||
sub _initialize { |
||||
|
||||
- # this table: ftp://62.161.69.5/pub/tai/publication/leaptab.txt |
||||
- # known accurate until (at least): 2005-12-31 |
||||
- # |
||||
# There are no leap seconds before 1972, because that's the |
||||
# year this system was implemented. |
||||
# |
||||
@@ -109,6 +106,7 @@ sub _initialize { |
||||
2006 Jan. 1 +1 |
||||
2009 Jan. 1 +1 |
||||
2012 Jun. 1 +1 |
||||
+ 2015 Jul. 1 +1 |
||||
) |
||||
); |
||||
} |
||||
diff --git a/t/19leap-second.t b/t/19leap-second.t |
||||
index ecd2598..3d9434c 100644 |
||||
--- a/t/19leap-second.t |
||||
+++ b/t/19leap-second.t |
||||
@@ -1156,6 +1156,7 @@ use DateTime; |
||||
[ 2005, 12, 31 ], |
||||
[ 2008, 12, 31 ], |
||||
[ 2012, 6, 30 ], |
||||
+ [ 2015, 6, 30 ], |
||||
) { |
||||
my $formatted = join '-', map { sprintf( '%02d', $_ ) } @{$date}; |
||||
|
||||
-- |
||||
2.5.5 |
||||
|
@ -0,0 +1,96 @@
@@ -0,0 +1,96 @@
|
||||
From d744bf17b7a0e0158eb813a8605cc0d8635f8959 Mon Sep 17 00:00:00 2001 |
||||
From: Dave Rolsky <autarch@urth.org> |
||||
Date: Sat, 3 May 2014 11:39:47 +0800 |
||||
Subject: [PATCH] Don't leave the object in a modified state after a failed |
||||
truncate( to => 'week' ) |
||||
MIME-Version: 1.0 |
||||
Content-Type: text/plain; charset=UTF-8 |
||||
Content-Transfer-Encoding: 8bit |
||||
|
||||
Petr Pisar: Ported to 1.06. |
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com> |
||||
--- |
||||
lib/DateTime.pm | 11 ++++++++++- |
||||
t/16truncate.t | 38 ++++++++++++++++++++++++++++++++++++++ |
||||
2 files changed, 48 insertions(+), 1 deletion(-) |
||||
|
||||
diff --git a/lib/DateTime.pm b/lib/DateTime.pm |
||||
index 1ff4c2e..a8663b2 100644 |
||||
--- a/lib/DateTime.pm |
||||
+++ b/lib/DateTime.pm |
||||
@@ -1985,7 +1985,16 @@ sub set_formatter { |
||||
$self->add( days => -1 * $day_diff ); |
||||
} |
||||
|
||||
- return $self->truncate( to => 'day' ); |
||||
+ # This can fail if the truncate ends up giving us an invalid local |
||||
+ # date time. If that happens we need to reverse the addition we |
||||
+ # just did. See https://rt.cpan.org/Ticket/Display.html?id=93347. |
||||
+ try { |
||||
+ $self->truncate( to => 'day' ); |
||||
+ } |
||||
+ catch { |
||||
+ $self->add( days => $day_diff ); |
||||
+ die $_; |
||||
+ }; |
||||
} |
||||
else { |
||||
my $truncate; |
||||
diff --git a/t/16truncate.t b/t/16truncate.t |
||||
index 0058f50..a478760 100644 |
||||
--- a/t/16truncate.t |
||||
+++ b/t/16truncate.t |
||||
@@ -5,6 +5,7 @@ use Test::Fatal; |
||||
use Test::More 0.88; |
||||
|
||||
use DateTime; |
||||
+use Try::Tiny; |
||||
|
||||
my %vals = ( |
||||
year => 50, |
||||
@@ -233,4 +234,41 @@ my %vals = ( |
||||
} |
||||
} |
||||
|
||||
+{ |
||||
+ my $dt = DateTime->new( |
||||
+ year => 2010, |
||||
+ month => 3, |
||||
+ day => 25, |
||||
+ hour => 1, |
||||
+ minute => 5, |
||||
+ time_zone => 'Asia/Tehran', |
||||
+ ); |
||||
+ |
||||
+ is( |
||||
+ $dt->day_of_week(), |
||||
+ 4, |
||||
+ 'day of week is Thursday' |
||||
+ ); |
||||
+ |
||||
+ my $error; |
||||
+ try { |
||||
+ $dt->truncate( to => 'week' ); |
||||
+ } |
||||
+ catch { |
||||
+ $error = $_; |
||||
+ }; |
||||
+ |
||||
+ like( |
||||
+ $error, |
||||
+ qr/Invalid local time for date/, |
||||
+ 'truncate operation threw an error because of an invalid local datetime' |
||||
+ ); |
||||
+ |
||||
+ is( |
||||
+ $dt->day_of_week(), |
||||
+ 4, |
||||
+ 'day of week does not change after failed truncate() call' |
||||
+ ); |
||||
+} |
||||
+ |
||||
done_testing(); |
||||
-- |
||||
1.9.0 |
||||
|
@ -0,0 +1,54 @@
@@ -0,0 +1,54 @@
|
||||
From 4100d95d3af754ac17c8d04c5fb76c726c78c3ee Mon Sep 17 00:00:00 2001 |
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> |
||||
Date: Mon, 10 Jul 2017 17:47:47 +0200 |
||||
Subject: [PATCH] Adjust tests to time zone data 2017b |
||||
|
||||
Africa/Kinshasa renamed to Africa/Lagos in upstream 1.74. |
||||
Third Chille time zone America/Punta_Arenas added in upstream 2.10. |
||||
--- |
||||
t/04local.t | 6 +++--- |
||||
t/15catalog.t | 6 +++--- |
||||
2 files changed, 6 insertions(+), 6 deletions(-) |
||||
|
||||
diff --git a/t/04local.t b/t/04local.t |
||||
index 4969f86..53ffabc 100644 |
||||
--- a/t/04local.t |
||||
+++ b/t/04local.t |
||||
@@ -73,12 +73,12 @@ local $ENV{TZ} = undef; |
||||
} |
||||
|
||||
{ |
||||
- local $ENV{TZ} = 'Africa/Kinshasa'; |
||||
+ local $ENV{TZ} = 'Africa/Lagos'; |
||||
|
||||
my $tz = DateTime::TimeZone::Local::Unix->FromEnv(); |
||||
is( |
||||
- $tz->name(), 'Africa/Kinshasa', |
||||
- 'tz object name() is Africa::Kinshasa' |
||||
+ $tz->name(), 'Africa/Lagos', |
||||
+ 'tz object name() is Africa::Lagos' |
||||
); |
||||
|
||||
local $ENV{TZ} = 0; |
||||
diff --git a/t/15catalog.t b/t/15catalog.t |
||||
index 2246253..0102898 100644 |
||||
--- a/t/15catalog.t |
||||
+++ b/t/15catalog.t |
||||
@@ -97,11 +97,11 @@ use DateTime::TimeZone; |
||||
|
||||
{ |
||||
my @zones = DateTime::TimeZone->names_in_country('cl'); |
||||
- is( @zones, 2, 'two zones for Chile' ); |
||||
+ is( @zones, 3, 'two zones for Chile' ); |
||||
is_deeply( |
||||
[ sort @zones ], |
||||
- [ 'America/Santiago', 'Pacific/Easter' ], |
||||
- 'zones for Chile are America/Santiago and Pacific/Easter' |
||||
+ [ 'America/Punta_Arenas', 'America/Santiago', 'Pacific/Easter' ], |
||||
+ 'zones for Chile are America/Punta_Arenas, America/Santiago, and Pacific/Easter' |
||||
); |
||||
} |
||||
|
||||
-- |
||||
1.8.3.1 |
||||
|
@ -0,0 +1,54 @@
@@ -0,0 +1,54 @@
|
||||
From 5650e9d07940825507e65ae71d30c4579ffea353 Mon Sep 17 00:00:00 2001 |
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> |
||||
Date: Mon, 10 Jul 2017 15:12:17 +0200 |
||||
Subject: [PATCH] Inject DT::TZ version when generating modules |
||||
|
||||
This is implemented with new parse_olson --dtdzversion option. |
||||
--- |
||||
tools/parse_olson | 9 ++++++++- |
||||
1 file changed, 8 insertions(+), 1 deletion(-) |
||||
|
||||
diff --git a/tools/parse_olson b/tools/parse_olson |
||||
index c948de8..ff9c1f6 100755 |
||||
--- a/tools/parse_olson |
||||
+++ b/tools/parse_olson |
||||
@@ -32,6 +32,7 @@ GetOptions( |
||||
'dir:s' => \$opts{dir}, |
||||
'clean' => \$opts{clean}, |
||||
'version:s' => \$opts{version}, |
||||
+ 'dttzversion:s' => \$opts{dttzversion}, |
||||
'old' => \$opts{old}, |
||||
'file:s' => \$opts{file}, |
||||
'name:s' => \$opts{name}, |
||||
@@ -47,6 +48,8 @@ $opts{help} = 1 |
||||
|
||||
$opts{version} ||= 'test'; |
||||
|
||||
+$opts{dttversion} ||= '0'; |
||||
+ |
||||
if ( $opts{help} ) { |
||||
print <<'EOF'; |
||||
|
||||
@@ -65,6 +68,10 @@ It takes the following arguments: |
||||
--version The version of the Olson data files being used. |
||||
Required unless one of the debugging options is given. |
||||
|
||||
+ --dttzversion |
||||
+ The version of the DateTime-TimeZone distribution to inject into |
||||
+ each generated module as its version. Default is 0. |
||||
+ |
||||
--clean Remove old generated modules (which may not be valid with |
||||
the latest Olson database) |
||||
|
||||
@@ -208,7 +215,7 @@ $autogen_warning |
||||
# Do not edit this file directly. |
||||
# |
||||
$pkg_keyword DateTime::TimeZone::$mod_name; |
||||
- |
||||
+\$DateTime::TimeZone::${mod_name}::VERSION = '$opts{dttzversion}'; |
||||
use strict; |
||||
|
||||
use Class::Singleton 1.03; |
||||
-- |
||||
1.8.3.1 |
||||
|
@ -0,0 +1,35 @@
@@ -0,0 +1,35 @@
|
||||
From 4241f291ff4d9779896464b51727e84d38cb2c1c Mon Sep 17 00:00:00 2001 |
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> |
||||
Date: Thu, 17 Jan 2019 08:11:43 +0100 |
||||
Subject: [PATCH] Recognize 25:00 time |
||||
MIME-Version: 1.0 |
||||
Content-Type: text/plain; charset=UTF-8 |
||||
Content-Transfer-Encoding: 8bit |
||||
|
||||
2018f changed format and some time zones like Asia/Tokyo use 25:00 |
||||
value for AT attribute. A conversion script from |
||||
DateTime-TimeZones-2.20 added support for this syntax. |
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com> |
||||
--- |
||||
lib/DateTime/TimeZone/OlsonDB.pm | 4 ++-- |
||||
1 file changed, 2 insertions(+), 2 deletions(-) |
||||
|
||||
diff --git a/lib/DateTime/TimeZone/OlsonDB.pm b/lib/DateTime/TimeZone/OlsonDB.pm |
||||
index 1ea6a5a..24fc83c 100644 |
||||
--- a/lib/DateTime/TimeZone/OlsonDB.pm |
||||
+++ b/lib/DateTime/TimeZone/OlsonDB.pm |
||||
@@ -253,8 +253,8 @@ sub utc_datetime_for_time_spec { |
||||
$second = 0 unless defined $second; |
||||
|
||||
my $add_day = 0; |
||||
- if ( $hour == 24 ) { |
||||
- $hour = 0; |
||||
+ if ( $hour >= 24 ) { |
||||
+ $hour = $hour - 24; |
||||
$add_day = 1; |
||||
} |
||||
|
||||
-- |
||||
2.17.2 |
||||
|
@ -0,0 +1,41 @@
@@ -0,0 +1,41 @@
|
||||
From cbca7770b9ead257b43f073b09abea3bd400ac0e Mon Sep 17 00:00:00 2001 |
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> |
||||
Date: Tue, 11 Jul 2017 14:09:46 +0200 |
||||
Subject: [PATCH] Recognize short zone names starting with a sign |
||||
|
||||
Since tzdata 2017a, Africa/Accra uses GMT/+0020 short names and the conversion |
||||
script from DateTime-TimeZones-1.96 adds support for this syntax. |
||||
--- |
||||
lib/DateTime/TimeZone/OlsonDB/Change.pm | 2 +- |
||||
tools/tests_from_zdump | 2 +- |
||||
2 files changed, 2 insertions(+), 2 deletions(-) |
||||
|
||||
diff --git a/lib/DateTime/TimeZone/OlsonDB/Change.pm b/lib/DateTime/TimeZone/OlsonDB/Change.pm |
||||
index 5bebbfa..b312f97 100644 |
||||
--- a/lib/DateTime/TimeZone/OlsonDB/Change.pm |
||||
+++ b/lib/DateTime/TimeZone/OlsonDB/Change.pm |
||||
@@ -43,7 +43,7 @@ sub new { |
||||
$p{is_dst} = 1 if $p{rule} && $p{rule}->offset_from_std; |
||||
$p{is_dst} = 1 if $p{observance}->offset_from_std; |
||||
|
||||
- if ( $p{short_name} =~ m{(\w+)/(\w+)} ) { |
||||
+ if ( $p{short_name} =~ m{([\-\+\w]+)/([\-\+\w]+)} ) { |
||||
$p{short_name} = $p{is_dst} ? $2 : $1; |
||||
} |
||||
|
||||
diff --git a/tools/tests_from_zdump b/tools/tests_from_zdump |
||||
index b013b7c..03465ee 100755 |
||||
--- a/tools/tests_from_zdump |
||||
+++ b/tools/tests_from_zdump |
||||
@@ -147,7 +147,7 @@ sub make_test_file { |
||||
\s+ |
||||
(\d\d\d\d) # local year |
||||
\s+ |
||||
- (\w+) # local short name |
||||
+ ([\-\+\w]+) # local short name |
||||
\s+ |
||||
isdst=(1|0) |
||||
\s+ |
||||
-- |
||||
1.8.3.1 |
||||
|
@ -0,0 +1,25 @@
@@ -0,0 +1,25 @@
|
||||
From 539066aad4edeb1cacc0ec9e0cc52caa8311a84c Mon Sep 17 00:00:00 2001 |
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> |
||||
Date: Mon, 10 Jul 2017 14:32:38 +0200 |
||||
Subject: [PATCH] Use List::Util::max directly instead of List::AllUtils::max |
||||
|
||||
--- |
||||
tools/parse_olson | 2 +- |
||||
1 file changed, 1 insertion(+), 1 deletion(-) |
||||
|
||||
diff --git a/tools/parse_olson b/tools/parse_olson |
||||
index f9597ed..c948de8 100755 |
||||
--- a/tools/parse_olson |
||||
+++ b/tools/parse_olson |
||||
@@ -16,7 +16,7 @@ use File::Find::Rule; |
||||
use File::Path; |
||||
use File::Spec; |
||||
use Getopt::Long; |
||||
-use List::AllUtils qw( max ); |
||||
+use List::Util qw( max ); |
||||
use Locale::Country 3.11 qw( code2country ); |
||||
|
||||
$Data::Dumper::Indent = 1; |
||||
-- |
||||
1.8.3.1 |
||||
|
@ -0,0 +1,168 @@
@@ -0,0 +1,168 @@
|
||||
diff -up Module-Implementation-0.05/t/basic.t.orig Module-Implementation-0.05/t/basic.t |
||||
--- Module-Implementation-0.05/t/basic.t.orig 2012-02-09 14:49:29.000000000 +0000 |
||||
+++ Module-Implementation-0.05/t/basic.t 2012-02-10 10:53:07.453271294 +0000 |
||||
@@ -1,7 +1,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
|
||||
-use Test::More 0.88; |
||||
+use Test::More tests => 5; |
||||
|
||||
{ |
||||
package T; |
||||
@@ -33,5 +33,3 @@ use Test::More 0.88; |
||||
'T::_implementation returns default implementation' |
||||
); |
||||
} |
||||
- |
||||
-done_testing(); |
||||
diff -up Module-Implementation-0.05/t/both-fail.t.orig Module-Implementation-0.05/t/both-fail.t |
||||
--- Module-Implementation-0.05/t/both-fail.t.orig 2012-02-09 14:49:29.000000000 +0000 |
||||
+++ Module-Implementation-0.05/t/both-fail.t 2012-02-10 10:53:07.461271306 +0000 |
||||
@@ -1,7 +1,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
|
||||
-use Test::More 0.88; |
||||
+use Test::More tests => 1; |
||||
use Test::Fatal; |
||||
|
||||
{ |
||||
@@ -24,5 +24,3 @@ use Test::Fatal; |
||||
'Got an exception when all implementations fail to load' |
||||
); |
||||
} |
||||
- |
||||
-done_testing(); |
||||
diff -up Module-Implementation-0.05/t/env-value.t.orig Module-Implementation-0.05/t/env-value.t |
||||
--- Module-Implementation-0.05/t/env-value.t.orig 2012-02-09 14:49:29.000000000 +0000 |
||||
+++ Module-Implementation-0.05/t/env-value.t 2012-02-10 10:53:07.462271308 +0000 |
||||
@@ -1,7 +1,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
|
||||
-use Test::More 0.88; |
||||
+use Test::More tests => 4; |
||||
|
||||
{ |
||||
package T; |
||||
@@ -35,5 +35,3 @@ use Test::More 0.88; |
||||
'T::_implementation returns implementation set in ENV' |
||||
); |
||||
} |
||||
- |
||||
-done_testing(); |
||||
diff -up Module-Implementation-0.05/t/more-symbols.t.orig Module-Implementation-0.05/t/more-symbols.t |
||||
--- Module-Implementation-0.05/t/more-symbols.t.orig 2012-02-09 14:49:29.000000000 +0000 |
||||
+++ Module-Implementation-0.05/t/more-symbols.t 2012-02-10 10:53:07.462271308 +0000 |
||||
@@ -1,7 +1,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
|
||||
-use Test::More 0.88; |
||||
+use Test::More tests => 7; |
||||
|
||||
{ |
||||
package T; |
||||
@@ -43,5 +43,3 @@ use Test::More 0.88; |
||||
'%T::HASH was copied from implementation' |
||||
); |
||||
} |
||||
- |
||||
-done_testing(); |
||||
diff -up Module-Implementation-0.05/t/one-impl-fails1.t.orig Module-Implementation-0.05/t/one-impl-fails1.t |
||||
--- Module-Implementation-0.05/t/one-impl-fails1.t.orig 2012-02-09 14:49:29.000000000 +0000 |
||||
+++ Module-Implementation-0.05/t/one-impl-fails1.t 2012-02-10 10:53:07.462271308 +0000 |
||||
@@ -1,7 +1,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
|
||||
-use Test::More 0.88; |
||||
+use Test::More tests => 2; |
||||
|
||||
{ |
||||
package T; |
||||
@@ -24,5 +24,3 @@ use Test::More 0.88; |
||||
ok( T->can('return_42'), 'T package has a return_42 sub' ); |
||||
ok( !T->can('return_package'), 'T package has a return_package sub' ); |
||||
} |
||||
- |
||||
-done_testing(); |
||||
diff -up Module-Implementation-0.05/t/one-impl-fails2.t.orig Module-Implementation-0.05/t/one-impl-fails2.t |
||||
--- Module-Implementation-0.05/t/one-impl-fails2.t.orig 2012-02-09 14:49:29.000000000 +0000 |
||||
+++ Module-Implementation-0.05/t/one-impl-fails2.t 2012-02-10 10:53:07.463271310 +0000 |
||||
@@ -1,7 +1,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
|
||||
-use Test::More 0.88; |
||||
+use Test::More tests => 2; |
||||
|
||||
{ |
||||
package T; |
||||
@@ -24,5 +24,3 @@ use Test::More 0.88; |
||||
ok( T->can('return_42'), 'T package has a return_42 sub' ); |
||||
ok( !T->can('return_package'), 'T package has a return_package sub' ); |
||||
} |
||||
- |
||||
-done_testing(); |
||||
diff -up Module-Implementation-0.05/t/release-cpan-changes.t.orig Module-Implementation-0.05/t/release-cpan-changes.t |
||||
--- Module-Implementation-0.05/t/release-cpan-changes.t.orig 2012-02-09 14:49:29.000000000 +0000 |
||||
+++ Module-Implementation-0.05/t/release-cpan-changes.t 2012-02-10 10:53:07.463271310 +0000 |
||||
@@ -1,15 +1,11 @@ |
||||
#!perl |
||||
|
||||
+use Test::More; |
||||
+ |
||||
BEGIN { |
||||
- unless ($ENV{RELEASE_TESTING}) { |
||||
- require Test::More; |
||||
- Test::More::plan(skip_all => 'these tests are for release candidate testing'); |
||||
- } |
||||
+ plan skip_all => 'these tests are for release candidate testing' unless ($ENV{RELEASE_TESTING}); |
||||
+ eval 'use Test::CPAN::Changes'; |
||||
+ plan skip_all => 'Test::CPAN::Changes required for this test' if $@; |
||||
} |
||||
|
||||
- |
||||
-use Test::More; |
||||
-eval 'use Test::CPAN::Changes'; |
||||
-plan skip_all => 'Test::CPAN::Changes required for this test' if $@; |
||||
changes_ok(); |
||||
-done_testing(); |
||||
diff -up Module-Implementation-0.05/t/requested-fails.t.orig Module-Implementation-0.05/t/requested-fails.t |
||||
--- Module-Implementation-0.05/t/requested-fails.t.orig 2012-02-09 14:49:29.000000000 +0000 |
||||
+++ Module-Implementation-0.05/t/requested-fails.t 2012-02-10 10:53:07.463271310 +0000 |
||||
@@ -1,7 +1,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
|
||||
-use Test::More 0.88; |
||||
+use Test::More tests => 1; |
||||
use Test::Fatal; |
||||
|
||||
{ |
||||
@@ -26,5 +26,3 @@ use Test::Fatal; |
||||
'Got an exception when implementation requested in env value fails to load' |
||||
); |
||||
} |
||||
- |
||||
-done_testing(); |
||||
diff -up Module-Implementation-0.05/t/taint.t.orig Module-Implementation-0.05/t/taint.t |
||||
--- Module-Implementation-0.05/t/taint.t.orig 2012-02-09 14:49:29.000000000 +0000 |
||||
+++ Module-Implementation-0.05/t/taint.t 2012-02-10 10:53:42.164322515 +0000 |
||||
@@ -7,7 +7,7 @@ use Test::Requires { |
||||
'Test::Taint' => '0', |
||||
}; |
||||
|
||||
-use Test::More 0.88; |
||||
+use Test::More tests => 3; |
||||
use Test::Fatal; |
||||
|
||||
taint_checking_ok(); |
||||
@@ -42,5 +42,3 @@ taint_checking_ok(); |
||||
'T::_implementation returns implementation set in ENV' |
||||
); |
||||
} |
||||
- |
||||
-done_testing(); |
@ -0,0 +1,60 @@
@@ -0,0 +1,60 @@
|
||||
--- t/basic.t |
||||
+++ t/basic.t |
||||
@@ -2,12 +2,14 @@ use strict; |
||||
use warnings; |
||||
|
||||
use Test::Fatal; |
||||
-use Test::More 0.88; |
||||
+use Test::More; |
||||
|
||||
use Test::Requires { |
||||
'Test::Output' => '0.16', |
||||
}; |
||||
|
||||
+plan tests => 25; |
||||
+ |
||||
{ |
||||
like( |
||||
exception { |
||||
@@ -218,5 +220,3 @@ use Test::Requires { |
||||
q{}, |
||||
'no deprecation warning for second call to My::Package1::foo()'; |
||||
} |
||||
- |
||||
-done_testing(); |
||||
--- t/compile.t |
||||
+++ t/compile.t |
||||
@@ -1,9 +1,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
|
||||
-use Test::More 0.88; |
||||
+use Test::More tests => 1; |
||||
|
||||
eval "require Package::DeprecationManager"; |
||||
ok( ! $@, 'no errors loading require Package::DeprecationManager' ); |
||||
- |
||||
-done_testing(); |
||||
--- t/release-cpan-changes.t |
||||
+++ t/release-cpan-changes.t |
||||
@@ -1,15 +1,11 @@ |
||||
#!perl |
||||
|
||||
+use Test::More; |
||||
+ |
||||
BEGIN { |
||||
- unless ($ENV{RELEASE_TESTING}) { |
||||
- require Test::More; |
||||
- Test::More::plan(skip_all => 'these tests are for release candidate testing'); |
||||
- } |
||||
+ plan skip_all => 'these tests are for release candidate testing' unless ($ENV{RELEASE_TESTING}); |
||||
+ eval 'use Test::CPAN::Changes'; |
||||
+ plan skip_all => 'Test::CPAN::Changes required for this test' if $@; |
||||
} |
||||
|
||||
- |
||||
-use Test::More; |
||||
-eval 'use Test::CPAN::Changes'; |
||||
-plan skip_all => 'Test::CPAN::Changes required for this test' if $@; |
||||
changes_ok(); |
||||
-done_testing(); |
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
--- t/release-pod-spell.t |
||||
+++ t/release-pod-spell.t |
||||
@@ -31,3 +31,4 @@ |
||||
PayPal |
||||
Rolsky |
||||
api |
||||
+deprecations |
@ -0,0 +1,509 @@
@@ -0,0 +1,509 @@
|
||||
diff -up ./t/addsub.t.orig ./t/addsub.t |
||||
--- ./t/addsub.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/addsub.t 2013-01-06 21:34:11.930954402 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 7; |
||||
use Test::Fatal; |
||||
|
||||
BEGIN { $^P |= 0x210 } # PERLDBf_SUBLINE |
||||
@@ -42,5 +42,3 @@ $foo_stash->add_symbol( |
||||
|
||||
is $DB::sub{'Foo::dunk'}, sprintf "%s:%d-%d", "FileName", 100, 199, |
||||
'... got the right %DB::sub value for dunk with specified args'; |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/anon-basic.t.orig ./t/anon-basic.t |
||||
--- ./t/anon-basic.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/anon-basic.t 2013-01-06 21:34:11.947954406 +0000 |
||||
@@ -13,6 +13,8 @@ plan skip_all => "Anonymous stashes in P |
||||
if $] < 5.014 |
||||
&& $Package::Stash::IMPLEMENTATION eq 'PP'; |
||||
|
||||
+plan tests => 10; |
||||
+ |
||||
my $Foo = Package::Anon->new('Foo'); |
||||
$Foo->{SOME_CONSTANT} = \1; |
||||
|
||||
@@ -399,5 +401,3 @@ $Quuux->{quuuux} = -1; |
||||
|
||||
is_deeply([Package::Stash->new('Quuux')->list_all_symbols], [], |
||||
"Quuux:: isn't touched"); |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/anon.t.orig ./t/anon.t |
||||
--- ./t/anon.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/anon.t 2013-01-06 21:34:11.948954407 +0000 |
||||
@@ -14,6 +14,8 @@ plan skip_all => "Anonymous stashes in P |
||||
if $] < 5.014 |
||||
&& $Package::Stash::IMPLEMENTATION eq 'PP'; |
||||
|
||||
+plan tests => 7; |
||||
+ |
||||
my $anon = Package::Anon->new; |
||||
my $stash = Package::Stash->new($anon); |
||||
my $obj = $anon->bless({}); |
||||
@@ -45,5 +47,3 @@ my $obj = $anon->bless({}); |
||||
qr/Undefined subroutine \&__ANON__::baz called/ |
||||
); |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/bare-anon-basic.t.orig ./t/bare-anon-basic.t |
||||
--- ./t/bare-anon-basic.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/bare-anon-basic.t 2013-01-06 21:34:11.948954407 +0000 |
||||
@@ -14,6 +14,8 @@ plan skip_all => "Anonymous stashes in P |
||||
|
||||
plan skip_all => "This isn't really going to work yet, probably"; |
||||
|
||||
+plan tests => 10; |
||||
+ |
||||
my $Foo = {}; |
||||
$Foo->{SOME_CONSTANT} = \1; |
||||
|
||||
@@ -393,5 +395,3 @@ $Quuux->{quuuux} = -1; |
||||
|
||||
is_deeply([Package::Stash->new('Quuux')->list_all_symbols], [], |
||||
"Quuux:: isn't touched"); |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/bare-anon.t.orig ./t/bare-anon.t |
||||
--- ./t/bare-anon.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/bare-anon.t 2013-01-06 21:34:11.948954407 +0000 |
||||
@@ -14,6 +14,8 @@ plan skip_all => "Anonymous stashes in P |
||||
|
||||
plan skip_all => "This isn't really going to work yet, probably"; |
||||
|
||||
+plan tests => 10; |
||||
+ |
||||
my $anon = {}; |
||||
my $stash = Package::Stash->new($anon); |
||||
# no way to bless something into a hashref yet |
||||
@@ -58,5 +60,3 @@ my $stash = Package::Stash->new($anon); |
||||
undef |
||||
); |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/basic.t.orig ./t/basic.t |
||||
--- ./t/basic.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/basic.t 2013-01-06 21:34:11.949954407 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 131; |
||||
use Test::Fatal; |
||||
|
||||
use Package::Stash; |
||||
@@ -444,5 +444,3 @@ like( |
||||
qr/^Package::Stash->new must be passed the name of the package to access/, |
||||
"module name must be a string" |
||||
); |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/compile-time.t.orig ./t/compile-time.t |
||||
--- ./t/compile-time.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/compile-time.t 2013-01-06 21:34:11.949954407 +0000 |
||||
@@ -2,8 +2,6 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 1; |
||||
|
||||
use_ok('CompileTime'); |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/edge-cases.t.orig ./t/edge-cases.t |
||||
--- ./t/edge-cases.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/edge-cases.t 2013-01-06 21:34:11.949954407 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 19; |
||||
use Test::Fatal; |
||||
|
||||
use Package::Stash; |
||||
@@ -109,5 +109,3 @@ SKIP: { |
||||
my $stash = Package::Stash->new('HasISA'); |
||||
is_deeply([$stash->list_all_symbols('SCALAR')], []); |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/extension.t.orig ./t/extension.t |
||||
--- ./t/extension.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/extension.t 2013-01-06 21:34:11.950954407 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 15; |
||||
use Test::Fatal; |
||||
|
||||
{ |
||||
@@ -72,5 +72,3 @@ is(exception { |
||||
}, undef, '... created %Foo::baz successfully'); |
||||
|
||||
ok(!defined($Foo::{baz}), '... the %baz slot has still not been created'); |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/get.t.orig ./t/get.t |
||||
--- ./t/get.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/get.t 2013-01-06 21:34:11.950954407 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 36; |
||||
|
||||
use Package::Stash; |
||||
use Scalar::Util; |
||||
@@ -182,5 +182,3 @@ use Scalar::Util; |
||||
"stash has the right variable"); |
||||
} |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/impl-selection/basic-pp.t.orig ./t/impl-selection/basic-pp.t |
||||
--- ./t/impl-selection/basic-pp.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/impl-selection/basic-pp.t 2013-01-06 21:34:11.950954407 +0000 |
||||
@@ -1,7 +1,7 @@ |
||||
#!/usr/bin/env perl |
||||
use strict; |
||||
use warnings; |
||||
-use Test::More; |
||||
+use Test::More tests => 133; |
||||
use Test::Fatal; |
||||
|
||||
BEGIN { $Package::Stash::IMPLEMENTATION = 'PP' } |
||||
@@ -448,5 +448,3 @@ like( |
||||
qr/^Package::Stash->new must be passed the name of the package to access/, |
||||
"module name must be a string" |
||||
); |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/impl-selection/basic-xs.t.orig ./t/impl-selection/basic-xs.t |
||||
--- ./t/impl-selection/basic-xs.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/impl-selection/basic-xs.t 2013-01-06 21:34:11.951954407 +0000 |
||||
@@ -1,7 +1,7 @@ |
||||
#!/usr/bin/env perl |
||||
use strict; |
||||
use warnings; |
||||
-use Test::More; |
||||
+use Test::More tests => 133; |
||||
use Test::Fatal; |
||||
use Test::Requires 'Package::Stash::XS'; |
||||
|
||||
@@ -449,5 +449,3 @@ like( |
||||
qr/^Package::Stash->new must be passed the name of the package to access/, |
||||
"module name must be a string" |
||||
); |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/impl-selection/bug-rt-78272.t.orig ./t/impl-selection/bug-rt-78272.t |
||||
--- ./t/impl-selection/bug-rt-78272.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/impl-selection/bug-rt-78272.t 2013-01-06 21:36:22.471987526 +0000 |
||||
@@ -1,7 +1,7 @@ |
||||
#!/usr/bin/env perl |
||||
use strict; |
||||
use warnings; |
||||
-use Test::More; |
||||
+use Test::More tests => 2; |
||||
use Test::Fatal; |
||||
|
||||
# https://rt.cpan.org/Public/Bug/Display.html?id=78272 |
||||
@@ -22,18 +22,3 @@ like( |
||||
'Sanity check: forcing package reload throws the exception again' |
||||
); |
||||
|
||||
-is( |
||||
- exception { |
||||
- $ENV{PACKAGE_STASH_IMPLEMENTATION} = "PP"; |
||||
- delete $INC{'Package/Stash.pm'}; |
||||
- require Package::Stash; |
||||
- new_ok( |
||||
- 'Package::Stash' => ['Foo'], |
||||
- 'Loaded and able to create instances' |
||||
- ); |
||||
- }, |
||||
- undef, |
||||
- 'Valid $ENV value loads correctly' |
||||
-); |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/impl-selection/choice.t.orig ./t/impl-selection/choice.t |
||||
--- ./t/impl-selection/choice.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/impl-selection/choice.t 2013-01-06 21:34:11.951954407 +0000 |
||||
@@ -1,7 +1,7 @@ |
||||
#!/usr/bin/env perl |
||||
use strict; |
||||
use warnings; |
||||
-use Test::More; |
||||
+use Test::More tests => 2; |
||||
|
||||
my $has_xs = eval "require Package::Stash::XS; 1"; |
||||
|
||||
@@ -13,5 +13,3 @@ my $expected = $has_xs ? 'XS' : 'PP'; |
||||
is($Package::Stash::IMPLEMENTATION, $expected, |
||||
"autodetected properly: $expected"); |
||||
can_ok('Package::Stash', 'new'); |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/impl-selection/env.t.orig ./t/impl-selection/env.t |
||||
--- ./t/impl-selection/env.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/impl-selection/env.t 2013-01-06 21:34:11.952954407 +0000 |
||||
@@ -1,7 +1,7 @@ |
||||
#!/usr/bin/env perl |
||||
use strict; |
||||
use warnings; |
||||
-use Test::More; |
||||
+use Test::More tests => 6; |
||||
|
||||
# XXX: work around dumb core segfault bug when you delete stashes |
||||
sub get_impl { eval '$Package::Stash::IMPLEMENTATION' } |
||||
@@ -35,5 +35,3 @@ SKIP: { |
||||
is(get_impl, 'PP', '$ENV takes precedence over $Package::Stash::IMPLEMENTATION'); |
||||
can_ok('Package::Stash', 'new'); |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/impl-selection/var.t.orig ./t/impl-selection/var.t |
||||
--- ./t/impl-selection/var.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/impl-selection/var.t 2013-01-06 21:34:11.952954407 +0000 |
||||
@@ -1,7 +1,7 @@ |
||||
#!/usr/bin/env perl |
||||
use strict; |
||||
use warnings; |
||||
-use Test::More; |
||||
+use Test::More tests => 4; |
||||
|
||||
# XXX: work around dumb core segfault bug when you delete stashes |
||||
sub get_impl { eval '$Package::Stash::IMPLEMENTATION' } |
||||
@@ -25,5 +25,3 @@ SKIP: { |
||||
is(get_impl, 'XS', "autodetected properly: XS"); |
||||
can_ok('Package::Stash', 'new'); |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/io.t.orig ./t/io.t |
||||
--- ./t/io.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/io.t 2013-01-06 21:34:11.952954407 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 11; |
||||
use Test::Fatal; |
||||
|
||||
{ |
||||
@@ -47,5 +47,3 @@ use Package::Stash; |
||||
ok($stash->has_symbol('baz'), "has baz"); |
||||
is($stash->get_symbol('baz'), *Foo::foo{IO}, "got the right baz"); |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/isa.t.orig ./t/isa.t |
||||
--- ./t/isa.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/isa.t 2013-01-06 21:34:11.953954407 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 8; |
||||
|
||||
use Package::Stash; |
||||
|
||||
@@ -19,7 +19,10 @@ use Package::Stash; |
||||
my $stash = Package::Stash->new('Foo'); |
||||
my @ISA = ('Bar'); |
||||
@{$stash->get_or_add_symbol('@ISA')} = @ISA; |
||||
+ SKIP: { |
||||
+ skip "Test::More >= 0.88 needed for isa_ok() tests on classes", 1 if $Test::More::VERSION < 0.88; |
||||
isa_ok('Foo', 'Bar'); |
||||
+ } |
||||
isa_ok(bless({}, 'Foo'), 'Bar'); |
||||
} |
||||
|
||||
@@ -33,17 +36,21 @@ use Package::Stash; |
||||
{ |
||||
my $isa = $stash->get_or_add_symbol('@ISA'); |
||||
@$isa = ('Baz'); |
||||
+ SKIP: { |
||||
+ skip "Test::More >= 0.88 needed for isa_ok() tests on classes", 1 if $Test::More::VERSION < 0.88; |
||||
isa_ok('Quux', 'Baz'); |
||||
+ } |
||||
isa_ok(bless({}, 'Quux'), 'Baz'); |
||||
ok(Quux->can('foo')); |
||||
} |
||||
{ |
||||
my $isa = $stash->get_or_add_symbol('@ISA'); |
||||
@$isa = ('Bar'); |
||||
+ SKIP: { |
||||
+ skip "Test::More >= 0.88 needed for isa_ok() tests on classes", 1 if $Test::More::VERSION < 0.88; |
||||
isa_ok('Quux', 'Bar'); |
||||
+ } |
||||
isa_ok(bless({}, 'Quux'), 'Bar'); |
||||
ok(Quux->can('bar')); |
||||
} |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/magic.t.orig ./t/magic.t |
||||
--- ./t/magic.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/magic.t 2013-01-06 21:34:11.953954407 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 4; |
||||
|
||||
use Package::Stash; |
||||
|
||||
@@ -28,5 +28,3 @@ use Package::Stash; |
||||
my @foo = qw(a b c); |
||||
is(eval q["@foo"], 'a-b-c'); |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/paamayim_nekdotayim.t.orig ./t/paamayim_nekdotayim.t |
||||
--- ./t/paamayim_nekdotayim.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/paamayim_nekdotayim.t 2013-01-06 21:34:11.953954407 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 3; |
||||
use Test::Fatal; |
||||
|
||||
use Package::Stash; |
||||
@@ -24,5 +24,3 @@ like( |
||||
qr/^Variable names may not contain ::/, |
||||
"can't add symbol with ::" |
||||
); |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/scalar-values.t.orig ./t/scalar-values.t |
||||
--- ./t/scalar-values.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/scalar-values.t 2013-01-06 21:34:11.953954407 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 14; |
||||
use Test::Fatal; |
||||
|
||||
use B; |
||||
@@ -49,5 +49,3 @@ my $vstring = v1.2.3; |
||||
is(reftype(\$vstring), ($] < 5.010 ? 'SCALAR' : 'VSTRING')); |
||||
is(exception { $Bar->add_symbol('$vstring', \$vstring) }, undef, |
||||
"can add vstring values"); |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/stash-deletion.t.orig ./t/stash-deletion.t |
||||
--- ./t/stash-deletion.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/stash-deletion.t 2013-01-06 21:34:11.954954407 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 2; |
||||
|
||||
use Package::Stash; |
||||
|
||||
@@ -20,5 +20,3 @@ use Package::Stash; |
||||
} |
||||
ok(!$delete->has_symbol('&bar'), "method goes away when stash is deleted"); |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up ./t/synopsis.t.orig ./t/synopsis.t |
||||
--- ./t/synopsis.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./t/synopsis.t 2013-01-06 21:34:11.954954407 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 3; |
||||
|
||||
use Package::Stash; |
||||
|
||||
@@ -15,5 +15,3 @@ $stash->add_symbol('%foo', {bar => 1}); |
||||
ok(!$stash->has_symbol('$foo'), "doesn't have anything in scalar slot"); |
||||
my $namespace = $stash->namespace; |
||||
is_deeply(*{ $namespace->{foo} }{HASH}, {bar => 1}, "namespace works properly"); |
||||
- |
||||
-done_testing; |
||||
diff -up ./xt/author/leaks-debug.t.orig ./xt/author/leaks-debug.t |
||||
--- ./xt/author/leaks-debug.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./xt/author/leaks-debug.t 2013-01-06 21:34:11.954954407 +0000 |
||||
@@ -6,6 +6,8 @@ use Test::More; |
||||
use Test::Fatal; |
||||
use Test::LeakTrace; |
||||
|
||||
+plan tests => 45; |
||||
+ |
||||
BEGIN { $^P |= 0x210 } # PERLDBf_SUBLINE |
||||
|
||||
use Package::Stash; |
||||
@@ -176,7 +178,10 @@ use Symbol; |
||||
ok($foo->has_symbol('@ISA')); |
||||
is(ref($foo->get_symbol('@ISA')), 'ARRAY'); |
||||
is_deeply($foo->get_symbol('@ISA'), ['Exporter']); |
||||
+ SKIP: { |
||||
+ skip "Test::More >= 0.88 needed for isa_ok() tests on classes", 1 if $Test::More::VERSION < 0.88; |
||||
isa_ok('Foo', 'Exporter'); |
||||
+ } |
||||
} |
||||
|
||||
{ |
||||
@@ -226,5 +231,3 @@ use Symbol; |
||||
eval { $foo->add_symbol('&blorg') }; |
||||
} "doesn't leak on errors"; |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up ./xt/author/leaks.t.orig ./xt/author/leaks.t |
||||
--- ./xt/author/leaks.t.orig 2013-01-04 09:39:44.000000000 +0000 |
||||
+++ ./xt/author/leaks.t 2013-01-06 21:34:11.955954408 +0000 |
||||
@@ -6,6 +6,8 @@ use Test::More; |
||||
use Test::Fatal; |
||||
use Test::LeakTrace; |
||||
|
||||
+plan tests => 45; |
||||
+ |
||||
use Package::Stash; |
||||
use Symbol; |
||||
|
||||
@@ -174,7 +176,10 @@ use Symbol; |
||||
ok($foo->has_symbol('@ISA')); |
||||
is(ref($foo->get_symbol('@ISA')), 'ARRAY'); |
||||
is_deeply($foo->get_symbol('@ISA'), ['Exporter']); |
||||
+ SKIP: { |
||||
+ skip "Test::More >= 0.88 needed for isa_ok() tests on classes", 1 if $Test::More::VERSION < 0.88; |
||||
isa_ok('Foo', 'Exporter'); |
||||
+ } |
||||
} |
||||
|
||||
{ |
||||
@@ -224,5 +229,3 @@ use Symbol; |
||||
eval { $foo->add_symbol('&blorg') }; |
||||
} "doesn't leak on errors"; |
||||
} |
||||
- |
||||
-done_testing; |
@ -0,0 +1,370 @@
@@ -0,0 +1,370 @@
|
||||
diff -up Package-Stash-XS-0.26/t/addsub.t.orig Package-Stash-XS-0.26/t/addsub.t |
||||
--- Package-Stash-XS-0.26/t/addsub.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/t/addsub.t 2013-01-04 16:30:55.549017078 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 7; |
||||
use Test::Fatal; |
||||
|
||||
BEGIN { $^P |= 0x210 } # PERLDBf_SUBLINE |
||||
@@ -42,5 +42,3 @@ $foo_stash->add_symbol( |
||||
|
||||
is $DB::sub{'Foo::dunk'}, sprintf "%s:%d-%d", "FileName", 100, 199, |
||||
'... got the right %DB::sub value for dunk with specified args'; |
||||
- |
||||
-done_testing; |
||||
diff -up Package-Stash-XS-0.26/t/anon-basic.t.orig Package-Stash-XS-0.26/t/anon-basic.t |
||||
--- Package-Stash-XS-0.26/t/anon-basic.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/t/anon-basic.t 2013-01-04 16:31:36.336943621 +0000 |
||||
@@ -399,5 +399,3 @@ $Quuux->{quuuux} = -1; |
||||
|
||||
is_deeply([Package::Stash->new('Quuux')->list_all_symbols], [], |
||||
"Quuux:: isn't touched"); |
||||
- |
||||
-done_testing; |
||||
diff -up Package-Stash-XS-0.26/t/anon.t.orig Package-Stash-XS-0.26/t/anon.t |
||||
--- Package-Stash-XS-0.26/t/anon.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/t/anon.t 2013-01-04 16:31:15.335980418 +0000 |
||||
@@ -45,5 +45,3 @@ my $obj = $anon->bless({}); |
||||
qr/Undefined subroutine \&__ANON__::baz called/ |
||||
); |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up Package-Stash-XS-0.26/t/bare-anon-basic.t.orig Package-Stash-XS-0.26/t/bare-anon-basic.t |
||||
--- Package-Stash-XS-0.26/t/bare-anon-basic.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/t/bare-anon-basic.t 2013-01-04 16:30:55.562017052 +0000 |
||||
@@ -14,6 +14,8 @@ plan skip_all => "Anonymous stashes in P |
||||
|
||||
plan skip_all => "This isn't really going to work yet, probably"; |
||||
|
||||
+plan tests => 1; # Will count properly when this test isn't unconditionally skipped |
||||
+ |
||||
my $Foo = {}; |
||||
$Foo->{SOME_CONSTANT} = \1; |
||||
|
||||
@@ -393,5 +395,3 @@ $Quuux->{quuuux} = -1; |
||||
|
||||
is_deeply([Package::Stash->new('Quuux')->list_all_symbols], [], |
||||
"Quuux:: isn't touched"); |
||||
- |
||||
-done_testing; |
||||
diff -up Package-Stash-XS-0.26/t/bare-anon.t.orig Package-Stash-XS-0.26/t/bare-anon.t |
||||
--- Package-Stash-XS-0.26/t/bare-anon.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/t/bare-anon.t 2013-01-04 16:30:55.562017052 +0000 |
||||
@@ -14,6 +14,8 @@ plan skip_all => "Anonymous stashes in P |
||||
|
||||
plan skip_all => "This isn't really going to work yet, probably"; |
||||
|
||||
+plan tests => 7; |
||||
+ |
||||
my $anon = {}; |
||||
my $stash = Package::Stash->new($anon); |
||||
# no way to bless something into a hashref yet |
||||
@@ -58,5 +60,3 @@ my $stash = Package::Stash->new($anon); |
||||
undef |
||||
); |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up Package-Stash-XS-0.26/t/basic.t.orig Package-Stash-XS-0.26/t/basic.t |
||||
--- Package-Stash-XS-0.26/t/basic.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/t/basic.t 2013-01-04 16:30:55.562017052 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 131; |
||||
use Test::Fatal; |
||||
|
||||
use Package::Stash; |
||||
@@ -444,5 +444,3 @@ like( |
||||
qr/^Package::Stash->new must be passed the name of the package to access/, |
||||
"module name must be a string" |
||||
); |
||||
- |
||||
-done_testing; |
||||
diff -up Package-Stash-XS-0.26/t/compile-time.t.orig Package-Stash-XS-0.26/t/compile-time.t |
||||
--- Package-Stash-XS-0.26/t/compile-time.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/t/compile-time.t 2013-01-04 16:30:55.563017050 +0000 |
||||
@@ -2,8 +2,6 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 1; |
||||
|
||||
use_ok('CompileTime'); |
||||
- |
||||
-done_testing; |
||||
diff -up Package-Stash-XS-0.26/t/edge-cases.t.orig Package-Stash-XS-0.26/t/edge-cases.t |
||||
--- Package-Stash-XS-0.26/t/edge-cases.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/t/edge-cases.t 2013-01-04 16:30:55.563017050 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 19; |
||||
use Test::Fatal; |
||||
|
||||
use Package::Stash; |
||||
@@ -109,5 +109,3 @@ SKIP: { |
||||
my $stash = Package::Stash->new('HasISA'); |
||||
is_deeply([$stash->list_all_symbols('SCALAR')], []); |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up Package-Stash-XS-0.26/t/extension.t.orig Package-Stash-XS-0.26/t/extension.t |
||||
--- Package-Stash-XS-0.26/t/extension.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/t/extension.t 2013-01-04 16:30:55.563017050 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 15; |
||||
use Test::Fatal; |
||||
|
||||
{ |
||||
@@ -72,5 +72,3 @@ is(exception { |
||||
}, undef, '... created %Foo::baz successfully'); |
||||
|
||||
ok(!defined($Foo::{baz}), '... the %baz slot has still not been created'); |
||||
- |
||||
-done_testing; |
||||
diff -up Package-Stash-XS-0.26/t/get.t.orig Package-Stash-XS-0.26/t/get.t |
||||
--- Package-Stash-XS-0.26/t/get.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/t/get.t 2013-01-04 16:30:55.564017048 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 36; |
||||
|
||||
use Package::Stash; |
||||
use Scalar::Util; |
||||
@@ -182,5 +182,3 @@ use Scalar::Util; |
||||
"stash has the right variable"); |
||||
} |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up Package-Stash-XS-0.26/t/io.t.orig Package-Stash-XS-0.26/t/io.t |
||||
--- Package-Stash-XS-0.26/t/io.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/t/io.t 2013-01-04 16:30:55.564017048 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 11; |
||||
use Test::Fatal; |
||||
|
||||
{ |
||||
@@ -47,5 +47,3 @@ use Package::Stash; |
||||
ok($stash->has_symbol('baz'), "has baz"); |
||||
is($stash->get_symbol('baz'), *Foo::foo{IO}, "got the right baz"); |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up Package-Stash-XS-0.26/t/isa.t.orig Package-Stash-XS-0.26/t/isa.t |
||||
--- Package-Stash-XS-0.26/t/isa.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/t/isa.t 2013-01-04 16:30:55.564017048 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 8; |
||||
|
||||
use Package::Stash; |
||||
|
||||
@@ -19,7 +19,10 @@ use Package::Stash; |
||||
my $stash = Package::Stash->new('Foo'); |
||||
my @ISA = ('Bar'); |
||||
@{$stash->get_or_add_symbol('@ISA')} = @ISA; |
||||
+ SKIP: { |
||||
+ skip "Test::More >= 0.88 needed for isa_ok() tests on classes", 1 if $Test::More::VERSION < 0.88; |
||||
isa_ok('Foo', 'Bar'); |
||||
+ } |
||||
isa_ok(bless({}, 'Foo'), 'Bar'); |
||||
} |
||||
|
||||
@@ -33,17 +36,22 @@ use Package::Stash; |
||||
{ |
||||
my $isa = $stash->get_or_add_symbol('@ISA'); |
||||
@$isa = ('Baz'); |
||||
+ SKIP: { |
||||
+ skip "Test::More >= 0.88 needed for isa_ok() tests on classes", 1 if $Test::More::VERSION < 0.88; |
||||
isa_ok('Quux', 'Baz'); |
||||
+ } |
||||
isa_ok(bless({}, 'Quux'), 'Baz'); |
||||
ok(Quux->can('foo')); |
||||
} |
||||
{ |
||||
my $isa = $stash->get_or_add_symbol('@ISA'); |
||||
@$isa = ('Bar'); |
||||
+ SKIP: { |
||||
+ skip "Test::More >= 0.88 needed for isa_ok() tests on classes", 1 if $Test::More::VERSION < 0.88; |
||||
isa_ok('Quux', 'Bar'); |
||||
+ } |
||||
isa_ok(bless({}, 'Quux'), 'Bar'); |
||||
ok(Quux->can('bar')); |
||||
} |
||||
} |
||||
|
||||
-done_testing; |
||||
diff -up Package-Stash-XS-0.26/t/magic.t.orig Package-Stash-XS-0.26/t/magic.t |
||||
--- Package-Stash-XS-0.26/t/magic.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/t/magic.t 2013-01-04 16:30:55.564017048 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 4; |
||||
|
||||
use Package::Stash; |
||||
|
||||
@@ -28,5 +28,3 @@ use Package::Stash; |
||||
my @foo = qw(a b c); |
||||
is(eval q["@foo"], 'a-b-c'); |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up Package-Stash-XS-0.26/t/paamayim_nekdotayim.t.orig Package-Stash-XS-0.26/t/paamayim_nekdotayim.t |
||||
--- Package-Stash-XS-0.26/t/paamayim_nekdotayim.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/t/paamayim_nekdotayim.t 2013-01-04 16:30:55.564017048 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 3; |
||||
use Test::Fatal; |
||||
|
||||
use Package::Stash; |
||||
@@ -24,5 +24,3 @@ like( |
||||
qr/^Variable names may not contain ::/, |
||||
"can't add symbol with ::" |
||||
); |
||||
- |
||||
-done_testing; |
||||
diff -up Package-Stash-XS-0.26/t/scalar-values.t.orig Package-Stash-XS-0.26/t/scalar-values.t |
||||
--- Package-Stash-XS-0.26/t/scalar-values.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/t/scalar-values.t 2013-01-04 16:30:55.565017046 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 14; |
||||
use Test::Fatal; |
||||
|
||||
use B; |
||||
@@ -49,5 +49,3 @@ my $vstring = v1.2.3; |
||||
is(reftype(\$vstring), ($] < 5.010 ? 'SCALAR' : 'VSTRING')); |
||||
is(exception { $Bar->add_symbol('$vstring', \$vstring) }, undef, |
||||
"can add vstring values"); |
||||
- |
||||
-done_testing; |
||||
diff -up Package-Stash-XS-0.26/t/stash-deletion.t.orig Package-Stash-XS-0.26/t/stash-deletion.t |
||||
--- Package-Stash-XS-0.26/t/stash-deletion.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/t/stash-deletion.t 2013-01-04 16:30:55.565017046 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 2; |
||||
|
||||
use Package::Stash; |
||||
|
||||
@@ -20,5 +20,3 @@ use Package::Stash; |
||||
} |
||||
ok(!$delete->has_symbol('&bar'), "method goes away when stash is deleted"); |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up Package-Stash-XS-0.26/t/synopsis.t.orig Package-Stash-XS-0.26/t/synopsis.t |
||||
--- Package-Stash-XS-0.26/t/synopsis.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/t/synopsis.t 2013-01-04 16:30:55.565017046 +0000 |
||||
@@ -2,7 +2,7 @@ |
||||
use strict; |
||||
use warnings; |
||||
use lib 't/lib'; |
||||
-use Test::More; |
||||
+use Test::More tests => 3; |
||||
|
||||
use Package::Stash; |
||||
|
||||
@@ -15,5 +15,3 @@ $stash->add_symbol('%foo', {bar => 1}); |
||||
ok(!$stash->has_symbol('$foo'), "doesn't have anything in scalar slot"); |
||||
my $namespace = $stash->namespace; |
||||
is_deeply(*{ $namespace->{foo} }{HASH}, {bar => 1}, "namespace works properly"); |
||||
- |
||||
-done_testing; |
||||
diff -up Package-Stash-XS-0.26/xt/author/leaks-debug.t.orig Package-Stash-XS-0.26/xt/author/leaks-debug.t |
||||
--- Package-Stash-XS-0.26/xt/author/leaks-debug.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/xt/author/leaks-debug.t 2013-01-04 16:30:55.565017046 +0000 |
||||
@@ -11,6 +11,8 @@ BEGIN { $^P |= 0x210 } # PERLDBf_SUBLINE |
||||
use Package::Stash; |
||||
use Symbol; |
||||
|
||||
+plan tests => 45; |
||||
+ |
||||
{ |
||||
package Bar; |
||||
} |
||||
@@ -176,7 +178,10 @@ use Symbol; |
||||
ok($foo->has_symbol('@ISA')); |
||||
is(ref($foo->get_symbol('@ISA')), 'ARRAY'); |
||||
is_deeply($foo->get_symbol('@ISA'), ['Exporter']); |
||||
+ SKIP: { |
||||
+ skip "Test::More >= 0.88 needed for isa_ok() tests on classes", 1 if $Test::More::VERSION < 0.88; |
||||
isa_ok('Foo', 'Exporter'); |
||||
+ } |
||||
} |
||||
|
||||
{ |
||||
@@ -226,5 +231,3 @@ use Symbol; |
||||
eval { $foo->add_symbol('&blorg') }; |
||||
} "doesn't leak on errors"; |
||||
} |
||||
- |
||||
-done_testing; |
||||
diff -up Package-Stash-XS-0.26/xt/author/leaks.t.orig Package-Stash-XS-0.26/xt/author/leaks.t |
||||
--- Package-Stash-XS-0.26/xt/author/leaks.t.orig 2013-01-04 09:36:41.000000000 +0000 |
||||
+++ Package-Stash-XS-0.26/xt/author/leaks.t 2013-01-04 16:30:55.566017044 +0000 |
||||
@@ -9,6 +9,8 @@ use Test::LeakTrace; |
||||
use Package::Stash; |
||||
use Symbol; |
||||
|
||||
+plan tests => 45; |
||||
+ |
||||
{ |
||||
package Bar; |
||||
} |
||||
@@ -174,7 +176,10 @@ use Symbol; |
||||
ok($foo->has_symbol('@ISA')); |
||||
is(ref($foo->get_symbol('@ISA')), 'ARRAY'); |
||||
is_deeply($foo->get_symbol('@ISA'), ['Exporter']); |
||||
+ SKIP: { |
||||
+ skip "Test::More >= 0.88 needed for isa_ok() tests on classes", 1 if $Test::More::VERSION < 0.88; |
||||
isa_ok('Foo', 'Exporter'); |
||||
+ } |
||||
} |
||||
|
||||
{ |
||||
@@ -224,5 +229,3 @@ use Symbol; |
||||
eval { $foo->add_symbol('&blorg') }; |
||||
} "doesn't leak on errors"; |
||||
} |
||||
- |
||||
-done_testing; |
@ -0,0 +1,21 @@
@@ -0,0 +1,21 @@
|
||||
diff -Naur Params-Validate-1.08.orig/t/release-pod-spell.t Params-Validate-1.08/t/release-pod-spell.t |
||||
--- Params-Validate-1.08.orig/t/release-pod-spell.t 2013-06-07 21:34:33.000000000 +0200 |
||||
+++ Params-Validate-1.08/t/release-pod-spell.t 2013-06-11 14:35:21.718579174 +0200 |
||||
@@ -29,8 +29,9 @@ |
||||
# https://bugs.launchpad.net/ubuntu/+source/aspell/+bug/71322 |
||||
local $ENV{LC_ALL} = 'C'; |
||||
all_pod_files_spelling_ok(); |
||||
- |
||||
__DATA__ |
||||
+' |
||||
+'' |
||||
API |
||||
CPAN |
||||
GLOBREF |
||||
@@ -42,5 +43,6 @@ |
||||
ValidatePos |
||||
baz |
||||
onwards |
||||
+'globals' |
||||
pre |
||||
runtime |
@ -0,0 +1,58 @@
@@ -0,0 +1,58 @@
|
||||
--- t/000-report-versions-tiny.t |
||||
+++ t/000-report-versions-tiny.t |
||||
@@ -1,12 +1,6 @@ |
||||
use strict; |
||||
use warnings; |
||||
-use Test::More 0.88; |
||||
-# This is a relatively nice way to avoid Test::NoWarnings breaking our |
||||
-# expectations by adding extra tests, without using no_plan. It also helps |
||||
-# avoid any other test module that feels introducing random tests, or even |
||||
-# test plans, is a nice idea. |
||||
-our $success = 0; |
||||
-END { $success && done_testing; } |
||||
+use Test::More 0.47 tests => 1; |
||||
|
||||
# List our own version used to generate this |
||||
my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.08\n"; |
||||
@@ -56,13 +50,12 @@ |
||||
eval { $v .= pmver('File::Temp','any version') }; |
||||
eval { $v .= pmver('Params::Util','0.14') }; |
||||
eval { $v .= pmver('Sub::Install','0.92') }; |
||||
-eval { $v .= pmver('Test::More','0.96') }; |
||||
+eval { $v .= pmver('Test::More','0.47') }; |
||||
eval { $v .= pmver('Test::Pod','1.41') }; |
||||
eval { $v .= pmver('base','any version') }; |
||||
eval { $v .= pmver('overload','any version') }; |
||||
eval { $v .= pmver('strict','any version') }; |
||||
eval { $v .= pmver('subs','any version') }; |
||||
-eval { $v .= pmver('version','0.9901') }; |
||||
eval { $v .= pmver('warnings','any version') }; |
||||
|
||||
|
||||
@@ -77,7 +70,6 @@ |
||||
|
||||
diag($v); |
||||
ok(1, "we really didn't test anything, just reporting data"); |
||||
-$success = 1; |
||||
|
||||
# Work around another nasty module on CPAN. :/ |
||||
no warnings 'once'; |
||||
--- xt/release/changes_has_content.t |
||||
+++ xt/release/changes_has_content.t |
||||
@@ -2,7 +2,6 @@ |
||||
|
||||
use Test::More tests => 2; |
||||
|
||||
-note 'Checking Changes'; |
||||
my $changes_file = 'Changes'; |
||||
my $newver = '0.986'; |
||||
my $trial_token = '-TRIAL'; |
||||
@@ -14,8 +13,6 @@ |
||||
ok(_get_changes($newver), "$changes_file has content for $newver"); |
||||
} |
||||
|
||||
-done_testing; |
||||
- |
||||
# _get_changes copied and adapted from Dist::Zilla::Plugin::Git::Commit |
||||
# by Jerome Quelin |
||||
sub _get_changes |
@ -0,0 +1,16 @@
@@ -0,0 +1,16 @@
|
||||
diff -up GD-2.49/t/GD.t.orig GD-2.49/t/GD.t |
||||
--- GD-2.49/t/GD.t.orig 2013-06-11 15:19:21.161406687 +0200 |
||||
+++ GD-2.49/t/GD.t 2013-06-11 15:20:05.973575005 +0200 |
||||
@@ -127,7 +127,11 @@ sub compare { |
||||
last if $ok; |
||||
$fname = "$file-".++$counter; |
||||
} |
||||
- print $ok ? "ok $testNo" : "not ok $testNo","\n"; |
||||
+ if ($testNo < 2 || $testNo > 10) { |
||||
+ print $ok ? "ok $testNo" : "not ok $testNo","\n"; |
||||
+ } else { |
||||
+ print $ok ? "ok $testNo" : "ok $testNo # skip because change in PNG output ","\n"; |
||||
+ } |
||||
} |
||||
} |
||||
|
@ -0,0 +1,251 @@
@@ -0,0 +1,251 @@
|
||||
Name: perl-Class-Load |
||||
Version: 0.20 |
||||
Release: 3%{?dist} |
||||
Summary: A working (require "Class::Name") and more |
||||
Group: Development/Libraries |
||||
License: GPL+ or Artistic |
||||
URL: http://search.cpan.org/dist/Class-Load/ |
||||
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Load-%{version}.tar.gz |
||||
BuildArch: noarch |
||||
# =================================================================== |
||||
# Module build requirements |
||||
# =================================================================== |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
# =================================================================== |
||||
# Module requirements |
||||
# =================================================================== |
||||
BuildRequires: perl(base) |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(Data::OptList) |
||||
BuildRequires: perl(Exporter) |
||||
BuildRequires: perl(Module::Implementation) >= 0.04 |
||||
BuildRequires: perl(Module::Runtime) >= 0.012 |
||||
BuildRequires: perl(Package::Stash) >= 0.14 |
||||
BuildRequires: perl(Scalar::Util) |
||||
BuildRequires: perl(Try::Tiny) |
||||
# =================================================================== |
||||
# Regular test suite requirements |
||||
# =================================================================== |
||||
# Class::Load::XS -> Class::Load |
||||
%if 0%{!?perl_bootstrap:1} |
||||
BuildRequires: perl(Class::Load::XS) |
||||
%endif |
||||
BuildRequires: perl(lib) |
||||
BuildRequires: perl(Test::Fatal) |
||||
BuildRequires: perl(Test::More) |
||||
BuildRequires: perl(Test::Without::Module) |
||||
BuildRequires: perl(version) |
||||
# =================================================================== |
||||
# Author/Release test requirements |
||||
# =================================================================== |
||||
# Can't use aspell-en from EPEL-7 as BR: for RHEL-7 package so skip the spell |
||||
# check test there; test would fail rather than skip without Test::Spelling so |
||||
# we need to keep that as a buildreq |
||||
%if 0%{?rhel} < 7 |
||||
BuildRequires: aspell-en |
||||
%endif |
||||
# Pod::Coverage::Moose -> Moose -> Class::Load |
||||
%if 0%{!?perl_bootstrap:1} && 0%{?rhel} < 7 |
||||
BuildRequires: perl(Pod::Coverage::Moose) |
||||
%endif |
||||
BuildRequires: perl(Test::CPAN::Changes) |
||||
BuildRequires: perl(Test::EOL) |
||||
BuildRequires: perl(Test::NoTabs) |
||||
BuildRequires: perl(Test::Pod) |
||||
BuildRequires: perl(Test::Pod::Coverage) |
||||
BuildRequires: perl(Test::Requires) |
||||
BuildRequires: perl(Test::Spelling) |
||||
# =================================================================== |
||||
# Runtime requirements |
||||
# =================================================================== |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
# Also requires core module perl(Exporter) via a "use base" construct |
||||
|
||||
%description |
||||
require EXPR only accepts Class/Name.pm style module names, not Class::Name. |
||||
How frustrating! For that, we provide load_class 'Class::Name'. |
||||
|
||||
It's often useful to test whether a module can be loaded, instead of throwing |
||||
an error when it's not available. For that, we provide |
||||
try_load_class 'Class::Name'. |
||||
|
||||
Finally, sometimes we need to know whether a particular class has been loaded. |
||||
Asking %%INC is an option, but that will miss inner packages and any class for |
||||
which the filename does not correspond to the package name. For that, we |
||||
provide is_class_loaded 'Class::Name'. |
||||
|
||||
%prep |
||||
%setup -q -n Class-Load-%{version} |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
make pure_install DESTDIR=%{buildroot} |
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
||||
%{_fixperms} %{buildroot} |
||||
|
||||
%check |
||||
%if 0%{!?perl_bootstrap:1} && 0%{?rhel} < 7 |
||||
make test RELEASE_TESTING=1 |
||||
%else |
||||
make test |
||||
%endif |
||||
|
||||
%files |
||||
%doc Changes LICENSE README |
||||
%{perl_vendorlib}/Class/ |
||||
%{_mandir}/man3/Class::Load.3pm* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.20-3 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 0.20-2.1 |
||||
- Rebuild for perl 5.16 |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Sun Jul 15 2012 Paul Howarth <paul@city-fan.org> - 0.20-1 |
||||
- Update to 0.20 |
||||
- Same as the most recent 0.19, but with a new version (CPAN RT#78389) |
||||
|
||||
* Sun Jul 15 2012 Paul Howarth <paul@city-fan.org> - 0.19-7 |
||||
- New upstream re-release of 0.19 by DROLSKY |
||||
- The load_class() subroutine now returns the class name on success |
||||
(CPAN RT#76931) |
||||
- Exceptions and errors from Class::Load no longer contain references to line |
||||
numbers in Class::Load or Module::Runtime; this applies to exceptions |
||||
thrown by load_class, load_first_existing_class, and load_optional_class, |
||||
as well as the error returned by try_load_class |
||||
- Exceptions are now croaked properly so they appear to come from the calling |
||||
code, not from an internal subroutine; this makes the exceptions look more |
||||
like the ones thrown by Perl's require (CPAN RT#68663) |
||||
- This release by DROLSKY -> update source URL |
||||
- BR: perl(Scalar::Util) for the module |
||||
- BR: perl(lib) for the test suite |
||||
- Drop buildreqs perl(strict) and perl(warnings) - not dual-lived |
||||
|
||||
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 0.19-6 |
||||
- Perl 5.16 re-rebuild of bootstrapped packages |
||||
|
||||
* Tue Jun 26 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.19-5 |
||||
- Conditionalize Pod::Coverage::Moose |
||||
|
||||
* Tue Jun 19 2012 Petr Pisar <ppisar@redhat.com> - 0.19-4 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Thu Jun 7 2012 Paul Howarth <paul@city-fan.org> - 0.19-3 |
||||
- Add commentary regarding conditionalized buildreqs |
||||
|
||||
* Thu Jun 7 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.19-2 |
||||
- Conditionalize aspell-en dependency |
||||
|
||||
* Tue Apr 3 2012 Paul Howarth <paul@city-fan.org> - 0.19-1 |
||||
- Update to 0.19 (no functional changes) |
||||
- This release by DOY -> update source URL |
||||
- BR: perl(Exporter) |
||||
- Don't need to remove empty directories from buildroot |
||||
|
||||
* Sat Feb 18 2012 Paul Howarth <paul@city-fan.org> - 0.18-1 |
||||
- Update to 0.18: |
||||
- Require Package::Stash ≥ 0.14 (CPAN RT#75095) |
||||
|
||||
* Sun Feb 12 2012 Paul Howarth <paul@city-fan.org> - 0.17-1 |
||||
- Update to 0.17: |
||||
- Require Module::Runtime 0.012, which has a number of useful bug fixes |
||||
- A bug in Class::Load caused test failures when Module::Runtime 0.012 was |
||||
used with Perl 5.8.x (CPAN RT#74897) |
||||
|
||||
* Thu Feb 9 2012 Paul Howarth <paul@city-fan.org> - 0.15-1 |
||||
- Update to 0.15: |
||||
- Small test changes to accomodate latest version of Module::Implementation |
||||
- BR: at least version 0.04 of perl(Module::Implementation) |
||||
|
||||
* Tue Feb 7 2012 Paul Howarth <paul@city-fan.org> - 0.14-1 |
||||
- Update to 0.14: |
||||
- Use Module::Implementation to handle loading the XS or PP versions of the |
||||
code; using this module fixes a few bugs |
||||
- Under taint mode, setting an implementation in the |
||||
CLASS_LOAD_IMPLEMENTATION env var caused a taint error |
||||
- An invalid value in the CLASS_LOAD_IMPLEMENTATION env var is now detected |
||||
and reported immediately; no attempt is made to load an invalid |
||||
implementation |
||||
- BR: perl(Module::Implementation) |
||||
- BR: perl(base), perl(Carp), perl(strict) and perl(warnings) for completeness |
||||
- Drop version requirement for perl(Package::Stash), no longer present upstream |
||||
- Drop explicit runtime dependencies, no longer needed |
||||
- Don't BR: perl(Class::Load::XS) or perl(Pod::Coverage::Moose) if we're |
||||
bootstrapping |
||||
- Don't run the release tests when bootstrapping as the Pod coverage test will |
||||
fail in the absence of Pod::Coverage::Moose |
||||
|
||||
* Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 0.13-2 |
||||
- Fedora 17 mass rebuild |
||||
|
||||
* Thu Dec 22 2011 Paul Howarth <paul@city-fan.org> - 0.13-1 |
||||
- Update to 0.13: |
||||
- Fix some bugs with our use of Try::Tiny, which could cause warnings on some |
||||
systems where Class::Load::XS wasn't installed (CPAN RT#72345) |
||||
- BR: perl(Test::Without::Module) |
||||
|
||||
* Tue Oct 25 2011 Paul Howarth <paul@city-fan.org> - 0.12-1 |
||||
- Update to 0.12: |
||||
- Require Module::Runtime ≥ 0.011, which fixes problems with Catalyst under |
||||
Perl 5.8 and 5.10 |
||||
- Add versioned runtime dependencies for Module::Runtime and Package::Stash |
||||
|
||||
* Wed Oct 5 2011 Paul Howarth <paul@city-fan.org> - 0.11-1 |
||||
- Update to 0.11: |
||||
- Don't accept package names that start with a digit |
||||
- Rewrite some of the guts to use Module::Runtime rather than reimplementing |
||||
its functionality |
||||
- BR: perl(Module::Runtime) ≥ 0.009 |
||||
- Drop all support for older distributions as required module |
||||
Module::Runtime ≥ 0.009 will not be available prior to F-16 |
||||
|
||||
* Tue Sep 6 2011 Paul Howarth <paul@city-fan.org> - 0.10-1 |
||||
- Update to 0.10: |
||||
- Fix is_class_loaded to ignore $ISA (but still look for @ISA) when trying to |
||||
determine whether a class is loaded |
||||
- Lots of internals cleanup |
||||
- BR: perl(Package::Stash) ≥ 0.32 and perl(Try::Tiny) |
||||
- Update patches to apply cleanly |
||||
|
||||
* Tue Aug 16 2011 Paul Howarth <paul@city-fan.org> - 0.08-1 |
||||
- Update to 0.08: |
||||
- The previous version was missing a prereq declaration for Data::OptList |
||||
(CPAN RT#70285) |
||||
- This release by DROLSKY -> update source URL |
||||
- Package new documentation: LICENSE and README |
||||
- Add build requirements for new release tests and run them: |
||||
- perl(Pod::Coverage::Moose) |
||||
- perl(Test::CPAN::Changes) |
||||
- perl(Test::EOL) |
||||
- perl(Test::NoTabs) |
||||
- perl(Test::Pod) |
||||
- perl(Test::Pod::Coverage) |
||||
- perl(Test::Requires) |
||||
- perl(Test::Spelling) and aspell-en |
||||
- Add patch for building with ExtUtils::MakeMaker < 6.30 |
||||
- Add patch for building with Test::More < 0.88 |
||||
- Add patch for building without Test::Requires |
||||
- Add patch for fixing spell checker word list |
||||
- Don't try to run the POD Coverage test if we don't have Pod::Coverage::Moose |
||||
|
||||
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.06-5 |
||||
- Perl mass rebuild |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Tue Dec 21 2010 Paul Howarth <paul@city-fan.org> - 0.06-3 |
||||
- Drop explicit dependency on core module perl(Exporter) (#656408) |
||||
|
||||
* Tue Nov 23 2010 Paul Howarth <paul@city-fan.org> - 0.06-2 |
||||
- Sanitize spec for Fedora submission |
||||
|
||||
* Mon Nov 22 2010 Paul Howarth <paul@city-fan.org> - 0.06-1 |
||||
- Initial RPM version |
@ -0,0 +1,117 @@
@@ -0,0 +1,117 @@
|
||||
Name: perl-Class-Singleton |
||||
Version: 1.4 |
||||
Release: 14%{?dist} |
||||
Summary: Implementation of a "Singleton" class |
||||
License: GPL+ or Artistic |
||||
Group: Development/Libraries |
||||
URL: http://search.cpan.org/dist/Class-Singleton/ |
||||
Source0: http://www.cpan.org/authors/id/A/AB/ABW/Class-Singleton-%{version}.tar.gz |
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
||||
BuildArch: noarch |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
BuildRequires: perl(Test::More) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
||||
|
||||
%description |
||||
This is the Class::Singleton module. A Singleton describes an object class |
||||
that can have only one instance in any system. An example of a Singleton |
||||
might be a print spooler or system registry. This module implements a |
||||
Singleton class from which other classes can be derived. By itself, the |
||||
Class::Singleton module does very little other than manage the |
||||
instantiation of a single object. In deriving a class from |
||||
Class::Singleton, your module will inherit the Singleton instantiation |
||||
method and can implement whatever specific functionality is required. |
||||
|
||||
%prep |
||||
%setup -q -n Class-Singleton-%{version} |
||||
|
||||
%build |
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
rm -rf $RPM_BUILD_ROOT |
||||
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
||||
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/* |
||||
|
||||
%check |
||||
make test |
||||
|
||||
%clean |
||||
rm -rf $RPM_BUILD_ROOT |
||||
|
||||
%files |
||||
%defattr(-,root,root,-) |
||||
%doc Changes README |
||||
%{perl_vendorlib}/* |
||||
%{_mandir}/man3/* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.4-14 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 1.4-13.1 |
||||
- Rebuild for perl 5.16 |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-13 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.4-12 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-11 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.4-10 |
||||
- Perl mass rebuild |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-9 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.4-8 |
||||
- 661697 rebuild for fixing problems with vendorach/lib |
||||
|
||||
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.4-7 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.4-6 |
||||
- rebuild against perl 5.10.1 |
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4-3 |
||||
- Rebuild for perl 5.10 (again) |
||||
|
||||
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.4-2 |
||||
- rebuild for new perl |
||||
|
||||
* Mon Oct 15 2007 Steven Pritchard <steve@kspei.com> 1.4-1 |
||||
- Update to 1.4. |
||||
- Update License tag. |
||||
- Drop our copy of the license text. |
||||
- Improve Summary. |
||||
- Make description match cpanspec output. |
||||
- BR Test::More. |
||||
|
||||
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.03-4 |
||||
- Use fixperms macro instead of our own chmod incantation. |
||||
- BR ExtUtils::MakeMaker. |
||||
|
||||
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.03-3 |
||||
- Canonicalize Source0 URL. |
||||
- Fix find option order. |
||||
|
||||
* Thu Sep 08 2005 Steven Pritchard <steve@kspei.com> 1.03-2 |
||||
- Fix permissions on Singleton.pm. |
||||
|
||||
* Wed Aug 31 2005 Steven Pritchard <steve@kspei.com> 1.03-1 |
||||
- Specfile autogenerated. |
@ -0,0 +1,151 @@
@@ -0,0 +1,151 @@
|
||||
Name: perl-Clone |
||||
Version: 0.34 |
||||
Release: 5%{?dist} |
||||
Summary: Recursively copy perl data types |
||||
Group: Development/Libraries |
||||
License: GPL+ or Artistic |
||||
URL: http://search.cpan.org/dist/Clone |
||||
Source: http://search.cpan.org/CPAN/authors/id/G/GA/GARU/Clone-%{version}.tar.gz |
||||
BuildRequires: perl |
||||
BuildRequires: perl(AutoLoader) |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(Data::Dumper) |
||||
BuildRequires: perl(DynaLoader) |
||||
BuildRequires: perl(Exporter) |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
BuildRequires: perl(Scalar::Util) |
||||
BuildRequires: perl(strict) |
||||
BuildRequires: perl(Taint::Runtime) |
||||
BuildRequires: perl(Test::More) |
||||
BuildRequires: perl(utf8) |
||||
BuildRequires: perl(vars) |
||||
BuildRequires: perl(warnings) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
|
||||
%{?perl_default_filter} |
||||
|
||||
%description |
||||
This module provides a clone() method which makes recursive |
||||
copies of nested hash, array, scalar and reference types, |
||||
including tied variables and objects. |
||||
|
||||
clone() takes a scalar argument and an optional parameter that |
||||
can be used to limit the depth of the copy. To duplicate lists, |
||||
arrays or hashes, pass them in by reference. |
||||
|
||||
%prep |
||||
%setup -q -n Clone-%{version} |
||||
find . -type f -exec chmod -c -x {} ';' |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
make pure_install DESTDIR=%{buildroot} |
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
||||
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' |
||||
chmod -R u+w %{buildroot}/* |
||||
|
||||
%check |
||||
make test |
||||
|
||||
%files |
||||
%doc Changes |
||||
%{perl_vendorarch}/auto/Clone/ |
||||
%{perl_vendorarch}/Clone.pm |
||||
%{_mandir}/man3/*.3* |
||||
|
||||
%changelog |
||||
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.34-5 |
||||
- Mass rebuild 2014-01-24 |
||||
|
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.34-4 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Mon Jun 24 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.34-3 |
||||
- Update dependencies |
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
||||
|
||||
* Thu Jan 03 2013 Petr Šabata <contyk@redhat.com> - 0.34-1 |
||||
- 0.34 bump for DBI 1.623 |
||||
- Modernize the spec |
||||
- Update filters and Source URL |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-11 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.31-10 |
||||
- Perl 5.16 rebuild |
||||
- Specify all dependencies |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-9 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.31-8 |
||||
- Perl mass rebuild |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-7 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.31-6 |
||||
- 661697 rebuild for fixing problems with vendorach/lib |
||||
|
||||
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.31-5 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.31-4 |
||||
- rebuild against perl 5.10.1 |
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Sat May 23 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.31-2 |
||||
- filter private Perl solibs from provides |
||||
- remove some executable bits -- keep rpmlint happy |
||||
|
||||
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.31-1 |
||||
- update to 0.31 |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.28-4 |
||||
- Rebuild for perl 5.10 (again) |
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.28-3 |
||||
- Autorebuild for GCC 4.3 |
||||
|
||||
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.28-2 |
||||
- rebuild for new perl |
||||
|
||||
* Wed Nov 28 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.28-1 |
||||
- bump to 0.28 |
||||
|
||||
* Fri Aug 24 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.27-2 |
||||
- license fix |
||||
|
||||
* Fri Jul 27 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.27-1 |
||||
- bump to 0.27 |
||||
|
||||
* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.22-1 |
||||
- bump to 0.22 |
||||
|
||||
* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.20-2 |
||||
- bump for fc6 |
||||
|
||||
* Fri Mar 31 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.20-1 |
||||
- bump to 0.20 |
||||
- new BR: perl-Taint-Runtime |
||||
|
||||
* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.18-3 |
||||
- bump for FC-5 |
||||
|
||||
* Fri Jan 6 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.18-2 |
||||
- don't pass optflags twice |
||||
- remove .bs files |
||||
|
||||
* Thu Jan 5 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.18-1 |
||||
- Initial package for Fedora Extras |
@ -0,0 +1,150 @@
@@ -0,0 +1,150 @@
|
||||
Name: perl-Data-OptList |
||||
Summary: Parse and validate simple name/value option pairs |
||||
Version: 0.107 |
||||
Release: 9%{?dist} |
||||
License: GPL+ or Artistic |
||||
Group: Development/Libraries |
||||
URL: http://search.cpan.org/dist/Data-OptList/ |
||||
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-OptList-%{version}.tar.gz |
||||
BuildArch: noarch |
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 |
||||
BuildRequires: perl(List::Util) |
||||
BuildRequires: perl(Params::Util) |
||||
BuildRequires: perl(Sub::Install) >= 0.921 |
||||
BuildRequires: perl(Test::More) |
||||
BuildRequires: perl(Test::Pod) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
|
||||
# Obsolete/provide old -tests subpackage (can be removed in F19 development cycle) |
||||
Obsoletes: %{name}-tests < %{version}-%{release} |
||||
Provides: %{name}-tests = %{version}-%{release} |
||||
|
||||
%description |
||||
Hashes are great for storing named data, but if you want more than one entry |
||||
for a name, you have to use a list of pairs. Even then, this is really boring |
||||
to write: |
||||
|
||||
$values = [ |
||||
foo => undef, |
||||
bar => undef, |
||||
baz => undef, |
||||
xyz => { ... }, |
||||
]; |
||||
|
||||
With Data::OptList, you can do this instead: |
||||
|
||||
$values = Data::OptList::mkopt([ |
||||
qw(foo bar baz), |
||||
xyz => { ... }, |
||||
]); |
||||
|
||||
This works by assuming that any defined scalar is a name and any reference |
||||
following a name is its value. |
||||
|
||||
%prep |
||||
%setup -q -n Data-OptList-%{version} |
||||
|
||||
perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/* |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
make pure_install DESTDIR=%{buildroot} |
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
||||
find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null |
||||
%{_fixperms} %{buildroot} |
||||
|
||||
%check |
||||
make test RELEASE_TESTING=1 |
||||
|
||||
%files |
||||
%doc Changes LICENSE README t/ |
||||
%{perl_vendorlib}/Data/ |
||||
%{_mandir}/man3/Data::OptList.3pm* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.107-9 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Tue Nov 13 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.107-8 |
||||
- Fix wrong script interpreter |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.107-7 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.107-6 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Sat Jan 21 2012 Paul Howarth <paul@city-fan.org> - 0.107-5 |
||||
- obsolete/provide old -tests subpackage to support upgrades |
||||
|
||||
* Fri Jan 20 2012 Paul Howarth <paul@city-fan.org> - 0.107-4 |
||||
- drop -tests subpackage (general lack of interest in this), but include |
||||
them as documentation for the main package |
||||
- drop redundant %%{?perl_default_filter} |
||||
- don't use macros for commands |
||||
- can't find any dependency cycle so drop %%{?perl_bootstrap} usage |
||||
- drop ExtUtils::MakeMaker version requirement to 6.30, actual working minimum |
||||
|
||||
* Wed Jan 11 2012 Paul Howarth <paul@city-fan.org> - 0.107-3 |
||||
- package LICENSE file |
||||
- run test suite even when bootstrapping, as it should still pass |
||||
- run release tests too |
||||
- enhance %%description so it makes sense |
||||
- BR: perl(Test::More) |
||||
|
||||
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.107-2 |
||||
- Perl mass rebuild |
||||
- add perl_bootstrap macro |
||||
|
||||
* Wed May 11 2011 Iain Arnell <iarnell@gmail.com> 0.107-1 |
||||
- update to latest upstream version |
||||
- clean up spec for modern rpmbuild |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.106-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.106-3 |
||||
- rebuild to fix problems with vendorarch/lib (#661697) |
||||
|
||||
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.106-2 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Mon Mar 08 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.106-1 |
||||
- update by Fedora::App::MaintainerTools 0.004 |
||||
- PERL_INSTALL_ROOT => DESTDIR |
||||
- updating to latest GA CPAN version (0.106) |
||||
- added a new br on perl(ExtUtils::MakeMaker) (version 6.42) |
||||
- added a new br on perl(List::Util) (version 0) |
||||
- altered br on perl(Sub::Install) (0.92 => 0.921) |
||||
- added a new req on perl(List::Util) (version 0) |
||||
- added a new req on perl(Params::Util) (version 0.14) |
||||
- added a new req on perl(Sub::Install) (version 0.921) |
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.104-4 |
||||
- rebuild against perl 5.10.1 |
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.104-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.104-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Wed Feb 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.104-1 |
||||
- update to 0.104 |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.103-2 |
||||
- Rebuild for perl 5.10 (again) |
||||
|
||||
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.103-1 |
||||
- rebuild for new perl |
||||
- bump to 0.103 |
||||
- fix license tag |
||||
|
||||
* Thu Sep 07 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.101-2 |
||||
- bump |
||||
|
||||
* Sat Sep 02 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.101-1 |
||||
- Specfile autogenerated by cpanspec 1.69.1. |
@ -0,0 +1,245 @@
@@ -0,0 +1,245 @@
|
||||
# Regenerate Perl library code from upstream Olson database of this date |
||||
%global tzversion 2018i |
||||
|
||||
Name: perl-DateTime-TimeZone |
||||
Version: 1.70 |
||||
Release: 2%{?dist} |
||||
Summary: Time zone object base class and factory |
||||
# tzdata%%{tzversion}.tar.gz archive: Public Domain |
||||
# other files: GPL+ or Artistic |
||||
License: (GPL+ or Artistic) and Public Domain |
||||
Group: Development/Libraries |
||||
URL: http://search.cpan.org/dist/DateTime-TimeZone/ |
||||
Source0: http://backpan.perl.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-%{version}.tar.gz |
||||
%if %{defined tzversion} |
||||
Source1: ftp://ftp.iana.org/tz/releases/tzdata%{tzversion}.tar.gz |
||||
%endif |
||||
# Do not use List::AllUtils in parse_olson tool, bug #1101251 |
||||
Patch0: DateTime-TimeZone-1.70-Use-List-Util-max-directly-instead-of-List-AllUtils-.patch |
||||
# Preserve DateTime-TimeZone version in regenerated modules, bug #1101251 |
||||
Patch1: DateTime-TimeZone-1.70-Inject-DT-TZ-version-when-generating-modules.patch |
||||
# Adjust tests to 2017b, bug #1101251, in upstream 2.10 |
||||
Patch2: DateTime-TimeZone-1.70-Adjust-tests-to-time-zone-data-2017b.patch |
||||
# Adjust conversion script to 2017b, bug #1101251, in upstream 1.96 |
||||
Patch3: DateTime-TimeZone-1.70-Recognize-short-zone-names-starting-with-a-sign.patch |
||||
# Adjust a conversion script to 2018f, bug #1537984, in upstream 2.20 |
||||
Patch4: DateTime-TimeZone-1.70-Recognize-25-00-time.patch |
||||
BuildArch: noarch |
||||
BuildRequires: findutils |
||||
BuildRequires: make |
||||
BuildRequires: perl |
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 |
||||
BuildRequires: perl(strict) |
||||
BuildRequires: perl(warnings) |
||||
%if !%{defined perl_bootstrap} && %{defined tzversion} |
||||
# avoid circular dependencies - DateTime strictly requires DateTime::TimeZone |
||||
BuildRequires: perl(Data::Dumper) |
||||
BuildRequires: perl(DateTime) |
||||
BuildRequires: perl(File::Copy) |
||||
BuildRequires: perl(File::Find::Rule) |
||||
BuildRequires: perl(File::Path) |
||||
BuildRequires: perl(File::Spec) |
||||
BuildRequires: perl(Getopt::Long) |
||||
BuildRequires: perl(integer) |
||||
BuildRequires: perl(lib) |
||||
BuildRequires: perl(List::Util) |
||||
BuildRequires: perl(Locale::Country) >= 3.11 |
||||
%endif |
||||
# Run-time: |
||||
BuildRequires: perl(Class::Load) |
||||
BuildRequires: perl(Class::Singleton) >= 1.03 |
||||
BuildRequires: perl(constant) |
||||
BuildRequires: perl(Cwd) >= 3 |
||||
%if 0%{?perl_bootstrap} |
||||
# avoid circular dependencies - DateTime strictly requires DateTime::TimeZone |
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((DateTime|DateTime::Duration)\\) |
||||
# perl-DateTime-TimeZone used to be bundled with perl-DateTime |
||||
# when bootstrapping, we can't require the unbundled version, so |
||||
# need to conflict with the old package |
||||
Conflicts: perl-DateTime <= 1:0.7000-3.fc16 |
||||
%else |
||||
# explicitly require the unbundled perl-DateTime to avoid implicit conflicts |
||||
Requires: perl-DateTime >= 2:0.70-1 |
||||
# and BR perl(DateTime) to enable testing |
||||
BuildRequires: perl(DateTime) |
||||
BuildRequires: perl(DateTime::Duration) |
||||
%endif |
||||
BuildRequires: perl(File::Basename) |
||||
BuildRequires: perl(File::Compare) |
||||
BuildRequires: perl(File::Find) |
||||
BuildRequires: perl(File::Spec) |
||||
BuildRequires: perl(List::Util) |
||||
BuildRequires: perl(Params::Validate) >= 0.72 |
||||
BuildRequires: perl(parent) |
||||
BuildRequires: perl(vars) |
||||
# Win32::TieRegistry not used |
||||
# Tests: |
||||
BuildRequires: perl(base) |
||||
BuildRequires: perl(File::Copy) |
||||
BuildRequires: perl(File::Path) |
||||
BuildRequires: perl(File::Spec::Functions) |
||||
BuildRequires: perl(File::Temp) |
||||
BuildRequires: perl(lib) |
||||
BuildRequires: perl(overload) |
||||
BuildRequires: perl(Storable) |
||||
BuildRequires: perl(Sys::Hostname) |
||||
BuildRequires: perl(Test::Fatal) |
||||
BuildRequires: perl(Test::More) >= 0.88 |
||||
BuildRequires: perl(Test::Output) |
||||
BuildRequires: perl(Test::Requires) |
||||
BuildRequires: perl(Test::Taint) |
||||
# not automatically detected |
||||
Requires: perl(File::Compare) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
||||
|
||||
# Remove non-Linux unused dependencies |
||||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Win32 |
||||
|
||||
# Remove under-specified dependencies |
||||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Params::Validate|Class::Singleton)\\)$ |
||||
|
||||
%description |
||||
This class is the base class for all time zone objects. A time zone is |
||||
represented internally as a set of observances, each of which describes the |
||||
offset from GMT for a given time period. |
||||
|
||||
%prep |
||||
%if !%{defined perl_bootstrap} && %{defined tzversion} |
||||
%setup -q -T -a 1 -c -n tzdata-%{tzversion} |
||||
%endif |
||||
%setup -q -T -b 0 -n DateTime-TimeZone-%{version} |
||||
%patch0 -p1 |
||||
%patch1 -p1 |
||||
%patch2 -p1 |
||||
%patch3 -p1 |
||||
%patch4 -p1 |
||||
|
||||
%build |
||||
%if !%{defined perl_bootstrap} && %{defined tzversion} |
||||
perl tools/parse_olson --dir ../tzdata-%{tzversion} --version %{tzversion} \ |
||||
--dttzversion %{version} --clean |
||||
%endif |
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
make pure_install DESTDIR=%{buildroot} |
||||
find %{buildroot} -type f -name .packlist -delete |
||||
%{_fixperms} %{buildroot}/* |
||||
|
||||
%check |
||||
make test |
||||
|
||||
%files |
||||
%doc Changes LICENSE README |
||||
%{perl_vendorlib}/* |
||||
%{_mandir}/man3/* |
||||
|
||||
%changelog |
||||
* Thu Jan 17 2019 Petr Pisar <ppisar@redhat.com> - 1.70-2 |
||||
- Update time zone data to Olson 2018i (bug #1537984) |
||||
|
||||
* Mon Jul 10 2017 Petr Pisar <ppisar@redhat.com> - 1.70-1 |
||||
- 1.70 bump (bug #1101251) |
||||
- Regenerate Perl code from timezone sources (bug #1101251) |
||||
- Update time zone data to Olson 2017b (bug #1101251) |
||||
|
||||
* Thu Oct 06 2016 Petr Pisar <ppisar@redhat.com> - 1.64-1 |
||||
- 1.64 bump (bug #1241818) |
||||
|
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.63-2 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Tue Oct 29 2013 Petr Pisar <ppisar@redhat.com> - 1.63-1 |
||||
- update to latest upstream version - Olson 2013h (bug #1024234) |
||||
|
||||
* Sat Aug 10 2013 Iain Arnell <iarnell@gmail.com> 1.60-1 |
||||
- update to latest upstream version - Olson 2013d |
||||
|
||||
* Wed Jun 26 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.59-2 |
||||
- Specify all dependencies |
||||
|
||||
* Mon Apr 22 2013 Iain Arnell <iarnell@gmail.com> 1.59-1 |
||||
- update to latest upstream version - Olson 2013c |
||||
|
||||
* Wed Mar 20 2013 Iain Arnell <iarnell@gmail.com> 1.58-1 |
||||
- update to latest upstream version - Olson 2013b |
||||
|
||||
* Sun Mar 03 2013 Iain Arnell <iarnell@gmail.com> 1.57-1 |
||||
- update to latest upstream version - Olson 2013a |
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.56-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
||||
|
||||
* Mon Dec 03 2012 Iain Arnell <iarnell@gmail.com> 1.56-1 |
||||
- update to latest upstream version - still Olson 2012j |
||||
|
||||
* Thu Nov 15 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.54-2 |
||||
- add BR, filter duplicated requires |
||||
|
||||
* Tue Nov 13 2012 Petr Pisar <ppisar@redhat.com> - 1.54-1 |
||||
- update to latest upstream version - Olson 2012j |
||||
|
||||
* Fri Nov 02 2012 Iain Arnell <iarnell@gmail.com> 1.52-1 |
||||
- update to latest upstream version - Olson 2012h |
||||
|
||||
* Thu Oct 18 2012 Petr Pisar <ppisar@redhat.com> - 1.51-1 |
||||
- update to latest upstream version - Olson 2012g |
||||
|
||||
* Sat Sep 15 2012 Iain Arnell <iarnell@gmail.com> 1.49-1 |
||||
- update to latest upstream version - Olson 2012f |
||||
|
||||
* Fri Aug 03 2012 Iain Arnell <iarnell@gmail.com> 1.48-1 |
||||
- update to latest upstream version - Olson 2012e |
||||
|
||||
* Sat Jul 21 2012 Iain Arnell <iarnell@gmail.com> 1.47-1 |
||||
- update to latest upstream version - Olson 2012d |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.46-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.46-3 |
||||
- Perl 5.16 re-rebuild of bootstrapped packages |
||||
|
||||
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 1.46-2 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Tue Apr 03 2012 Iain Arnell <iarnell@gmail.com> 1.46-1 |
||||
- update to latest upstream - Olson 2012c |
||||
|
||||
* Sun Mar 04 2012 Iain Arnell <iarnell@gmail.com> 1.45-1 |
||||
- update to latest upstream version |
||||
|
||||
* Fri Mar 02 2012 Iain Arnell <iarnell@gmail.com> 1.44-1 |
||||
- update to latest upstream version - Olson 2012b |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.42-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Wed Nov 09 2011 Iain Arnell <iarnell@gmail.com> 1.42-1 |
||||
- update to latest upstream - Olson 2011n |
||||
|
||||
* Tue Oct 25 2011 Iain Arnell <iarnell@gmail.com> 1.41-1 |
||||
- update to latest upstream - Olson 2011m |
||||
|
||||
* Tue Oct 11 2011 Iain Arnell <iarnell@gmail.com> 1.40-1 |
||||
- update to latest upstream - Olson 2011l |
||||
|
||||
* Tue Sep 27 2011 Iain Arnell <iarnell@gmail.com> 1.39-1 |
||||
- update to latest upstream - Olson 2011k |
||||
|
||||
* Wed Sep 14 2011 Iain Arnell <iarnell@gmail.com> 1.37-1 |
||||
- update to latest upstream - Olson 2011j |
||||
|
||||
* Tue Aug 30 2011 Iain Arnell <iarnell@gmail.com> 1.36-1 |
||||
- update to latest upstream - Olson 2011i |
||||
|
||||
* Thu Aug 18 2011 Iain Arnell <iarnell@gmail.com> 1.35-3 |
||||
- rebuild against unbunled perl-DateTime |
||||
|
||||
* Mon Aug 15 2011 Iain Arnell <iarnell@gmail.com> 1.35-2 |
||||
- additional explicit (build)requires for core modules |
||||
|
||||
* Mon Aug 15 2011 Iain Arnell <iarnell@gmail.com> 1.35-1 |
||||
- Specfile autogenerated by cpanspec 1.78. |
||||
- Add bootstrapping logic |
@ -0,0 +1,352 @@
@@ -0,0 +1,352 @@
|
||||
Name: perl-DateTime |
||||
Epoch: 2 |
||||
Version: 1.04 |
||||
Release: 6%{?dist} |
||||
Summary: Date and time object |
||||
License: (Artistic 2.0) and (GPL+ or Artistic) |
||||
Group: Development/Libraries |
||||
URL: http://search.cpan.org/dist/DateTime/ |
||||
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz |
||||
# Restore object after failed truncate() call, bug #1095111, CPAN RT#93347, |
||||
# in 1.09 |
||||
Patch0: DateTime-1.06-Don-t-leave-the-object-in-a-modified-state-after-a-f.patch |
||||
# Add 2015-06-30 leap second, bug #1353509, in 1.20 |
||||
Patch1: DateTime-1.04-There-will-be-a-leap-second-on-June-30-2015.patch |
||||
# Add 2016-12-31 leap second, bug #1353509, in 1.34 |
||||
Patch2: DateTime-1.04-Add-leap-second-on-December-31-2016.patch |
||||
BuildRequires: perl |
||||
BuildRequires: perl(autodie) |
||||
BuildRequires: perl(integer) |
||||
BuildRequires: perl(lib) |
||||
BuildRequires: perl(Module::Build) |
||||
BuildRequires: perl(strict) |
||||
BuildRequires: perl(warnings) |
||||
# Run-time: |
||||
BuildRequires: perl(base) |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(constant) |
||||
BuildRequires: perl(DateTime::Locale) >= 0.41 |
||||
BuildRequires: perl(DateTime::TimeZone) >= 1.09 |
||||
BuildRequires: perl(integer) |
||||
BuildRequires: perl(overload) |
||||
BuildRequires: perl(Params::Validate) >= 0.76 |
||||
BuildRequires: perl(POSIX) |
||||
BuildRequires: perl(Scalar::Util) |
||||
BuildRequires: perl(Try::Tiny) |
||||
BuildRequires: perl(vars) |
||||
BuildRequires: perl(XSLoader) |
||||
# Tests: |
||||
# Cwd not used |
||||
# Test::DependentModules not used |
||||
BuildRequires: perl(Test::Fatal) |
||||
BuildRequires: perl(Test::More) >= 0.88 |
||||
BuildRequires: perl(utf8) |
||||
# Optional tests: |
||||
# circular dependency - perl(DateTime::Format::Strptime) >= 1.2000 |
||||
BuildRequires: perl(Storable) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
||||
Requires: perl(XSLoader) |
||||
|
||||
# not automatically detected |
||||
Provides: perl(DateTimePP) = %{version} |
||||
Provides: perl(DateTimePPExtra) = %{version} |
||||
|
||||
%{?perl_default_filter} |
||||
# Filter under-specified dependencies |
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((DateTime::Locale|DateTime::TimeZone|Params::Validate)\\)$ |
||||
|
||||
%description |
||||
DateTime is a class for the representation of date/time combinations. It |
||||
represents the Gregorian calendar, extended backwards in time before its |
||||
creation (in 1582). This is sometimes known as the "proleptic Gregorian |
||||
calendar". In this calendar, the first day of the calendar (the epoch), is the |
||||
first day of year 1, which corresponds to the date which was (incorrectly) |
||||
believed to be the birth of Jesus Christ. |
||||
|
||||
%prep |
||||
%setup -q -n DateTime-%{version} |
||||
%patch0 -p1 |
||||
%patch1 -p1 |
||||
%patch2 -p1 |
||||
./tools/leap_seconds_header.pl |
||||
|
||||
%build |
||||
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}" |
||||
./Build |
||||
|
||||
%install |
||||
./Build install destdir=%{buildroot} create_packlist=0 |
||||
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; |
||||
%{_fixperms} %{buildroot}/* |
||||
|
||||
%check |
||||
./Build test |
||||
|
||||
%files |
||||
%doc Changes CREDITS LICENSE README TODO |
||||
%{perl_vendorarch}/auto/* |
||||
%{perl_vendorarch}/DateTime* |
||||
%{_mandir}/man3/* |
||||
|
||||
%changelog |
||||
* Wed May 07 2014 Petr Pisar <ppisar@redhat.com> - 2:1.04-6 |
||||
- Restore object after failed truncate() call (bug #1095111) |
||||
- Add 2015-06-30 and 2016-12-31 leap seconds (bug #1353509) |
||||
|
||||
* Tue Jan 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.04-5 |
||||
- Fix license tag |
||||
- Resolves: rhbz#1058691 |
||||
|
||||
* Tue Jan 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.04-4 |
||||
- Update license tag |
||||
- Resolves: rhbz#1058691 |
||||
|
||||
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2:1.04-3 |
||||
- Mass rebuild 2014-01-24 |
||||
|
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2:1.04-2 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Tue Dec 10 2013 Petr Pisar <ppisar@redhat.com> - 2:1.04-1 |
||||
- 1.04 bump |
||||
|
||||
* Tue Jun 25 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.03-1 |
||||
- 1.03 bump |
||||
|
||||
* Tue Apr 02 2013 Petr Šabata <contyk@redhat.com> - 2:1.01-1 |
||||
- 1.01 bump |
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.78-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
||||
|
||||
* Mon Nov 19 2012 Petr Pisar <ppisar@redhat.com> - 2:0.78-1 |
||||
- 0.78 bump |
||||
|
||||
* Thu Oct 18 2012 Petr Pisar <ppisar@redhat.com> - 2:0.77-1 |
||||
- 0.77 bump |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.70-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 2:0.70-4 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.70-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Thu Aug 18 2011 Iain Arnell <iarnell@gmail.com> 2:0.70-2 |
||||
- Additional (Build)Requires from unofficial review |
||||
|
||||
* Mon Aug 15 2011 Iain Arnell <iarnell@gmail.com> 2:0.70-1 |
||||
- Unbundle DateTime::TimeZone and DateTime::Locale |
||||
- Bump epoch and revert to upstream versioning |
||||
- Specfile regenerated by cpanspec 1.78. |
||||
- Update description |
||||
|
||||
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1:0.7000-3 |
||||
- Perl mass rebuild |
||||
|
||||
* Mon Jul 04 2011 Iain Arnell <iarnell@gmail.com> 1:0.7000-2 |
||||
- update DateTime::TimeZone to 1.35 (Olson 2011h) |
||||
- add rpm 4.9 filtering macros |
||||
|
||||
* Fri May 13 2011 Iain Arnell <iarnell@gmail.com> 1:0.7000-1 |
||||
- update DateTime to 0.70 |
||||
|
||||
* Wed May 04 2011 Iain Arnell <iarnell@gmail.com> 1:0.6900-1 |
||||
- update DateTime to 0.69 |
||||
- update DateTime::TimeZone to 1.34 (Olson 2011g) |
||||
|
||||
* Sun Apr 24 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-6 |
||||
- fix the testing for loop |
||||
|
||||
* Sun Apr 24 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-5 |
||||
- update DateTime::TimeZone to 1.33 (Olson 2011f) |
||||
|
||||
* Wed Apr 06 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-4 |
||||
- update DateTime::TimeZone to 1.32 (Olson 2011e) |
||||
|
||||
* Sat Mar 26 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-3 |
||||
- update DateTime::TimeZone to 1.31 |
||||
- DateTime::TimeZone no longer has Build.PL; use Makefile.PL |
||||
- whitespace cleanup |
||||
- clean up .packlist |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.6600-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Sun Dec 12 2010 Steven Pritchard <steve@kspei.com> 1:0.6600-1 |
||||
- Update DateTime to 0.66. |
||||
- Update DateTime::TimeZone to 1.26. |
||||
- Update URL for FAQ in description. |
||||
- BR Class::Load and parent. |
||||
|
||||
* Sat Oct 09 2010 Iain Arnell <iarnell@gmail.com> 1:0.6300-1 |
||||
- Update DateTime to 0.63 |
||||
- Update DateTime::TimeZone to 1.22 |
||||
- DateTime license changed from "GPL+ or Artistic" to "Artistic 2.0" |
||||
- Fix DTLocale/Changelog encoding |
||||
|
||||
* Mon Jun 14 2010 Petr Sabata <psabata@redhat.com> - 1:0.5300-4 |
||||
- perl-DateTime-Locale-0.45 update |
||||
|
||||
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.5300-3 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Wed Jan 27 2010 Stepan Kasal <skasal@redhat.com> - 1:0.5300-2 |
||||
- new upstream version of DateTime-TimeZone |
||||
|
||||
* Fri Jan 15 2010 Stepan Kasal <skasal@redhat.com> - 1:0.5300-1 |
||||
- new upstream version |
||||
- use Build.PL as Makefile.PL no longer exists |
||||
- use iconv to recode to utf-8, not a patch |
||||
- update BuildRequires |
||||
- drop Provides: perl(DateTime::TimeZoneCatalog), it is no longer there |
||||
- use filtering macros |
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1:0.4501-4 |
||||
- rebuild against perl 5.10.1 |
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.4501-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.4501-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Tue Dec 09 2008 Steven Pritchard <steve@kspei.com> 1:0.4501-1 |
||||
- Update to DateTime 0.4501. |
||||
|
||||
* Mon Nov 10 2008 Steven Pritchard <steve@kspei.com> 1:0.4401-1 |
||||
- Update to DateTime 0.4401. |
||||
- Update to DateTime::Locale 0.42. |
||||
- Update to DateTime::TimeZone 0.8301. |
||||
|
||||
* Mon Sep 08 2008 Steven Pritchard <steve@kspei.com> 1:0.4304-2 |
||||
- Update to DateTime::TimeZone 0.7904. |
||||
|
||||
* Tue Jul 15 2008 Steven Pritchard <steve@kspei.com> 1:0.4304-1 |
||||
- Update to DateTime 0.4304. |
||||
- Update to DateTime::TimeZone 0.78. |
||||
- Update to DateTime::Locale 0.41. |
||||
|
||||
* Tue Jul 08 2008 Steven Pritchard <steve@kspei.com> 1:0.4302-2 |
||||
- Update to DateTime::TimeZone 0.7701. |
||||
|
||||
* Sat May 31 2008 Steven Pritchard <steve@kspei.com> 1:0.4302-1 |
||||
- Update to DateTime 0.4302. |
||||
- Update to DateTime::TimeZone 0.77. |
||||
- Update to DateTime::Locale 0.4001. |
||||
- BR List::MoreUtils. |
||||
- Define IS_MAINTAINER so we run the pod tests. |
||||
|
||||
* Thu May 15 2008 Steven Pritchard <steve@kspei.com> 1:0.42-1 |
||||
- Update to DateTime 0.42. |
||||
- Update to DateTime::TimeZone 0.75. |
||||
- Update FAQ URL in description. |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:0.41-5 |
||||
- Rebuild for perl 5.10 (again) |
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:0.41-4 |
||||
- Autorebuild for GCC 4.3 |
||||
|
||||
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1:0.41-3 |
||||
- rebuild for new perl |
||||
|
||||
* Tue Dec 11 2007 Steven Pritchard <steve@kspei.com> 1:0.41-2 |
||||
- Update License tag. |
||||
- Update to DateTime::TimeZone 0.70. |
||||
|
||||
* Mon Sep 17 2007 Steven Pritchard <steve@kspei.com> 1:0.41-1 |
||||
- Update to DateTime 0.41. |
||||
- Update to DateTime::Locale 0.35. |
||||
- Update to DateTime::TimeZone 0.67. |
||||
|
||||
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1:0.39-2 |
||||
- Rebuild for selinux ppc32 issue. |
||||
|
||||
* Sun Jul 22 2007 Steven Pritchard <steve@kspei.com> 1:0.39-1 |
||||
- Update to DateTime 0.39. |
||||
- Update to DateTime::TimeZone 0.6603. |
||||
|
||||
* Thu Jul 05 2007 Steven Pritchard <steve@kspei.com> 1:0.38-2 |
||||
- BR Test::Output. |
||||
|
||||
* Mon Jul 02 2007 Steven Pritchard <steve@kspei.com> 1:0.38-1 |
||||
- Update to DateTime 0.38. |
||||
- Update to DateTime::TimeZone 0.6602. |
||||
- BR Test::Pod::Coverage. |
||||
|
||||
* Mon Apr 02 2007 Steven Pritchard <steve@kspei.com> 1:0.37-3 |
||||
- Drop BR DateTime::Format::* to avoid circular build deps. |
||||
|
||||
* Mon Apr 02 2007 Steven Pritchard <steve@kspei.com> 1:0.37-2 |
||||
- Filter Win32::TieRegistry dependency. |
||||
- Do the provides filter like we do in cpanspec. |
||||
- Drop some macro usage. |
||||
|
||||
* Sat Mar 31 2007 Steven Pritchard <steve@kspei.com> 1:0.37-1 |
||||
- Update to DateTime 0.37. |
||||
- Update to DateTime::TimeZone 0.63. |
||||
|
||||
* Tue Mar 13 2007 Steven Pritchard <steve@kspei.com> 1:0.36-2 |
||||
- Update to DateTime::Locale 0.34. |
||||
- Update to DateTime::TimeZone 0.62. |
||||
|
||||
* Mon Jan 22 2007 Steven Pritchard <steve@kspei.com> 1:0.36-1 |
||||
- Update to Date::Time 0.36. |
||||
- Update to DateTime::Locale 0.33. |
||||
- Update to DateTime::TimeZone 0.59. |
||||
|
||||
* Fri Nov 03 2006 Steven Pritchard <steve@kspei.com> 1:0.35-1 |
||||
- Update to DateTime 0.35. |
||||
- Update to DateTime::Locale 0.3101. |
||||
- LICENSE.icu seems to have been renamed LICENSE.cldr. |
||||
- Update to DateTime::TimeZone 0.54. |
||||
- Use fixperms macro instead of our own chmod incantation. |
||||
- Convert DateTime::LeapSecond to UTF-8 to avoid a rpmlint warning. |
||||
|
||||
* Tue Aug 29 2006 Steven Pritchard <steve@kspei.com> 1:0.34-3 |
||||
- Update to DateTime::TimeZone 0.48. |
||||
|
||||
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 1:0.34-2 |
||||
- Update to DateTime::TimeZone 0.47. |
||||
|
||||
* Mon Aug 14 2006 Steven Pritchard <steve@kspei.com> 1:0.34-1 |
||||
- Update to DateTime 0.34. |
||||
|
||||
* Fri Jul 28 2006 Steven Pritchard <steve@kspei.com> 1:0.32-1 |
||||
- Update to DateTime 0.32. |
||||
- Improve Summary, description, and source URLs. |
||||
- Fix find option order. |
||||
|
||||
* Thu Jul 13 2006 Steven Pritchard <steve@kspei.com> 1:0.31-2 |
||||
- BR DateTime::Format::ICal and DateTime::Format::Strptime for better |
||||
test coverage. |
||||
|
||||
* Wed May 24 2006 Steven Pritchard <steve@kspei.com> 1:0.31-1 |
||||
- Update DateTime to 0.31. |
||||
- Update DateTime::TimeZone to 0.46. |
||||
|
||||
* Mon Feb 27 2006 Steven Pritchard <steve@kspei.com> 1:0.30-3 |
||||
- Bump Epoch (argh, 0.2901 > 0.30 to rpm) |
||||
- Update DateTime::TimeZone to 0.42 |
||||
|
||||
* Sat Feb 18 2006 Steven Pritchard <steve@kspei.com> 0.30-2 |
||||
- Update DateTime::TimeZone to 0.41 |
||||
|
||||
* Tue Jan 10 2006 Steven Pritchard <steve@kspei.com> 0.30-1 |
||||
- Update DateTime to 0.30 |
||||
- Update DateTime::TimeZone to 0.40 |
||||
|
||||
* Fri Sep 16 2005 Paul Howarth <paul@city-fan.org> 0.2901-2 |
||||
- Unpack each tarball only once |
||||
- Use Module::Build's build script where available |
||||
- Help each module find the others when needed |
||||
- Clean up files list |
||||
- Include additional documentation from DT::Locale & DT::TimeZone |
||||
- Add BR: perl(File::Find::Rule) & perl(Test::Pod) to improve test coverage |
||||
- Remove unversioned provides of perl(DateTime) & perl(DateTime::TimeZone) |
||||
|
||||
* Wed Aug 31 2005 Steven Pritchard <steve@kspei.com> 0.2901-1 |
||||
- Specfile autogenerated. |
@ -0,0 +1,138 @@
@@ -0,0 +1,138 @@
|
||||
Name: perl-File-Find-Rule |
||||
Version: 0.33 |
||||
Release: 5%{?dist} |
||||
Summary: Perl module implementing an alternative interface to File::Find |
||||
License: GPL+ or Artistic |
||||
Group: Development/Libraries |
||||
URL: http://search.cpan.org/dist/File-Find-Rule/ |
||||
Source0: http://www.cpan.org/modules/by-module/File/File-Find-Rule-%{version}.tar.gz |
||||
|
||||
BuildArch: noarch |
||||
BuildRequires: perl |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
BuildRequires: perl(File::Find) |
||||
BuildRequires: perl(File::Spec) |
||||
BuildRequires: perl(File::Spec::Functions) |
||||
BuildRequires: perl(lib) |
||||
BuildRequires: perl(Number::Compare) |
||||
BuildRequires: perl(strict) |
||||
BuildRequires: perl(Text::Glob) >= 0.07 |
||||
BuildRequires: perl(Test::More) |
||||
BuildRequires: perl(vars) |
||||
BuildRequires: perl(warnings) |
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
|
||||
%description |
||||
File::Find::Rule is a friendlier interface to File::Find. It allows |
||||
you to build rules which specify the desired files and directories. |
||||
|
||||
%prep |
||||
%setup -q -n File-Find-Rule-%{version} |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
make pure_install DESTDIR=%{buildroot} |
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} + |
||||
chmod -R u+w %{buildroot}/* |
||||
|
||||
%check |
||||
make test |
||||
|
||||
%files |
||||
%doc Changes |
||||
%{_bindir}/findrule |
||||
%{_mandir}/man1/* |
||||
%{perl_vendorlib}/File |
||||
%{_mandir}/man3/* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.33-5 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Tue Jul 16 2013 Petr Šabata <contyk@redhat.com> - 0.33-4.3 |
||||
- Minor polishing for EL7 |
||||
|
||||
* Tue Jul 09 2013 Petr Šabata <contyk@redhat.com> - 0.33-4.2 |
||||
- Correct dependencies, remove unneeded constructs, and unify whitespace |
||||
|
||||
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 0.33-4.1 |
||||
- Rebuild for perl 5.16 |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.33-3 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Thu Oct 13 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.33-1 |
||||
- Upstream update. |
||||
- Modernize spec file. |
||||
|
||||
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.32-6 |
||||
- Perl mass rebuild |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.32-4 |
||||
- 661697 rebuild for fixing problems with vendorach/lib |
||||
|
||||
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.32-3 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.32-2 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Mon Dec 14 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.32-1 |
||||
- Upstream update. |
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.30-9 |
||||
- rebuild against perl 5.10.1 |
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-8 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-7 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.30-6 |
||||
- Rebuild for perl 5.10 (again) |
||||
|
||||
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.30-5 |
||||
- rebuild for new perl |
||||
|
||||
* Tue Dec 11 2007 Ralf Corsépius <rc040203@freenet.de> - 0.30-4 |
||||
- Add BR: perl(Test::More) (BZ 419631). |
||||
|
||||
* Mon Sep 03 2007 Ralf Corsépius <rc040203@freenet.de> - 0.30-3 |
||||
- Update license tag. |
||||
- Add BR: perl(ExtUtils::MakeMaker). |
||||
|
||||
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.30-2 |
||||
- Mass rebuild. |
||||
|
||||
* Mon Jun 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.30-1 |
||||
- Upstream update. |
||||
|
||||
* Sun May 21 2006 Ralf Corsépius <rc040203@freenet.de> - 0.29-1 |
||||
- Upstream update. |
||||
|
||||
* Tue Feb 28 2006 Ralf Corsépius <rc040203@freenet.de> - 0.28-4 |
||||
- Rebuild for perl-5.8.8. |
||||
|
||||
* Tue Aug 16 2005 Ralf Corsepius <ralf@links2linux.de> - 0.28-3 |
||||
- Spec cleanup. |
||||
|
||||
* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 0.28-2 |
||||
- FE re-submission. |
||||
|
||||
* Mon Mar 21 2005 Ralf Corsepius <ralf@links2linux.de> - 0.28-1 |
||||
- FE submission. |
@ -0,0 +1,201 @@
@@ -0,0 +1,201 @@
|
||||
Name: perl-File-Remove |
||||
Version: 1.52 |
||||
Release: 6%{?dist} |
||||
Summary: Convenience module for removing files and directories |
||||
License: GPL+ or Artistic |
||||
Group: Development/Libraries |
||||
URL: http://search.cpan.org/dist/File-Remove/ |
||||
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-Remove-%{version}.tar.gz |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
BuildRequires: perl |
||||
BUildRequires: perl(Config) |
||||
BuildRequires: perl(constant) |
||||
BuildRequires: perl(Cwd) >= 3.29 |
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.36 |
||||
BuildRequires: perl(ExtUtils::MM_Unix) |
||||
BuildRequires: perl(Fcntl) |
||||
BuildRequires: perl(File::Find) |
||||
BuildRequires: perl(File::Glob) |
||||
BuildRequires: perl(File::Path) |
||||
BuildRequires: perl(File::Spec) >= 3.29 |
||||
BuildRequires: perl(File::Spec::Functions) |
||||
BuildRequires: perl(File::Temp) |
||||
BuildRequires: perl(strict) |
||||
BuildRequires: perl(Test::More) >= 0.42 |
||||
BuildRequires: perl(vars) |
||||
BuildArch: noarch |
||||
|
||||
%description |
||||
%{summary}. |
||||
|
||||
%prep |
||||
%setup -q -n File-Remove-%{version} |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
make pure_install DESTDIR=%{buildroot} |
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} + |
||||
chmod -R u+w %{buildroot}/* |
||||
|
||||
%check |
||||
make test |
||||
|
||||
%files |
||||
%doc Changes README LICENSE |
||||
%{perl_vendorlib}/File |
||||
%{_mandir}/man3/* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.52-6 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Mon Jul 22 2013 Petr Šabata <contyk@redhat.com> - 1.52-5.1 |
||||
- Correct the build-time dependency list |
||||
- Add a fullstop to description |
||||
- Remove unnecessary cruft |
||||
|
||||
* Wed Jan 30 2013 Petr Šabata <contyk@redhat.com> - 1.52-5 |
||||
- Use the Module::Install provided by upstream (#906007) |
||||
|
||||
* Wed Nov 28 2012 Petr Šabata <contyk@redhat.com> - 1.52-4 |
||||
- Add missing buildtime deps |
||||
- Unbundle Module::Install |
||||
- Drop command macros |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.52-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.52-2 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Tue Mar 20 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.52-1 |
||||
- Upstream update. |
||||
- Remove File-Remove-1.51.diff. |
||||
- BR: perl(File::Spec) >= 3.29. |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.51-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Fri Nov 25 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.51-1 |
||||
- Upstream update. |
||||
- Add File-Remove-1.51.diff/Remove File-Remove-1.50.diff. |
||||
|
||||
* Mon Jul 18 2011 Petr Sabata <contyk@redhat.com> - 1.50-2 |
||||
- Perl mass rebuild |
||||
|
||||
* Sun Jul 17 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.50-1 |
||||
- Upstream update. |
||||
- Add File-Remove-1.50.diff/Remove File-Remove-1.49.diff. |
||||
|
||||
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.49-2 |
||||
- Perl mass rebuild |
||||
|
||||
* Mon Mar 28 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.49-1 |
||||
- Upstream update. |
||||
- Add File-Remove-1.49.diff/Remove File-Remove-1.46.diff. |
||||
- Spec file cleanup. |
||||
|
||||
* Fri Feb 18 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.46-1 |
||||
- Upstream update. |
||||
- Remove xt-tests's deps (Upstream doesn't want us to test their works). |
||||
- Work around rpm-/perl-version conflicts. |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.42-9 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.42-8 |
||||
- 661697 rebuild for fixing problems with vendorach/lib |
||||
|
||||
* Sun May 09 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.42-7 |
||||
- Rebuild with perl-5.12.0. |
||||
|
||||
* Sun May 09 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.42-6 |
||||
- Let META.yml require perl 5.006 (Fix perl-5.12.0 build breakdown). |
||||
- Revert 2010-05-01 changes. |
||||
|
||||
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.42-5 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.42-4 |
||||
- rebuild against perl 5.10.1 |
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.42-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.42-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Wed Sep 10 2008 Ralf Corsepius <rc040203@freenet.de> - 1.42-1 |
||||
- Upstream update. |
||||
|
||||
* Tue Jun 10 2008 Ralf Corsepius <rc040203@freenet.de> - 1.41-1 |
||||
- Upstream update. |
||||
|
||||
* Thu Mar 13 2008 Ralf Corsepius <rc040203@freenet.de> - 1.40-1 |
||||
- Upstream update. |
||||
|
||||
* Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.39-7 |
||||
- Rebuild normally, second pass |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.39-6 |
||||
- Rebuild for perl 5.10 (again), first pass |
||||
|
||||
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.39-5 |
||||
- rebuild normally, second pass |
||||
|
||||
* Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.39-4.1 |
||||
- rebuild, first pass, without TMV, tests |
||||
|
||||
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.39-4 |
||||
- rebuild for new perl |
||||
|
||||
* Sun Nov 25 2007 Ralf Corsépius <rc040203@freenet.de> - 0.39-3 |
||||
- Really BR: perl(Test::MinimumVersion). |
||||
|
||||
* Sun Nov 25 2007 Ralf Corsépius <rc040203@freenet.de> - 0.39-2 |
||||
- Add BR: perl(Test::MinimumVersion). |
||||
|
||||
* Tue Nov 20 2007 Ralf Corsépius <rc040203@freenet.de> - 0.39-1 |
||||
- Upstream update. |
||||
|
||||
* Wed Oct 17 2007 Ralf Corsépius <rc040203@freenet.de> - 0.38-1 |
||||
- Upstream update. |
||||
|
||||
* Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 0.37-2 |
||||
- Update license tag. |
||||
|
||||
* Tue Jul 10 2007 Ralf Corsépius <rc040203@freenet.de> - 0.37-1 |
||||
- Upstream update. |
||||
|
||||
* Mon Jul 02 2007 Ralf Corsépius <rc040203@freenet.de> - 0.36-2 |
||||
- Increment release due to koji suckage. |
||||
|
||||
* Mon Jul 02 2007 Ralf Corsépius <rc040203@freenet.de> - 0.36-1 |
||||
- Upsteam update. |
||||
- BR: perl(ExtUtils::MakeMaker). |
||||
- BR: perl(Test::More). |
||||
|
||||
* Mon Nov 27 2006 Ralf Corsépius <rc040203@freenet.de> - 0.34-1 |
||||
- Upstream update. |
||||
- Fix URL in Source0. |
||||
|
||||
* Fri Nov 03 2006 Ralf Corsépius <rc040203@freenet.de> - 0.33-1 |
||||
- Upstream update. |
||||
|
||||
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.31-3 |
||||
- Mass rebuild. |
||||
|
||||
* Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 0.31-2 |
||||
- Rebuild for perl-5.8.8. |
||||
|
||||
* Wed Jan 11 2006 Ralf Corsepius <rc040203@freenet.de> - 0.31-1 |
||||
- Upstream update. |
||||
|
||||
* Tue Sep 13 2005 Ralf Corsepius <rc040203@freenet.de> - 0.30-2 |
||||
- Change %%summary according to Ville's preference. |
||||
|
||||
* Tue Sep 13 2005 Ralf Corsepius <rc040203@freenet.de> - 0.30-1 |
||||
- FE submission. |
@ -0,0 +1,113 @@
@@ -0,0 +1,113 @@
|
||||
Name: perl-File-Which |
||||
Version: 1.09 |
||||
Release: 12%{?dist} |
||||
Summary: Portable implementation of the 'which' utility |
||||
Group: Development/Libraries |
||||
License: GPL+ or Artistic |
||||
URL: http://search.cpan.org/dist/File-Which/ |
||||
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/File-Which-%{version}.tar.gz |
||||
BuildArch: noarch |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
%if !%{defined perl_bootstrap} |
||||
BuildRequires: perl(constant) |
||||
BuildRequires: perl(Exporter) |
||||
BuildRequires: perl(File::Spec) |
||||
BuildRequires: perl(Test::More) |
||||
BuildRequires: perl(Test::Script) |
||||
%endif |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
|
||||
%description |
||||
File::Which is a portable implementation (in Perl) of 'which', and can |
||||
be used to get the absolute filename of an executable program |
||||
installed somewhere in your PATH, or just check for its existence. It |
||||
includes the command-line utility 'pwhich' which has the same function |
||||
as 'which'. |
||||
|
||||
%prep |
||||
%setup -q -n File-Which-%{version} |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
make pure_install PERL_INSTALL_ROOT=%{buildroot} |
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' |
||||
chmod -R u+w %{buildroot}/* |
||||
|
||||
%check |
||||
%if !%{defined perl_bootstrap} |
||||
make test |
||||
%endif |
||||
|
||||
%files |
||||
%doc Changes README |
||||
%{_bindir}/pwhich |
||||
%{perl_vendorlib}/File/ |
||||
%{_mandir}/man1/*.1* |
||||
%{_mandir}/man3/*.3pm* |
||||
|
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.09-12 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Wed Oct 24 2012 Petr Šabata <contyk@redhat.com> - 1.09-11 |
||||
- Specify all dependencies |
||||
- Modernize spec |
||||
- Drop command macros |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-10 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.09-9 |
||||
- Perl 5.16 re-rebuild of bootstrapped packages |
||||
|
||||
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1.09-8 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-7 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.09-6 |
||||
- Perl mass rebuild |
||||
- add perl_bootstrap macro |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-4 |
||||
- 661697 rebuild for fixing problems with vendorach/lib |
||||
|
||||
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-3 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.09-2 |
||||
- rebuild against perl 5.10.1 |
||||
|
||||
* Mon Oct 5 2009 Stepan Kasal <skasal@redhat.com> - 1.09-1 |
||||
- new upstream version |
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-6 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.05-4 |
||||
- Rebuild for perl 5.10 (again) |
||||
|
||||
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.05-3 |
||||
- rebuild for new perl |
||||
|
||||
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.05-2.1 |
||||
- correct license tag |
||||
- add BR: perl(ExtUtils::MakeMaker) |
||||
|
||||
* Mon Dec 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.05-2 |
||||
- find: fixed arguments order. |
||||
|
||||
* Sun Dec 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.05-1 |
||||
- First build. |
@ -0,0 +1,236 @@
@@ -0,0 +1,236 @@
|
||||
Name: perl-GD |
||||
Version: 2.49 |
||||
Release: 4%{?dist} |
||||
Summary: Perl interface to the GD graphics library |
||||
Group: Development/Libraries |
||||
License: GPL+ or Artistic |
||||
URL: http://search.cpan.org/dist/GD/ |
||||
Source0: http://www.cpan.org/authors/id/L/LD/LDS/GD-%{version}.tar.gz |
||||
# see http://rt.cpan.org/Public/Bug/Display.html?id=85789 |
||||
Patch0: %{name}-2.49-skip-2-10.patch |
||||
BuildRequires: gd-devel >= 2.0.28 |
||||
BuildRequires: perl |
||||
BuildRequires: perl(AutoLoader) |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(Config) |
||||
BuildRequires: perl(constant) |
||||
BuildRequires: perl(DynaLoader) |
||||
BuildRequires: perl(Exporter) |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
BuildRequires: perl(FileHandle) |
||||
BuildRequires: perl(FindBin) |
||||
BuildRequires: perl(Getopt::Long) |
||||
BuildRequires: perl(lib) |
||||
BuildRequires: perl(Math::Trig) |
||||
BuildRequires: perl(strict) |
||||
BuildRequires: perl(Test) |
||||
BuildRequires: perl(vars) |
||||
Requires: gd >= 2.0.28 |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
|
||||
%{?perl_default_filter} |
||||
|
||||
%description |
||||
This is a autoloadable interface module for GD, a popular library |
||||
for creating and manipulating PNG files. With this library you can |
||||
create PNG images on the fly or modify existing files. |
||||
|
||||
%prep |
||||
%setup -q -n GD-%{version} |
||||
|
||||
%patch0 -p1 |
||||
|
||||
perl -pi -e 's|/usr/local/bin/perl\b|%{__perl}|' \ |
||||
qd.pl demos/{*.{pl,cgi},truetype_test} |
||||
chmod -c 644 bdf_scripts/* demos/* |
||||
chmod -c 755 qd.pl |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" |
||||
make %{?_smp_mflags} OPTIMIZE="%{optflags}" |
||||
|
||||
%install |
||||
make pure_install DESTDIR=%{buildroot} |
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} + |
||||
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} + |
||||
chmod -R u+w %{buildroot}/* |
||||
|
||||
%check |
||||
%ifarch ppc |
||||
: ignored as testsuite fails on ppc |
||||
%else |
||||
make test |
||||
%endif |
||||
|
||||
%files |
||||
%doc ChangeLog README README.QUICKDRAW demos/ |
||||
%{_bindir}/* |
||||
%{perl_vendorarch}/auto/GD |
||||
%{perl_vendorarch}/GD* |
||||
%{perl_vendorarch}/qd.pl |
||||
%{_mandir}/man1/*.1* |
||||
%{_mandir}/man3/*.3* |
||||
|
||||
%changelog |
||||
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.49-3 |
||||
- Mass rebuild 2014-01-24 |
||||
|
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.49-2 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Fri Aug 02 2013 Petr Šabata <contyk@redhat.com> - 2.49-1.1 |
||||
- Fix the dependency list |
||||
- Fix a bogus date in changelog |
||||
|
||||
* Tue Jun 11 2013 Remi Collet <rcollet@redhat.com> - 2.49-1 |
||||
- update to 2.49 |
||||
- ignore GD tests 2..10, results are "visibly" correct #973139 |
||||
|
||||
* Tue Jun 11 2013 Remi Collet <rcollet@redhat.com> - 2.46-4 |
||||
- rebuild for new GD 2.1.0 |
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.46-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
||||
|
||||
* Mon Jan 21 2013 Adam Tkac <atkac redhat com> - 2.46-2 |
||||
- rebuild due to "jpeg8-ABI" feature drop |
||||
|
||||
* Thu Oct 25 2012 Petr Šabata <contyk@redhat.com> - 2.46-1 |
||||
- 2.46 bump |
||||
- Specify all dependencies |
||||
- Drop command macros |
||||
- Modernize the spec and clean whitespace |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.44-12 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 2.44-11 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.44-10 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Thu Nov 10 2011 Iain Arnell <iarnell@gmail.com> 2.44-9 |
||||
- Rebuild for libpng 1.5 |
||||
|
||||
* Sat Jun 18 2011 Iain Arnell <iarnell@gmail.com> 2.44-8 |
||||
- patch to avoid issue with ExtUtils::MakeMaker and CCFLAGS |
||||
see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628522 |
||||
- clean up spec for modern rpmbuild |
||||
- use perl_default_filter |
||||
|
||||
* Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.44-7 |
||||
- Perl mass rebuild |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.44-6 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.44-5 |
||||
- 661697 rebuild for fixing problems with vendorach/lib |
||||
|
||||
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.44-4 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 2.44-3 |
||||
- rebuild against perl 5.10.1 |
||||
|
||||
* Thu Oct 29 2009 Stepan Kasal <skasal@redhat.com> - 2.44-2 |
||||
- give up tests on ppc |
||||
|
||||
* Mon Oct 5 2009 Stepan Kasal <skasal@redhat.com> - 2.44-1 |
||||
- new upstream version |
||||
- run tests always |
||||
- do not add bdf_scripts/ to docs |
||||
- switch off the test that fails in i686 koji |
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.41-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Mon Mar 16 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.41-2 |
||||
- fix Makefile.PL to install GD/Group.pm (bz 490429) |
||||
|
||||
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.41-1 |
||||
- update to 2.41 |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.39-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Mon Jul 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.39-1 |
||||
- update to 2.39 |
||||
|
||||
* Fri Apr 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.35-7 |
||||
- tests work fine locally, one fails in mock, maybe needs a desktop? |
||||
conditionalized them, default off. |
||||
|
||||
* Fri Apr 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.35-6 |
||||
- license fix |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.35-5 |
||||
- Rebuild for perl 5.10 (again) |
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.35-4 |
||||
- Autorebuild for GCC 4.3 |
||||
|
||||
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.35-3 |
||||
- rebuild for new perl |
||||
|
||||
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.35-2.1 |
||||
- add BR: perl(ExtUtils::MakeMaker) |
||||
|
||||
* Sun Oct 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.35-2 |
||||
- Removed a duplicate file (bdf_scripts/bdf2gdfont.PLS). |
||||
|
||||
* Tue Sep 5 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.35-1 |
||||
- Update to 2.35. |
||||
|
||||
* Sat Jun 3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.34-1 |
||||
- Update to 2.34. |
||||
|
||||
* Wed Mar 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.32-1 |
||||
- Update to 2.32. |
||||
|
||||
* Tue Feb 21 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.31-1 |
||||
- Update to 2.31. |
||||
|
||||
* Wed Feb 15 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.30-3 |
||||
- Missing BR: fontconfig-devel. |
||||
|
||||
* Mon Feb 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.30-2 |
||||
- Modular X (libX11-devel, libXpm-devel). |
||||
|
||||
* Fri Oct 21 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.30-1 |
||||
- Update to 2.30. |
||||
|
||||
* Mon Aug 8 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.28-1 |
||||
- Update to 2.28. |
||||
|
||||
* Tue Jul 19 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.25-1 |
||||
- Update to 2.25. |
||||
|
||||
* Fri Apr 8 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.23-2 |
||||
- rebuilt |
||||
|
||||
* Wed Mar 9 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.23-1 |
||||
- Update to 2.23. |
||||
|
||||
* Thu Dec 09 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:2.19-1 |
||||
- Update to 2.19. |
||||
- GIF support has been restored in gd 2.0.28. |
||||
- Module autoconfigures itself with the gdlib-config program. |
||||
|
||||
* Mon Jun 28 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:2.12-0.fdr.3 |
||||
- Avoid RPATH problem in FC1 (bug 1756). |
||||
- Replaced hardcoded value by rpmmacro (%%{__perl}) (bug 1756). |
||||
|
||||
* Mon Jun 14 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:2.12-0.fdr.2 |
||||
- Bring up to date with current fedora.us perl spec template. |
||||
|
||||
* Sat Feb 7 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:2.12-0.fdr.1 |
||||
- Update to 2.12. |
||||
- Reduce directory ownership bloat. |
||||
|
||||
* Tue Nov 18 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.11-0.fdr.1 |
||||
- Update to 2.11. |
||||
|
||||
* Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.41-0.fdr.1 |
||||
- First build. |
@ -0,0 +1,149 @@
@@ -0,0 +1,149 @@
|
||||
Name: perl-IPC-Run3 |
||||
Version: 0.045 |
||||
Release: 6%{?dist} |
||||
Summary: Run a subprocess in batch mode |
||||
License: GPL+ or Artistic or BSD |
||||
Group: Development/Libraries |
||||
URL: http://search.cpan.org/dist/IPC-Run3/ |
||||
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/IPC-Run3-%{version}.tar.gz |
||||
BuildArch: noarch |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(constant) |
||||
BuildRequires: perl(Exporter) |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
BuildRequires: perl(File::Temp) |
||||
BuildRequires: perl(Getopt::Long) |
||||
BuildRequires: perl(Test) |
||||
BuildRequires: perl(Test::More) >= 0.31 |
||||
BuildRequires: perl(Time::HiRes) |
||||
# For improved tests |
||||
BuildRequires: perl(Test::Pod::Coverage) |
||||
BuildRequires: perl(Test::Pod) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
# Time::HiRes needed for debugging with IPCRUN3PROFILE=1, bug #1034866 |
||||
Requires: perl(Time::HiRes) |
||||
|
||||
%description |
||||
This module allows you to run a subprocess and redirect stdin, stdout, |
||||
and/or stderr to files and perl data structures. It aims to satisfy 99% of |
||||
the need for using system, qx, and open3 with a simple, extremely Perlish |
||||
API and none of the bloat and rarely used features of IPC::Run. |
||||
|
||||
%prep |
||||
%setup -q -n IPC-Run3-%{version} |
||||
# Perms in tarballs are broken |
||||
find -type f -exec chmod -x {} \; |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT |
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
||||
%{_fixperms} $RPM_BUILD_ROOT/* |
||||
|
||||
%check |
||||
make test |
||||
|
||||
%files |
||||
%defattr(-,root,root,-) |
||||
%doc Changes LICENSE README |
||||
%{perl_vendorlib}/* |
||||
%{_mandir}/man3/* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.045-6 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Thu Nov 28 2013 Petr Pisar <ppisar@redhat.com> - 0.045-5 |
||||
- Add run-time dependency on Time::HiRes for for debugging mode (bug #1034866) |
||||
|
||||
* Fri Nov 23 2012 Petr Šabata <contyk@redhat.com> - 0.045-4 |
||||
- Add missing BRs |
||||
- Drop command macros |
||||
- Remove redundant parens from the Licence tag |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.045-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.045-2 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Thu Jan 05 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.045-1 |
||||
- Upstream update. |
||||
- Modernize spec file. |
||||
|
||||
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.044-4 |
||||
- Perl mass rebuild |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.044-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.044-2 |
||||
- 661697 rebuild for fixing problems with vendorach/lib |
||||
|
||||
* Mon Sep 13 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.044-1 |
||||
- Upstream update. |
||||
- BR: perl(Test::More), perl(Time::HiRes). |
||||
|
||||
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.043-4 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.043-3 |
||||
- rebuild against perl 5.10.1 |
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.043-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Wed Jun 17 2009 Ralf Corsépius <corsepiu@fedoraproject.org> 0.043-1 |
||||
- Upstream update. |
||||
- Reflect upstream URL having changed. |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.042-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Sat Nov 29 2008 Ralf Corsépius <corsepiu@fedoraproject.org> 0.042-3 |
||||
- Change %%summary. |
||||
|
||||
* Thu Aug 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.042-2 |
||||
- fix license tag (technically, it was correct before, but this keeps rpmlint from |
||||
flagging this package as a false positive) |
||||
|
||||
* Mon Aug 25 2008 Ralf Corsépius <corsepiu@fedoraproject.org> 0.042-1 |
||||
- Upstream update. |
||||
|
||||
* Fri Aug 08 2008 Ralf Corsépius <rc040203@freenet.de> 0.041-1 |
||||
- Upstream update. |
||||
|
||||
* Thu May 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.040-5 |
||||
- reorder license tag so it doesn't flag as a false positive |
||||
|
||||
* Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.040-4 |
||||
- Rebuild normally, second pass |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.040-3 |
||||
- Rebuild for perl 5.10 (again), disable tests for first pass |
||||
|
||||
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.040-2 |
||||
- rebuild normally, second pass |
||||
|
||||
* Sat Jan 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.040-1.1 |
||||
- rebuild for new perl, disable tests and TPC for first pass |
||||
|
||||
* Fri Dec 28 2007 Ralf Corsépius <rc040203@freenet.de> 0.040-1 |
||||
- Upstream update. |
||||
- chmod -x files from source tarball. |
||||
|
||||
* Tue Nov 27 2007 Ralf Corsépius <rc040203@freenet.de> 0.039-2 |
||||
- Bump release to please koji suckage. |
||||
|
||||
* Tue Nov 27 2007 Ralf Corsépius <rc040203@freenet.de> 0.039-1 |
||||
- Upstream update. |
||||
|
||||
* Fri Sep 07 2007 Ralf Corsépius <rc040203@freenet.de> 0.037-2 |
||||
- Initial import. |
||||
- Update license tag. |
||||
|
||||
* Tue Aug 07 2007 Ralf Corsépius <rc040203@freenet.de> 0.037-1 |
||||
- Initial submission. |
@ -0,0 +1,188 @@
@@ -0,0 +1,188 @@
|
||||
Name: perl-List-MoreUtils |
||||
Version: 0.33 |
||||
Release: 9%{?dist} |
||||
Summary: Provide the stuff missing in List::Util |
||||
Group: Development/Libraries |
||||
License: GPL+ or Artistic |
||||
URL: http://search.cpan.org/dist/List-MoreUtils/ |
||||
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/List-MoreUtils-%{version}.tar.gz |
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(constant) |
||||
BuildRequires: perl(Exporter) |
||||
BuildRequires: perl(ExtUtils::CBuilder) |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
BuildRequires: perl(Pod::Simple) |
||||
BuildRequires: perl(Test::CPAN::Meta) |
||||
# For EL-7 onwards, this package is imported to RHEL, where Test::LeakTrace in EPEL isn't available |
||||
%if 0%{?rhel} < 7 |
||||
BuildRequires: perl(Test::LeakTrace) |
||||
%endif |
||||
# Test::MinimumVersion -> Perl::MinimumVersion -> PPI -> List::MoreUtils |
||||
%if 0%{!?perl_bootstrap:1} |
||||
BuildRequires: perl(Test::MinimumVersion) |
||||
%endif |
||||
BuildRequires: perl(Test::More) >= 0.42 |
||||
BuildRequires: perl(Test::Pod) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
Requires: perl(Carp) |
||||
|
||||
# Don't "provide" private Perl libs |
||||
%if 0%{?rhel}%{?fedora} < 6 |
||||
%global _use_internal_dependency_generator 0 |
||||
%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | sort -u |
||||
%global __find_provides /bin/sh -c "grep -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}" |
||||
%global __find_requires /bin/sh -c "%{__deploop R}" |
||||
%else |
||||
%{?perl_default_filter} |
||||
%endif |
||||
|
||||
%description |
||||
List::MoreUtils provides some trivial but commonly needed functionality |
||||
on lists that is not going to go into List::Util. |
||||
|
||||
%prep |
||||
%setup -q -n List-MoreUtils-%{version} |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
rm -rf %{buildroot} |
||||
make pure_install DESTDIR=%{buildroot} |
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
||||
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';' |
||||
%{_fixperms} %{buildroot} |
||||
|
||||
%check |
||||
make test |
||||
make test TEST_FILES="xt/*.t" AUTOMATED_TESTING=1 |
||||
|
||||
%clean |
||||
rm -rf %{buildroot} |
||||
|
||||
%files |
||||
%doc Changes README LICENSE |
||||
%{perl_vendorarch}/List/ |
||||
%{perl_vendorarch}/auto/List/ |
||||
%{_mandir}/man3/List::MoreUtils.3pm* |
||||
|
||||
%changelog |
||||
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.33-9 |
||||
- Mass rebuild 2014-01-24 |
||||
|
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.33-8 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Wed Oct 17 2012 Paul Howarth <paul@city-fan.org> - 0.33-7 |
||||
- BR:/R: perl(Carp) |
||||
- BR: perl(constant), perl(Exporter) and perl(ExtUtils::CBuilder) |
||||
- Add commentary regarding non-use of Test::LeakTrace for EL-7 builds |
||||
- Use Test::LeakTrace for EL-5 builds |
||||
- Drop support for EL-4 builds since it was EOL-ed ages ago |
||||
- Drop %%defattr, redundant since rpm 4.4 |
||||
- Don't need to remove empty directories from the buildroot |
||||
- Remove more command macros |
||||
|
||||
* Mon Oct 15 2012 Petr Pisar <ppisar@redhat.com> - 0.33-6 |
||||
- Do not build-require Test::LeakTrace on RHEL 7 |
||||
|
||||
* Fri Jul 27 2012 Tom Callaway <spot@fedoraproject.org> - 0.33-5 |
||||
- Add epel filtering mechanism |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 0.33-3 |
||||
- Perl 5.16 re-rebuild of bootstrapped packages |
||||
|
||||
* Tue Jun 19 2012 Petr Pisar <ppisar@redhat.com> - 0.33-2 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Tue Jan 24 2012 Paul Howarth <paul@city-fan.org> - 0.33-1 |
||||
- Update to 0.33 |
||||
- Updated can_xs to fix a bug in it |
||||
- Reinstate compatibility with old distributions like EL-5 |
||||
- Drop Test::More version requirement to 0.42 |
||||
- BR: perl(ExtUtils::MakeMaker) |
||||
- BR: perl(Test::LeakTrace) except on EL-4/EL-5 where it's not available |
||||
- BR: perl(Pod::Simple), perl(Test::CPAN::Meta), perl(Test::MinimumVersion) |
||||
(if we're not bootstrapping) and perl(Test::Pod), and run the developer tests |
||||
too |
||||
- Don't use macros for commands |
||||
- Use %%{_fixperms} macro rather than our own chmod incantation |
||||
- Make %%files list more specific |
||||
- Use tabs |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Mon Jul 18 2011 Petr Sabata <contyk@redhat.com> - 0.32-3 |
||||
- Perl mass rebuild |
||||
|
||||
* Tue Jul 12 2011 Tom Callaway <spot@fedoraproject.org> - 0.32-2 |
||||
- Rebuild to fix broken rawhide deps |
||||
|
||||
* Sat Jul 02 2011 Iain Arnell <iarnell@gmail.com> - 0.32-1 |
||||
- Update to latest upstream version |
||||
|
||||
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.30-3 |
||||
- Perl mass rebuild |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Mon Jan 03 2011 Iain Arnell <iarnell@gmail.com> - 0.30-1 |
||||
- Update to latest upstream version |
||||
- Clean up spec for modern rpmbuild |
||||
- Use perl_default_filter |
||||
- Remove unnecessary buildrequires |
||||
|
||||
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-12 |
||||
- Rebuild to fix problems with vendorarch/lib (#661697) |
||||
|
||||
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-11 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.22-10 |
||||
- Rebuild against perl 5.10.1 |
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-9 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-8 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-7 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-6 |
||||
- Rebuild normally, second pass |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-5 |
||||
- Rebuild for perl 5.10 (again), tests disabled for first pass |
||||
|
||||
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.22-4 |
||||
- Autorebuild for GCC 4.3 |
||||
|
||||
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-3 |
||||
- Rebuild normally, second pass |
||||
|
||||
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-2.1 |
||||
- Rebuild for new perl, first pass, disable TPC and tests |
||||
|
||||
* Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-2 |
||||
- Rebuild for FC6 |
||||
|
||||
* Mon Jul 3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-1 |
||||
- Update to 0.22 |
||||
|
||||
* Mon Jun 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-1 |
||||
- Update to 0.21 |
||||
|
||||
* Sat Jun 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1 |
||||
- Update to 0.20 |
||||
|
||||
* Sat Apr 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.19-1 |
||||
- First build |
@ -0,0 +1,103 @@
@@ -0,0 +1,103 @@
|
||||
Name: perl-Locale-Codes |
||||
Version: 3.26 |
||||
Release: 2%{?dist} |
||||
Summary: Distribution of modules to handle locale codes |
||||
License: GPL+ or Artistic |
||||
Group: Development/Libraries |
||||
URL: http://search.cpan.org/dist/Locale-Codes/ |
||||
Source0: http://www.cpan.org/authors/id/S/SB/SBECK/Locale-Codes-%{version}.tar.gz |
||||
BuildArch: noarch |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
# Run-time |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(constant) |
||||
BuildRequires: perl(Exporter) |
||||
# Tests |
||||
BuildRequires: perl(Storable) |
||||
BuildRequires: perl(Test::More) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
|
||||
# Inject not detected module version |
||||
%{?filter_setup: |
||||
%filter_from_provides s/^\(perl(Locale\>[^)]*)\)[^=]*$/\1 = %{version}/ |
||||
%filter_setup |
||||
} |
||||
|
||||
%description |
||||
Locale-Codes is a distribution containing a set of modules. The modules |
||||
each deal with different types of codes which identify parts of the locale |
||||
including languages, countries, currency, etc. |
||||
|
||||
%prep |
||||
%setup -q -n Locale-Codes-%{version} |
||||
chmod -x examples/* |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
make pure_install DESTDIR=%{buildroot} |
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
||||
%{_fixperms} %{buildroot}/* |
||||
|
||||
%check |
||||
make test |
||||
|
||||
%files |
||||
%doc ChangeLog LICENSE README README.first examples |
||||
%{perl_vendorlib}/* |
||||
%{_mandir}/man3/* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.26-2 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Fri Jun 07 2013 Petr Pisar <ppisar@redhat.com> - 3.26-1 |
||||
- 3.26 bump |
||||
|
||||
* Fri Mar 01 2013 Petr Pisar <ppisar@redhat.com> - 3.25-1 |
||||
- 3.25 bump |
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.24-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
||||
|
||||
* Wed Dec 05 2012 Petr Pisar <ppisar@redhat.com> - 3.24-1 |
||||
- 3.24 bump |
||||
|
||||
* Tue Nov 20 2012 Petr Šabata <contyk@redhat.com> - 3.23-2 |
||||
- Add missing deps |
||||
- Drop command macros |
||||
- Modernize spec |
||||
|
||||
* Tue Sep 04 2012 Petr Pisar <ppisar@redhat.com> - 3.23-1 |
||||
- 3.23 bump |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.22-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 3.22-2 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Mon Jun 04 2012 Petr Pisar <ppisar@redhat.com> - 3.22-1 |
||||
- 3.22 bump |
||||
|
||||
* Mon Jun 04 2012 Petr Pisar <ppisar@redhat.com> - 3.21-2 |
||||
- The POD tests do not run by default anymore |
||||
- Switch build script from Module::Build to EU::MM |
||||
|
||||
* Fri Mar 02 2012 Petr Pisar <ppisar@redhat.com> - 3.21-1 |
||||
- 3.21 bump |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.20-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Fri Dec 02 2011 Petr Pisar <ppisar@redhat.com> - 3.20-1 |
||||
- 3.20 bump |
||||
|
||||
* Thu Sep 01 2011 Petr Pisar <ppisar@redhat.com> - 3.18-1 |
||||
- 3.18 bump |
||||
|
||||
* Thu Jun 30 2011 Petr Pisar <ppisar@redhat.com> 3.17-1 |
||||
- Specfile autogenerated by cpanspec 1.78. |
||||
- Remove BuildRoot and defattr |
@ -0,0 +1,152 @@
@@ -0,0 +1,152 @@
|
||||
# We need to patch the test suite if we have an old version of Test::More |
||||
%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0) |
||||
|
||||
# Test::CPAN::Changes isn't available in EPEL < 7, due to requirement of perl(version) ≥ 0.79 |
||||
%global cpan_changes_available %(expr 0%{?fedora} + 0%{?rhel} '>' 6) |
||||
|
||||
#TODO: BR: Test::Pod::No404s when available |
||||
#TODO: BR: Test::Pod::LinkCheck when available |
||||
|
||||
Name: perl-Module-Implementation |
||||
Version: 0.06 |
||||
Release: 6%{?dist} |
||||
Summary: Loads one of several alternate underlying implementations for a module |
||||
Group: Development/Libraries |
||||
License: Artistic 2.0 |
||||
URL: http://search.cpan.org/dist/perl-Module-Implementation/ |
||||
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Module-Implementation-%{version}.tar.gz |
||||
Patch1: Module-Implementation-0.05-old-Test::More.patch |
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) |
||||
BuildArch: noarch |
||||
# =================================================================== |
||||
# Build requirements |
||||
# =================================================================== |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
# =================================================================== |
||||
# Module requirements |
||||
# =================================================================== |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(Module::Runtime) >= 0.012 |
||||
BuildRequires: perl(Try::Tiny) |
||||
BuildRequires: perl(strict) |
||||
BuildRequires: perl(warnings) |
||||
# =================================================================== |
||||
# Test suite requirements |
||||
# =================================================================== |
||||
BuildRequires: perl(lib) |
||||
BuildRequires: perl(Test::Fatal) |
||||
BuildRequires: perl(Test::More) |
||||
BuildRequires: perl(Test::Requires) |
||||
BuildRequires: perl(Test::Taint) |
||||
# =================================================================== |
||||
# Author/Release test requirements |
||||
# =================================================================== |
||||
%if %{cpan_changes_available} |
||||
BuildRequires: perl(Test::CPAN::Changes) |
||||
%endif |
||||
BuildRequires: perl(Test::EOL) |
||||
BuildRequires: perl(Test::NoTabs) |
||||
BuildRequires: perl(Test::Pod) |
||||
BuildRequires: perl(Test::Spelling) |
||||
# Can't use aspell-en from EPEL-7 as BR: for RHEL-7 package so skip the spell |
||||
# check test there; test would fail rather than skip without Test::Spelling so |
||||
# we need to keep that as a buildreq |
||||
%if 0%{?rhel} < 7 |
||||
BuildRequires: aspell-en |
||||
%endif |
||||
# =================================================================== |
||||
# Runtime requirements |
||||
# =================================================================== |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
Requires: perl(Carp) |
||||
|
||||
%description |
||||
This module abstracts out the process of choosing one of several underlying |
||||
implementations for a module. This can be used to provide XS and pure Perl |
||||
implementations of a module, or it could be used to load an implementation |
||||
for a given OS or any other case of needing to provide multiple |
||||
implementations. |
||||
|
||||
This module is only useful when you know all the implementations ahead of |
||||
time. If you want to load arbitrary implementations then you probably want |
||||
something like a plugin system, not this module. |
||||
|
||||
%prep |
||||
%setup -q -n Module-Implementation-%{version} |
||||
|
||||
# We have to patch the test suite if we have an old Test::More |
||||
%if %{old_test_more} |
||||
%patch1 -p1 |
||||
%endif |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
rm -rf %{buildroot} |
||||
make pure_install DESTDIR=%{buildroot} |
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
||||
%{_fixperms} %{buildroot} |
||||
|
||||
%check |
||||
make test RELEASE_TESTING=1 |
||||
|
||||
%clean |
||||
rm -rf %{buildroot} |
||||
|
||||
%files |
||||
%doc Changes LICENSE README |
||||
%{perl_vendorlib}/Module/ |
||||
%{_mandir}/man3/Module::Implementation.3pm* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.06-6 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 0.06-5.1 |
||||
- Rebuild for perl 5.16 |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.06-4 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Thu Jun 7 2012 Paul Howarth <paul@city-fan.org> - 0.06-3 |
||||
- Drop %%defattr, redundant since rpm 4.4 |
||||
- Don't need to remove empty directories from buildroot |
||||
- Add commentary regarding conditionalized buildreqs |
||||
|
||||
* Thu Jun 7 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.06-2 |
||||
- Conditionalize aspell-en dependency |
||||
|
||||
* Sun Feb 12 2012 Paul Howarth <paul@city-fan.org> - 0.06-1 |
||||
- Update to 0.06 |
||||
- Require Module::Runtime 0.012, which has a number of useful bug fixes |
||||
|
||||
* Fri Feb 10 2012 Paul Howarth <paul@city-fan.org> - 0.05-1 |
||||
- Update to 0.05 |
||||
- Make Test::Taint an optional dependency; it requires XS, and requiring a |
||||
compiler for Module::Implementation defeats its purpose (CPAN RT#74817) |
||||
- BR: perl(Test::Requires) |
||||
- Update patch for building with old Test::More versions |
||||
|
||||
* Thu Feb 9 2012 Paul Howarth <paul@city-fan.org> - 0.04-1 |
||||
- Update to 0.04 |
||||
- This module no longer installs an _implementation() subroutine in callers; |
||||
instead, you can call Module::Implementation::implementation_for($package) |
||||
to get the implementation used for a given package |
||||
- Update patch for building with old Test::More versions |
||||
|
||||
* Wed Feb 8 2012 Paul Howarth <paul@city-fan.org> - 0.03-3 |
||||
- Incorporate feedback from package review (#788258) |
||||
- Correct License tag, which should be Artistic 2.0 |
||||
- BR: perl(lib) for test suite |
||||
- Explicitly require perl(Carp), not automatically detected |
||||
|
||||
* Tue Feb 7 2012 Paul Howarth <paul@city-fan.org> - 0.03-2 |
||||
- Sanitize for Fedora submission |
||||
|
||||
* Tue Feb 7 2012 Paul Howarth <paul@city-fan.org> - 0.03-1 |
||||
- Initial RPM version |
@ -0,0 +1,80 @@
@@ -0,0 +1,80 @@
|
||||
# This file is licensed under the terms of GNU GPLv2+. |
||||
Name: perl-Module-Runtime |
||||
Version: 0.013 |
||||
Release: 4%{?dist} |
||||
Summary: Runtime module handling |
||||
License: GPL+ or Artistic |
||||
Group: Development/Libraries |
||||
URL: http://search.cpan.org/dist/Module-Runtime/ |
||||
Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Module-Runtime-%{version}.tar.gz |
||||
BuildArch: noarch |
||||
BuildRequires: perl(Module::Build) |
||||
# Tests: |
||||
BuildRequires: perl(Test::More) |
||||
# Optional tests: |
||||
BuildRequires: perl(Test::Pod) >= 1.00 |
||||
BuildRequires: perl(Test::Pod::Coverage) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
||||
|
||||
%description |
||||
The functions exported by this module deal with runtime handling of Perl |
||||
modules, which are normally handled at compile time. |
||||
|
||||
%prep |
||||
%setup -q -n Module-Runtime-%{version} |
||||
|
||||
%build |
||||
%{__perl} Build.PL installdirs=vendor |
||||
./Build |
||||
|
||||
%install |
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 |
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
||||
%{_fixperms} $RPM_BUILD_ROOT/* |
||||
|
||||
%check |
||||
./Build test |
||||
|
||||
%files |
||||
%doc Changes README |
||||
%{perl_vendorlib}/* |
||||
%{_mandir}/man3/* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.013-4 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 0.013-3.1 |
||||
- Rebuild for perl 5.16 |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.013-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.013-2 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 0.013-1 |
||||
- 0.013 bump |
||||
|
||||
* Mon Feb 13 2012 Petr Pisar <ppisar@redhat.com> - 0.012-1 |
||||
- 0.012 bump |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.011-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Tue Oct 25 2011 Petr Pisar <ppisar@redhat.com> - 0.011-1 |
||||
- 0.011 bump |
||||
|
||||
* Fri Oct 07 2011 Petr Pisar <ppisar@redhat.com> - 0.010-1 |
||||
- 0.010 bump |
||||
|
||||
* Wed Oct 05 2011 Petr Pisar <ppisar@redhat.com> - 0.009-1 |
||||
- 0.009 bump |
||||
- Remove defattr now |
||||
|
||||
* Fri Jul 22 2011 Petr Sabata <contyk@redhat.com> - 0.008-2 |
||||
- Perl mass rebuild |
||||
|
||||
* Mon Jul 11 2011 Petr Pisar <ppisar@redhat.com> 0.008-1 |
||||
- Specfile autogenerated by cpanspec 1.78. |
||||
- Remove BuildRoot and defattr |
@ -0,0 +1,113 @@
@@ -0,0 +1,113 @@
|
||||
Name: perl-Number-Compare |
||||
Version: 0.03 |
||||
Release: 6%{?dist} |
||||
Summary: Perl module for numeric comparisons |
||||
License: GPL+ or Artistic |
||||
Group: Development/Libraries |
||||
URL: http://search.cpan.org/dist/Number-Compare/ |
||||
Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/Number-Compare-%{version}.tar.gz |
||||
|
||||
BuildArch: noarch |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
BuildRequires: perl(Test::More) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
||||
|
||||
%description |
||||
Number::Compare compiles a simple comparison to an anonymous subroutine, |
||||
which you can call with a value to be tested again. |
||||
|
||||
%prep |
||||
%setup -q -n Number-Compare-%{version} |
||||
|
||||
%build |
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
|
||||
%install |
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
||||
chmod -R u+w $RPM_BUILD_ROOT/* |
||||
|
||||
%check |
||||
make test |
||||
|
||||
%files |
||||
%defattr(-,root,root,-) |
||||
%doc Changes |
||||
%{perl_vendorlib}/Number |
||||
%{_mandir}/man3/* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.03-6 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Tue Aug 14 2012 Petr Pisar <ppisar@redhat.com> - 0.03-5 |
||||
- Specify all dependencies |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.03-3 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Thu Oct 13 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.03-1 |
||||
- Upstream update. |
||||
|
||||
* Mon Sep 19 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.02-1 |
||||
- Upstream update. |
||||
- Spec file cleanup. |
||||
|
||||
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.01-16 |
||||
- 661697 rebuild for fixing problems with vendorach/lib |
||||
|
||||
* Sat Jun 26 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.01-15 |
||||
- Apply https://rt.cpan.org/Ticket/Attachment/792151/410599/Number-Compare-0.01-uninitialized.patch |
||||
to address https://bugzilla.redhat.com/show_bug.cgi?id=607982. |
||||
|
||||
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.01-14 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.01-13 |
||||
- rebuild against perl 5.10.1 |
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-12 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-11 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.01-10 |
||||
- Rebuild for perl 5.10 (again) |
||||
|
||||
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.01-9 |
||||
- rebuild for new perl |
||||
|
||||
* Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 0.01-8 |
||||
- Update license tag. |
||||
|
||||
* Thu Apr 19 2007 Ralf Corsépius <rc040203@freenet.de> - 0.01-7 |
||||
- Reflect perl package split. |
||||
|
||||
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.01-6 |
||||
- Mass rebuild. |
||||
|
||||
* Tue Feb 28 2006 Ralf Corsépius <rc040203@freenet.de> - 0.01-5 |
||||
- Rebuild for perl-5.8.8. |
||||
|
||||
* Tue Aug 16 2005 Paul Howarth <paul@city-fan.org> - 0.01-4 |
||||
- BR: perl redundant for Extras. |
||||
|
||||
* Sat Aug 13 2005 Ralf Corsepius <ralf@links2linux.de> - 0.01-3 |
||||
- Spec cleanup. |
||||
|
||||
* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 0.01-2 |
||||
- FE re-submission. |
||||
|
||||
* Fri Jul 01 2005 Ralf Corsepius <ralf@links2linux.de> - 0.01-1 |
||||
- FE submission. |
@ -0,0 +1,174 @@
@@ -0,0 +1,174 @@
|
||||
# We need to patch the test suite if we have an old version of Test::More |
||||
%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0) |
||||
|
||||
# Test::CPAN::Changes isn't available in EPEL-6 either, due to requirement of perl(version) ≥ 0.79 |
||||
%global cpan_changes_available %(expr 0%{?fedora} + 0%{?rhel} '>' 6) |
||||
|
||||
Name: perl-Package-DeprecationManager |
||||
Version: 0.13 |
||||
Release: 7%{?dist} |
||||
Summary: Manage deprecation warnings for your distribution |
||||
Group: Development/Libraries |
||||
License: Artistic 2.0 |
||||
URL: http://search.cpan.org/dist/Package-DeprecationManager/ |
||||
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Package-DeprecationManager-%{version}.tar.gz |
||||
Patch1: Package-DeprecationManager-0.12-old-Test::More.patch |
||||
Patch3: Package-DeprecationManager-0.12-stopwords.patch |
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) |
||||
BuildArch: noarch |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
BuildRequires: perl(List::MoreUtils) |
||||
BuildRequires: perl(Params::Util) |
||||
BuildRequires: perl(Pod::Coverage::TrustPod) |
||||
BuildRequires: perl(Sub::Install) |
||||
%if %{cpan_changes_available} |
||||
BuildRequires: perl(Test::CPAN::Changes) |
||||
%endif |
||||
BuildRequires: perl(Test::EOL) |
||||
BuildRequires: perl(Test::Fatal) |
||||
BuildRequires: perl(Test::More) |
||||
BuildRequires: perl(Test::NoTabs) |
||||
BuildRequires: perl(Test::Output) |
||||
BuildRequires: perl(Test::Pod) |
||||
BuildRequires: perl(Test::Pod::Coverage) |
||||
BuildRequires: perl(Test::Requires) |
||||
BuildRequires: perl(Test::Spelling) |
||||
# Can't use aspell-en from EPEL-7 as BR: for RHEL-7 package so skip the spell |
||||
# check test there; test would fail rather than skip without Test::Spelling so |
||||
# we need to keep that as a buildreq |
||||
%if 0%{?rhel} < 7 |
||||
BuildRequires: aspell-en |
||||
%endif |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
|
||||
%description |
||||
This module allows you to manage a set of deprecations for one or more modules. |
||||
|
||||
When you import Package::DeprecationManager, you must provide a set of |
||||
-deprecations as a hash ref. The keys are "feature" names, and the values are |
||||
the version when that feature was deprecated. |
||||
|
||||
%prep |
||||
%setup -q -n Package-DeprecationManager-%{version} |
||||
|
||||
# Fix tests for Test::More prior to 0.88 |
||||
%if %{old_test_more} |
||||
%patch1 |
||||
%endif |
||||
|
||||
# "deprecations" not a common dictionary word |
||||
%patch3 |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
rm -rf %{buildroot} |
||||
make pure_install DESTDIR=%{buildroot} |
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
||||
%{_fixperms} %{buildroot} |
||||
|
||||
%check |
||||
make test RELEASE_TESTING=1 |
||||
|
||||
%clean |
||||
rm -rf %{buildroot} |
||||
|
||||
%files |
||||
%doc Changes LICENSE README |
||||
%{perl_vendorlib}/Package/ |
||||
%{_mandir}/man3/Package::DeprecationManager.3pm* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.13-7 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 0.13-6.1 |
||||
- Rebuild for perl 5.16 |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-6 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Tue Jun 19 2012 Petr Pisar <ppisar@redhat.com> - 0.13-5 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Thu Jun 7 2012 Paul Howarth <paul@city-fan.org> - 0.13-4 |
||||
- Add commentary regarding conditionalized buildreqs |
||||
|
||||
* Thu Jun 7 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.13-3 |
||||
- Conditionalize aspell-en |
||||
|
||||
* Mon Apr 23 2012 Paul Howarth <paul@city-fan.org> - 0.13-2 |
||||
- Upstream has dropped Kwalitee test, so drop BR: perl(Test::Kwalitee) |
||||
|
||||
* Fri Mar 9 2012 Paul Howarth <paul@city-fan.org> - 0.13-1 |
||||
- Update to 0.13: |
||||
- Fix dist.ini to not add Test::Spelling as a requirement |
||||
- Drop %%defattr, redundant since rpm 4.4 |
||||
- Test::Requires available on all supported distributions |
||||
|
||||
* Mon Mar 5 2012 Paul Howarth <paul@city-fan.org> - 0.12-1 |
||||
- Update to 0.12: |
||||
- Fix tests to pass with Carp 1.25 (CPAN RT#75520) |
||||
- BR: perl(Test::Spelling), aspell-en |
||||
- Add patch to accept "deprecations" as a valid dictionary word |
||||
- Update patches to apply cleanly |
||||
- Don't need to remove empty directories from buildroot |
||||
- Don't use macros for commands |
||||
- Drop EPEL-4 support: |
||||
- Drop patch supporting build with ExtUtils::MakeMaker < 6.30 |
||||
|
||||
* Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 0.11-3 |
||||
- Fedora 17 mass rebuild |
||||
|
||||
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.11-2 |
||||
- Perl mass rebuild |
||||
|
||||
* Mon Jun 20 2011 Paul Howarth <paul@city-fan.org> - 0.11-1 |
||||
- Update to 0.11: |
||||
- Allow an empty hash for the -deprecations parameter |
||||
- BR: perl(ExtUtils::MakeMaker) |
||||
- BR: perl(Test::CPAN::Changes) |
||||
- BR: perl(Pod::Coverage::TrustPod) unconditionally |
||||
- Update patches for old ExtUtils::MakeMaker and Test::More compatibility |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Sat Jan 08 2011 Paul Howarth <paul@city-fan.org> - 0.10-2 |
||||
- Update patches for old Test::More and no Test::Requires |
||||
- perl(Pod::Coverage::TrustPod) now available everywhere except EPEL-4 |
||||
|
||||
* Sat Jan 08 2011 Iain Arnell <iarnell@gmail.com> - 0.10-1 |
||||
- Update to 0.10: |
||||
- Test suite uses Test::Fatal instead of Test::Exception |
||||
|
||||
* Mon Oct 18 2010 Paul Howarth <paul@city-fan.org> - 0.09-1 |
||||
- Update to 0.09: |
||||
- Added a compilation test |
||||
|
||||
* Fri Oct 15 2010 Paul Howarth <paul@city-fan.org> - 0.08-1 |
||||
- Update to 0.08: |
||||
- The use of regular expressions in ignores didn't really work in 0.06 |
||||
- Added missing deps on List::MoreUtils and Test::Requires |
||||
- Replaced Test::Warn with Test::Output in the tests |
||||
- Made the tests actually test what they should be testing |
||||
- BR: Test::Output rather than Test::Warn |
||||
- Update patches |
||||
|
||||
* Fri Oct 15 2010 Paul Howarth <paul@city-fan.org> - 0.06-1 |
||||
- Update to 0.06: |
||||
- Removed hard dep on Test::Warn for the benefit of Moose |
||||
- Fixed what looked like a bug in -ignore handling |
||||
- The -ignore parameter now accepts regexes as well as package names |
||||
- Update compatibility patches |
||||
- BR: List::MoreUtils |
||||
- BR: Test::Requires where possible, patch it out elsewhere |
||||
|
||||
* Tue Jul 27 2010 Paul Howarth <paul@city-fan.org> - 0.04-2 |
||||
- Clean up for Fedora submission |
||||
|
||||
* Mon Jul 26 2010 Paul Howarth <paul@city-fan.org> - 0.04-1 |
||||
- Initial RPM version |
@ -0,0 +1,135 @@
@@ -0,0 +1,135 @@
|
||||
Name: perl-Package-Generator |
||||
Version: 0.103 |
||||
Release: 14%{?dist} |
||||
Summary: Generate new packages quickly and easily |
||||
License: GPL+ or Artistic |
||||
Group: Development/Libraries |
||||
URL: http://search.cpan.org/dist/Package-Generator/ |
||||
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Package-Generator-%{version}.tar.gz |
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) |
||||
BuildArch: noarch |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(Cwd) |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
BuildRequires: perl(File::Path) |
||||
BuildRequires: perl(Params::Util) |
||||
BuildRequires: perl(Scalar::Util) |
||||
BuildRequires: perl(Symbol) |
||||
BuildRequires: perl(Test::More) |
||||
# Test::Perl::Critic -> Perl::Critic -> Exception::Class -> Test::EOL -> |
||||
# Pod::Coverage::TrustPod -> Pod::Eventual -> Mixin::Linewise -> |
||||
# Sub::Exporter -> Package::Generator |
||||
# Test::Perl::Critic not available in EPEL-4 |
||||
%if "%{rhel}" != "4" && 0%{!?perl_bootstrap:1} |
||||
BuildRequires: perl(Test::Perl::Critic) |
||||
%endif |
||||
BuildRequires: perl(Test::Pod) |
||||
BuildRequires: perl(Test::Pod::Coverage) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
|
||||
%description |
||||
This module lets you quickly and easily construct new packages. It gives |
||||
them unused names and sets up their package data, if provided. |
||||
|
||||
%prep |
||||
%setup -q -n Package-Generator-%{version} |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
rm -rf %{buildroot} |
||||
make pure_install DESTDIR=%{buildroot} |
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
||||
find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null |
||||
%{_fixperms} %{buildroot} |
||||
|
||||
%check |
||||
make test %{!?perl_bootstrap:PERL_TEST_CRITIC=1} |
||||
|
||||
%clean |
||||
rm -rf %{buildroot} |
||||
|
||||
%files |
||||
%defattr(-,root,root,-) |
||||
%doc Changes LICENSE README |
||||
%{perl_vendorlib}/Package/ |
||||
%{_mandir}/man3/Package::Generator.3pm* |
||||
%{_mandir}/man3/Package::Reaper.3pm* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.103-14 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 0.103-13.1 |
||||
- Rebuild for perl 5.16 |
||||
|
||||
* Tue Aug 14 2012 Petr Pisar <ppisar@redhat.com> - 0.103-13 |
||||
- Specify all dependencies |
||||
- Package LICENSE |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-12 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 0.103-11 |
||||
- Perl 5.16 re-rebuild of bootstrapped packages |
||||
|
||||
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.103-10 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Tue Feb 7 2012 Paul Howarth <paul@city-fan.org> - 0.103-9 |
||||
- Don't BR: perl(Test::Perl::Critic) if we're bootstrapping |
||||
|
||||
* Wed Feb 1 2012 Paul Howarth <paul@city-fan.org> - 0.103-8 |
||||
- Run Perl::Critic test in %%check too |
||||
- BR: perl(Test::Perl::Critic) |
||||
- BR: perl(Carp) and perl(Symbol), which might be dual-lived |
||||
- Use DESTDIR rather than PERL_INSTALL_ROOT |
||||
- Drop version requirement for perl(ExtUtils::MakeMaker); older versions work |
||||
without problems, e.g. version 6.17 on EL-4 |
||||
- Make %%files list more explicit |
||||
- Don't use macros for commands |
||||
- Use tabs |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-7 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.103-6 |
||||
- Perl mass rebuild |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.103-4 |
||||
- Rebuild to fix problems with vendorarch/lib (#661697) |
||||
|
||||
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.103-3 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.103-2 |
||||
- Rebuild against perl 5.10.1 |
||||
|
||||
* Tue Aug 11 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.103-1 |
||||
- Auto-update to 0.103 (by cpan-spec-update 0.01) |
||||
- Added a new br on perl(ExtUtils::MakeMaker) (version 6.42) |
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.102-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.102-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.102-2 |
||||
- Rebuild for perl 5.10 (again) |
||||
|
||||
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.102-1 |
||||
- Rebuild for new perl |
||||
- Update to 0.102 |
||||
- Fix license tag |
||||
|
||||
* Wed Sep 06 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.100-2 |
||||
- Bump |
||||
|
||||
* Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.100-1 |
||||
- Specfile autogenerated by cpanspec 1.69.1 |
@ -0,0 +1,166 @@
@@ -0,0 +1,166 @@
|
||||
# TODO: BR: perl(Package::Anon) when available |
||||
|
||||
Name: perl-Package-Stash-XS |
||||
Version: 0.26 |
||||
Release: 3%{?dist} |
||||
Summary: Faster and more correct implementation of the Package::Stash API |
||||
Group: Development/Libraries |
||||
License: GPL+ or Artistic |
||||
URL: http://search.cpan.org/dist/Package-Stash-XS/ |
||||
Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-XS-%{version}.tar.gz |
||||
Patch1: Package-Stash-XS-0.26-old-Test::More.patch |
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) |
||||
BuildRequires: perl >= 3:5.8.1 |
||||
BuildRequires: perl(base) |
||||
BuildRequires: perl(constant) |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
BuildRequires: perl(File::Temp) |
||||
BuildRequires: perl(lib) |
||||
BuildRequires: perl(Pod::Coverage::TrustPod) |
||||
BuildRequires: perl(Scalar::Util) |
||||
BuildRequires: perl(Test::EOL) |
||||
BuildRequires: perl(Test::Fatal) |
||||
%if ! (0%{?rhel} >= 7) |
||||
BuildRequires: perl(Test::LeakTrace) |
||||
%endif |
||||
BuildRequires: perl(Test::More) |
||||
BuildRequires: perl(Test::NoTabs) |
||||
BuildRequires: perl(Test::Pod) |
||||
BuildRequires: perl(Test::Pod::Coverage) |
||||
BuildRequires: perl(Test::Requires) |
||||
BuildRequires: perl(XSLoader) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
|
||||
# Don't "provide" private Perl libs |
||||
%{?perl_default_filter} |
||||
|
||||
%description |
||||
This is a back-end for Package::Stash, which provides the functionality in a |
||||
way that's less buggy and much faster. It will be used by default if it's |
||||
installed, and should be preferred in all environments with a compiler. |
||||
|
||||
%prep |
||||
%setup -q -n Package-Stash-XS-%{version} |
||||
|
||||
# Patch test suite to work with old Test::More versions if necessary |
||||
%if "%{?rhel}" == "5" |
||||
%patch1 -p1 |
||||
%endif |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
rm -rf %{buildroot} |
||||
make pure_install DESTDIR=%{buildroot} |
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
||||
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' |
||||
%{_fixperms} %{buildroot} |
||||
|
||||
%check |
||||
make test |
||||
%if ! (0%{?rhel} >= 7) |
||||
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" |
||||
%else |
||||
make test TEST_FILES="$(echo $(find xt/release/ -name '*.t'))" |
||||
%endif |
||||
|
||||
%clean |
||||
rm -rf %{buildroot} |
||||
|
||||
%files |
||||
%doc Changes LICENSE README |
||||
%{perl_vendorarch}/auto/Package/ |
||||
%{perl_vendorarch}/Package/ |
||||
%{_mandir}/man3/Package::Stash::XS.3pm* |
||||
|
||||
%changelog |
||||
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.26-3 |
||||
- Mass rebuild 2014-01-24 |
||||
|
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.26-2 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Fri Jan 4 2013 Paul Howarth <paul@city-fan.org> - 0.26-1 |
||||
- Update to 0.26 |
||||
- Internal refactorings to support Package::Anon stashes |
||||
- BR: perl(base) and perl(Test::Requires) for test suite |
||||
- Update patch for old distro compatibility |
||||
- Explicitly run the release/author tests |
||||
|
||||
* Mon Aug 27 2012 Petr Pisar <ppisar@redhat.com> - 0.25-7 |
||||
- Disable author tests on RHEL >= 7 |
||||
|
||||
* Sat Aug 25 2012 Paul Howarth <paul@city-fan.org> - 0.25-6 |
||||
- Drop EPEL-4 support |
||||
- Test::LeakTrace now universally available |
||||
- Suitably recent version of ExtUtils::MakeMaker now universally available |
||||
- Drop %%defattr, redundant since rpm 4.4 |
||||
- BR: perl(File::Temp) |
||||
- Don't need to remove empty directories from the buildroot |
||||
|
||||
* Tue Aug 14 2012 Petr Pisar <ppisar@redhat.com> - 0.25-5 |
||||
- Specify all dependencies |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Tue Jun 19 2012 Petr Pisar <ppisar@redhat.com> - 0.25-3 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 0.25-2 |
||||
- Use %%{_fixperms} macro instead of our own chmod incantation |
||||
|
||||
* Tue Sep 6 2011 Paul Howarth <paul@city-fan.org> - 0.25-1 |
||||
- Update to 0.25 |
||||
- Invalid package names (for instance, Foo:Bar) are not allowed |
||||
- Invalid stash entry names (anything containing ::) are not allowed |
||||
- Update patches to apply cleanly |
||||
|
||||
* Tue Aug 9 2011 Paul Howarth <paul@city-fan.org> - 0.23-1 |
||||
- Update to 0.23 |
||||
- Fix the test for scalar values, again |
||||
- Disallow assigning globrefs to scalar glob slots (this doesn't actually |
||||
make any sense) |
||||
- Update patches for old ExtUtils::MakeMaker and Test::More versions |
||||
- perl(Pod::Coverage::TrustPod) now available in EPEL-4 too |
||||
- Don't use macros for commands |
||||
|
||||
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.22-2 |
||||
- Perl mass rebuild |
||||
|
||||
* Sat Mar 5 2011 Paul Howarth <paul@city-fan.org> - 0.22-1 |
||||
- Update to 0.22 |
||||
- Make the namespace cache lazy and weak, in case the stash is deleted |
||||
- However, this doesn't work on 5.8, so disable the namespace caching |
||||
entirely there |
||||
- Update patches to apply cleanly |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Tue Jan 25 2011 Paul Howarth <paul@city-fan.org> - 0.21-1 |
||||
- Update to 0.21 |
||||
- Make the leak tests author-only, since some smokers run release tests |
||||
- Fix some XS forward compat stuff |
||||
- Update patches to apply cleanly |
||||
|
||||
* Wed Jan 12 2011 Paul Howarth <paul@city-fan.org> - 0.20-1 |
||||
- Update to 0.20 |
||||
- Lower perl prereq to 5.8.1 |
||||
- Make the leak tests release-only |
||||
- Update patches to apply cleanly |
||||
- Drop no-Test::Requires patch, no longer needed |
||||
- Drop buildreq perl(Test::Requires), no longer needed |
||||
- Add patch to skip memory leak tests if we don't have Test::LeakTrace |
||||
|
||||
* Thu Jan 6 2011 Paul Howarth <paul@city-fan.org> - 0.19-1 |
||||
- Update to 0.19 (more correct validity test for scalars) |
||||
- Update patch for old Test::More versions |
||||
|
||||
* Wed Nov 17 2010 Paul Howarth <paul@city-fan.org> - 0.17-2 |
||||
- Sanitize spec for Fedora submission |
||||
|
||||
* Wed Nov 17 2010 Paul Howarth <paul@city-fan.org> - 0.17-1 |
||||
- Initial RPM build |
@ -0,0 +1,257 @@
@@ -0,0 +1,257 @@
|
||||
# We need to patch the test suite if we have an old version of Test::More |
||||
%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0) |
||||
|
||||
# TODO: BR: perl(Package::Anon) for test suite when available |
||||
|
||||
Name: perl-Package-Stash |
||||
Version: 0.34 |
||||
Release: 2%{?dist} |
||||
Summary: Routines for manipulating stashes |
||||
Group: Development/Libraries |
||||
License: GPL+ or Artistic |
||||
URL: http://search.cpan.org/dist/Package-Stash/ |
||||
Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-%{version}.tar.gz |
||||
Patch1: Package-Stash-0.34-old-Test::More.patch |
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) |
||||
BuildArch: noarch |
||||
BuildRequires: perl(base) |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(constant) |
||||
BuildRequires: perl(Dist::CheckConflicts) >= 0.02 |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
BuildRequires: perl(File::Spec) |
||||
BuildRequires: perl(File::Temp) |
||||
BuildRequires: perl(lib) |
||||
BuildRequires: perl(Module::Implementation) >= 0.06 |
||||
BuildRequires: perl(Package::DeprecationManager) |
||||
BuildRequires: perl(Package::Stash::XS) >= 0.26 |
||||
BuildRequires: perl(Scalar::Util) |
||||
BuildRequires: perl(Test::Fatal) |
||||
BuildRequires: perl(Test::More) |
||||
BuildRequires: perl(Test::Requires) |
||||
# Optional tests: |
||||
%if ! (0%{?rhel} >= 7) |
||||
BuildRequires: perl(Pod::Coverage::TrustPod) |
||||
BuildRequires: perl(Test::EOL) |
||||
BuildRequires: perl(Test::LeakTrace) |
||||
BuildRequires: perl(Test::NoTabs) |
||||
BuildRequires: perl(Test::Pod) |
||||
BuildRequires: perl(Test::Pod::Coverage) |
||||
%endif |
||||
BuildRequires: perl(Test::Script) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
# For performance and consistency |
||||
Requires: perl(Package::Stash::XS) >= 0.26 |
||||
# Not found by rpm auto-provides |
||||
Provides: perl(Package::Stash::Conflicts) = 0 |
||||
|
||||
%description |
||||
Manipulating stashes (Perl's symbol tables) is occasionally necessary, but |
||||
incredibly messy, and easy to get wrong. This module hides all of that behind |
||||
a simple API. |
||||
|
||||
%prep |
||||
%setup -q -n Package-Stash-%{version} |
||||
|
||||
# Compatibility with old Test::More versions |
||||
%if %{old_test_more} |
||||
%patch1 -p1 |
||||
%endif |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
rm -rf %{buildroot} |
||||
make pure_install DESTDIR=%{buildroot} |
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
||||
%{_fixperms} %{buildroot} |
||||
|
||||
%check |
||||
make test |
||||
%if ! (0%{?rhel} >= 7) |
||||
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" |
||||
%endif |
||||
|
||||
%clean |
||||
rm -rf %{buildroot} |
||||
|
||||
%files |
||||
%doc Changes LICENSE README |
||||
%{_bindir}/package-stash-conflicts |
||||
%{perl_vendorlib}/Package/ |
||||
%{_mandir}/man3/Package::Stash.3pm* |
||||
%{_mandir}/man3/Package::Stash::PP.3pm* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.34-2 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Sun Jan 6 2013 Paul Howarth <paul@city-fan.org> - 0.34-1 |
||||
- Update to 0.34 |
||||
- Support anonymous stashes on newer perl versions |
||||
- Prevent harmful effects from invalid settings for |
||||
$ENV{PACKAGE_STASH_IMPLEMENTATION} |
||||
- Switch to Module::Implementation |
||||
- BR: perl(Module::Implementation) ≥ 0.06 |
||||
- BR: perl(base) for test suite |
||||
- Bump Package::Stash::XS version requirement to 0.26 |
||||
- Explicitly run extra tests (except on RHEL ≥ 7, where the necessary |
||||
build dependencies may not be available) |
||||
- Update patch for building with old Test::More version in EPEL-5 |
||||
|
||||
* Mon Aug 27 2012 Petr Pisar <ppisar@redhat.com> - 0.33-7 |
||||
- Disable author tests on RHEL >= 7 |
||||
|
||||
* Fri Aug 24 2012 Paul Howarth <paul@city-fan.org> - 0.33-6 |
||||
- Drop EPEL-4 support |
||||
- Drop %%defattr, redundant since rpm 4.4 |
||||
- Test::LeakTrace, Test::Requires and Test::Script are now universally available |
||||
- A suitably recent version of ExtUtils::MakeMaker is now universally available |
||||
- Don't need to remove empty directories from the buildroot |
||||
|
||||
* Tue Aug 14 2012 Petr Pisar <ppisar@redhat.com> - 0.33-5 |
||||
- Specify all dependendencies |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Tue Jun 19 2012 Petr Pisar <ppisar@redhat.com> - 0.33-3 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 0.33-2 |
||||
- Fedora 17 mass rebuild |
||||
|
||||
* Thu Sep 29 2011 Paul Howarth <paul@city-fan.org> - 0.33-1 |
||||
- Update to 0.33 |
||||
- Add conflict on MooseX::Method::Signatures 0.36 |
||||
- BR: perl(Carp) |
||||
|
||||
* Tue Sep 6 2011 Paul Howarth <paul@city-fan.org> - 0.32-1 |
||||
- Update to 0.32 |
||||
- Bring the behavior of has_symbol for nonexistant scalars into line with the |
||||
XS version |
||||
- Invalid package names (for instance, Foo:Bar) are not allowed |
||||
- Invalid stash entry names (anything containing ::) are not allowed |
||||
- Update patches to apply cleanly |
||||
- Bump perl(Package::Stash::XS) version requirement to 0.24 |
||||
|
||||
* Tue Aug 9 2011 Paul Howarth <paul@city-fan.org> - 0.31-1 |
||||
- Update to 0.31 |
||||
- Fix ->add_symbol('$foo', qr/sdlfk/) on 5.12+ |
||||
- Fix ->add_symbol('$foo', \v1.2.3) on 5.10+ |
||||
- Update patch for old Test::More versions |
||||
- Update patch for no Test::Requires |
||||
|
||||
* Thu Jul 21 2011 Paul Howarth <paul@city-fan.org> - 0.30-2 |
||||
- Perl mass rebuild |
||||
|
||||
* Thu Jul 21 2011 Paul Howarth <paul@city-fan.org> - 0.30-1 |
||||
- Update to 0.30 |
||||
- Fix compiler detection in Makefile.PL |
||||
- Update patch for old ExtUtils::MakeMaker versions |
||||
- Drop usage of macros for commands |
||||
- Drop redundant %%{?perl_default_filter} |
||||
- perl(Pod::Coverage::TrustPod) now available everywhere |
||||
|
||||
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.29-2 |
||||
- Perl mass rebuild |
||||
|
||||
* Wed Apr 6 2011 Paul Howarth <paul@city-fan.org> - 0.29-1 |
||||
- Update to 0.29 |
||||
- Really skip the package-stash-conflict script in the compile test |
||||
|
||||
* Wed Mar 30 2011 Paul Howarth <paul@city-fan.org> - 0.28-1 |
||||
- Update to 0.28 |
||||
- META.json fixes |
||||
- Update patch for old ExtUtils::MakeMaker versions to apply cleanly |
||||
|
||||
* Mon Mar 28 2011 Paul Howarth <paul@city-fan.org> - 0.27-1 |
||||
- Update to 0.27 |
||||
- Skip the package-stash-conflicts script in the compile test |
||||
|
||||
* Sat Mar 5 2011 Paul Howarth <paul@city-fan.org> - 0.26-1 |
||||
- Update to 0.26 |
||||
- Make the namespace cache lazy and weak, in case the stash is deleted |
||||
- However, this doesn't work on 5.8, so disable the namespace caching |
||||
entirely there |
||||
- Update patches to apply cleanly |
||||
- Bump perl(Package::Stash::XS) version requirement to 0.22 |
||||
- Bump perl(Dist::CheckConflicts) version requirement to 0.02 |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Tue Jan 25 2011 Paul Howarth <paul@city-fan.org> - 0.25-1 |
||||
- Update to 0.25 (make the leak tests author-only, since some smokers run |
||||
release tests) |
||||
- Update patches to apply cleanly |
||||
- Bump perl(Package::Stash::XS) version requirement to 0.21 |
||||
- Drop buildreq perl(Test::Exception), no longer needed |
||||
|
||||
* Tue Jan 18 2011 Paul Howarth <paul@city-fan.org> - 0.24-1 |
||||
- Update to 0.24 (reinstate Test::Requires dependency) |
||||
|
||||
* Wed Jan 12 2011 Paul Howarth <paul@city-fan.org> - 0.23-1 |
||||
- Update to 0.23 |
||||
- Lower perl prereq to 5.8.1 |
||||
- Make the leak tests release-only |
||||
- Update patches to apply cleanly |
||||
- Add patch to skip memory leak tests if we don't have Test::LeakTrace |
||||
|
||||
* Thu Jan 6 2011 Paul Howarth <paul@city-fan.org> - 0.22-1 |
||||
- Update to 0.22 (bump Package::Stash::XS version requirement since a bug was |
||||
fixed there) |
||||
- Update patches for old ExtUtils::MakeMaker and Test::More versions |
||||
- BR/R perl(Package::Stash::XS) >= 0.19 |
||||
- Content-free manpages for package-stash-conflicts and |
||||
Package::Stash::Conflicts dropped upstream |
||||
|
||||
* Tue Jan 4 2011 Paul Howarth <paul@city-fan.org> - 0.20-1 |
||||
- Update to 0.20 |
||||
- Methods were renamed for brevity: s/_package// |
||||
- Convert Package::Stash into a module which loads either the XS or pure perl |
||||
implementation, depending on what's available |
||||
- Use Test::Fatal instead of Test::Exception |
||||
- Use Dist::CheckConflicts |
||||
- Silence deprecation warnings for the method renaming for now |
||||
- New script and manpage: package-stash-conflicts |
||||
- New modules and manpages: Package::Stash::Conflicts and Package::Stash::PP |
||||
- New build requirements: |
||||
- perl(Dist::CheckConflicts) |
||||
- perl(Package::DeprecationManager) |
||||
- perl(Package::Stash::XS) |
||||
- perl(Test::LeakTrace) |
||||
- perl(Test::Requires) |
||||
- perl(Test::Script) |
||||
- Update patches for old ExtUtils::MakeMaker and Test::More versions |
||||
- Add new patch to work around absence of Test::Requires in EPEL-4 |
||||
- Require perl(Package::Stash::XS) for performance and consistency |
||||
- Manually provide perl(Package::Stash::Conflicts), hidden from auto-provides |
||||
|
||||
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-2 |
||||
- Rebuild to fix problems with vendorarch/lib (#661697) |
||||
|
||||
* Mon Sep 20 2010 Paul Howarth <paul@city-fan.org> - 0.08-1 |
||||
- Update to 0.08 (re-enable the caching of the stash) |
||||
- Update patch for old ExtUtils::MakeMaker and Test::More versions |
||||
|
||||
* Wed Jun 16 2010 Paul Howarth <paul@city-fan.org> - 0.05-1 |
||||
- Update to 0.05 |
||||
- Bump Test::More requirement for done_testing |
||||
- Update packaging stuff |
||||
- BR: perl(Test::EOL) and perl(Test::NoTabs) |
||||
- Unify spec for all active branches, adding patches for back-compatibility |
||||
|
||||
* Mon Jun 14 2010 Paul Howarth <paul@city-fan.org> - 0.04-1 |
||||
- Update to 0.04 (get_package_symbol now doesn't autovivify stash entries; a |
||||
new method get_or_add_package_symbol can now be used for that behavior) |
||||
|
||||
* Mon Jun 14 2010 Paul Howarth <paul@city-fan.org> - 0.03-2 |
||||
- Incorporate package review suggestions (#602597) |
||||
- Use %%{?perl_default_filter} |
||||
- Use DESTDIR instead of PERL_INSTALL_ROOT |
||||
|
||||
* Mon Jun 7 2010 Paul Howarth <paul@city-fan.org> - 0.03-1 |
||||
- Initial RPM version |
@ -0,0 +1,224 @@
@@ -0,0 +1,224 @@
|
||||
Name: perl-Params-Util |
||||
Version: 1.07 |
||||
Release: 6%{?dist} |
||||
Summary: Simple standalone parameter-checking functions |
||||
License: GPL+ or Artistic |
||||
Group: Development/Libraries |
||||
URL: http://search.cpan.org/dist/Params-Util/ |
||||
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Params-Util-%{version}.tar.gz |
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
||||
|
||||
BuildRequires: perl(Exporter) |
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.52 |
||||
BuildRequires: perl(File::Spec) >= 0.82 |
||||
BuildRequires: perl(File::Spec::Functions) |
||||
BuildRequires: perl(File::Temp) |
||||
BuildRequires: perl(Scalar::Util) >= 1.18 |
||||
BuildRequires: perl(Test::More) >= 0.47 |
||||
|
||||
%{?perl_default_filter} |
||||
|
||||
%description |
||||
Params::Util provides a basic set of importable functions that |
||||
makes checking parameters a hell of a lot easier. |
||||
|
||||
%prep |
||||
%setup -q -n Params-Util-%{version} |
||||
|
||||
%build |
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT |
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; |
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
||||
chmod -R u+w $RPM_BUILD_ROOT/* |
||||
|
||||
%check |
||||
make test AUTOMATED_TESTING=1 |
||||
|
||||
%files |
||||
%defattr(-,root,root,-) |
||||
%doc Changes LICENSE |
||||
#%{perl_vendorarch}/auto/* |
||||
#%{perl_vendorarch}/Params |
||||
/usr/share/perl5/vendor_perl/Params/Util.pm |
||||
|
||||
%{_mandir}/man3/* |
||||
|
||||
%changelog |
||||
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.07-6 |
||||
- Mass rebuild 2014-01-24 |
||||
|
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.07-5 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Tue Aug 14 2012 Petr Pisar <ppisar@redhat.com> - 1.07-4 |
||||
- Specify all dependencies |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1.07-2 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Mon Mar 19 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.07-1 |
||||
- Upstream update. |
||||
|
||||
* Mon Mar 05 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.06-1 |
||||
- Upstream update. |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Thu Jun 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.04-2 |
||||
- Perl mass rebuild |
||||
|
||||
* Fri Apr 29 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.04-1 |
||||
- Upstream update. |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Mon Dec 06 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.03-1 |
||||
- Upstream update. |
||||
|
||||
* Wed Jun 23 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.01-2 |
||||
- Rebuild for perl-5.12.x. |
||||
|
||||
* Fri May 07 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.01-1 |
||||
- Upstream update. |
||||
- Revert Marcela's 2010-05-04 changes. |
||||
- Remove BR's on perl(Test::MinimumVersion), perl(Test::Pod), |
||||
perl(Test::CPAN::Meta). |
||||
(Reflect upstream having disabled tests depending on them). |
||||
|
||||
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.00-4 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.00-3 |
||||
- rebuild against perl 5.10.1 |
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Wed Jun 17 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.00-1 |
||||
- Upstream update. |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.38-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Thu Feb 19 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.38-1 |
||||
- Upstream update. |
||||
|
||||
* Thu Feb 12 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.37-1 |
||||
- Upstream update. |
||||
- Pass OPTIMIZE to make. |
||||
- Remove *.bs after install. |
||||
- Misc. minor spec fixes. |
||||
|
||||
* Sat Nov 29 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.35-1 |
||||
- Upstream update. |
||||
- Remove BuildArch: noarch (package now is arch'ed). |
||||
- Remove testsuite hack to accept perl(Test::CPAN::Meta) != 0.07. |
||||
|
||||
* Tue Jul 08 2008 Ralf Corsépius <rc040203@freenet.de> - 0.33-2 |
||||
- Unconditionally BR: perl(Test::CPAN::Meta). |
||||
|
||||
* Mon Jun 02 2008 Ralf Corsépius <rc040203@freenet.de> - 0.33-1 |
||||
- Upstream update. |
||||
- Conditionally BR: perl(Test::CPAN::Meta). |
||||
- Hack testsuite to accept Test::CPAN::Meta != 0.07. |
||||
|
||||
* Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.31-6 |
||||
- Rebuild normally, second pass |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.31-5 |
||||
- Rebuild for perl 5.10 (again), first pass |
||||
|
||||
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.31-4 |
||||
- rebuild normally, second pass |
||||
|
||||
* Sat Jan 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.31-3.1 |
||||
- disable Test::MinimumVersion, tests for first pass |
||||
|
||||
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.31-3 |
||||
- rebuild for new perl |
||||
|
||||
* Sun Nov 25 2007 Ralf Corsépius <rc040203@freenet.de> - 0.31-2 |
||||
- Add BR: perl(Test::MinimumVersion). |
||||
|
||||
* Mon Nov 19 2007 Ralf Corsépius <rc040203@freenet.de> - 0.31-1 |
||||
- Upstream update. |
||||
|
||||
* Tue Oct 30 2007 Ralf Corsépius <rc040203@freenet.de> - 0.30-1 |
||||
- Upstream update. |
||||
|
||||
* Thu Sep 06 2007 Ralf Corsépius <rc040203@freenet.de> - 0.29-1 |
||||
- Upstream update. |
||||
- Update licence tag. |
||||
- Conditionally disable AUTOMATED_TESTING. |
||||
|
||||
* Sat Jul 28 2007 Ralf Corsépius <rc040203@freenet.de> - 0.26-1 |
||||
- Upstream update. |
||||
|
||||
* Wed May 30 2007 Ralf Corsépius <rc040203@freenet.de> - 0.25-1 |
||||
- Upstream update. |
||||
|
||||
* Mon May 14 2007 Ralf Corsépius <rc040203@freenet.de> - 0.24-1 |
||||
- Upstream update. |
||||
|
||||
* Mon Mar 12 2007 Ralf Corsépius <rc040203@freenet.de> - 0.23-2 |
||||
- BR: perl(ExtUtils::MakeMaker). |
||||
|
||||
* Fri Mar 02 2007 Ralf Corsépius <rc040203@freenet.de> - 0.23-1 |
||||
- Upstream update. |
||||
|
||||
* Fri Nov 03 2006 Ralf Corsépius <rc040203@freenet.de> - 0.22-1 |
||||
- Upstream update. |
||||
|
||||
* Thu Oct 19 2006 Ralf Corsépius <rc040203@freenet.de> - 0.21-1 |
||||
- Upstream update. |
||||
|
||||
* Wed Oct 04 2006 Ralf Corsépius <rc040203@freenet.de> - 0.20-1 |
||||
- Upstream update. |
||||
|
||||
* Mon Sep 18 2006 Ralf Corsépius <rc040203@freenet.de> - 0.19-1 |
||||
- Upstream update. |
||||
- Activate AUTOMATED_TESTING (t/99_author.t). |
||||
|
||||
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.17-2 |
||||
- Mass rebuild. |
||||
|
||||
* Sun Aug 13 2006 Ralf Corsépius <rc040203@freenet.de> - 0.17-1 |
||||
- Upstream update. |
||||
|
||||
* Wed Jul 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.15-1 |
||||
- Upstream update. |
||||
|
||||
* Sun May 21 2006 Ralf Corsépius <rc040203@freenet.de> - 0.14-1 |
||||
- Upstream update. |
||||
|
||||
* Mon May 08 2006 Ralf Corsépius <rc040203@freenet.de> - 0.13-1 |
||||
- Upstream update. |
||||
|
||||
* Thu Apr 20 2006 Ralf Corsépius <rc040203@freenet.de> - 0.11-1 |
||||
- Upstream update. |
||||
|
||||
* Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 0.10-2 |
||||
- Rebuild for perl-5.8.8. |
||||
|
||||
* Wed Jan 18 2006 Ralf Corsépius <rc040203@freenet.de> - 0.10-1 |
||||
- Upstream update. |
||||
|
||||
* Wed Jan 11 2006 Ralf Corsépius <rc040203@freenet.de> - 0.09-1 |
||||
- Upstream update. |
||||
|
||||
* Wed Dec 21 2005 Ralf Corsépius <rc040203@freenet.de> - 0.08-1 |
||||
- Upstream update. |
||||
|
||||
* Wed Oct 12 2005 Ralf Corsepius <rc040203@freenet.de> - 0.07-1 |
||||
- Upstream update. |
@ -0,0 +1,275 @@
@@ -0,0 +1,275 @@
|
||||
# Supported rpmbuild options: |
||||
# |
||||
# --with network/--without network |
||||
# include/exclude networked tests, which work in mock, but don't work in koji |
||||
# Default: --without (Exclude tests, which don't work in koji) |
||||
%bcond_with network |
||||
|
||||
Summary: Params-Validate Perl module |
||||
Name: perl-Params-Validate |
||||
Version: 1.08 |
||||
Release: 4%{?dist} |
||||
License: Artistic 2.0 |
||||
Group: Development/Libraries |
||||
URL: http://search.cpan.org/dist/Params-Validate/ |
||||
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Params-Validate-%{version}.tar.gz |
||||
# Hacks to make spell checking tests work with hunspell |
||||
Patch0: Params-Validate-1.08.diff |
||||
BuildRequires: perl |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(Module::Implementation) >= 0.04 |
||||
BuildRequires: perl(Module::Build) >= 0.37 |
||||
# Run-time: |
||||
BuildRequires: perl(attributes) |
||||
BuildRequires: perl(Attribute::Handlers) >= 0.79 |
||||
BuildRequires: perl(Exporter) |
||||
BuildRequires: perl(Scalar::Util) >= 1.10 |
||||
BuildRequires: perl(strict) |
||||
BuildRequires: perl(vars) |
||||
BuildRequires: perl(warnings) |
||||
BuildRequires: perl(XSLoader) |
||||
# Required by the tests |
||||
BuildRequires: perl(base) |
||||
BuildRequires: perl(Devel::Peek) |
||||
BuildRequires: perl(File::Spec) |
||||
BuildRequires: perl(File::Temp) |
||||
BuildRequires: perl(lib) |
||||
BuildRequires: perl(overload) |
||||
BuildRequires: perl(Test::Fatal) |
||||
BuildRequires: perl(Test::More) >= 0.88 |
||||
BuildRequires: perl(Test::Taint) >= 0.02 |
||||
BuildRequires: perl(Tie::Array) |
||||
BuildRequires: perl(Tie::Hash) |
||||
BuildRequires: perl(Tie::StdArray) |
||||
BuildRequires: perl(Tie::StdHash) |
||||
BuildRequires: perl(Readonly) |
||||
BuildRequires: perl(Readonly::XS) |
||||
# For release testing tests |
||||
BuildRequires: perl(Test::CPAN::Changes) |
||||
BuildRequires: perl(Test::EOL) |
||||
BuildRequires: perl(Test::NoTabs) |
||||
BuildRequires: perl(Test::Pod) >= 1.41 |
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04 |
||||
%if !(0%{?rhel} >= 7) |
||||
BuildRequires: perl(Test::Pod::LinkCheck) |
||||
BuildRequires: perl(Test::Pod::No404s) |
||||
BuildRequires: perl(LWP::Protocol::https) |
||||
%endif |
||||
BuildRequires: perl(Test::Spelling) |
||||
BuildRequires: hunspell-en |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
|
||||
|
||||
%{?perl_default_filter} |
||||
|
||||
%description |
||||
The Params::Validate module allows you to validate method or function |
||||
call parameters to an arbitrary level of specificity. At the simplest |
||||
level, it is capable of validating the required parameters were given |
||||
and that no unspecified additional parameters were passed in. It is |
||||
also capable of determining that a parameter is of a specific type, |
||||
that it is an object of a certain class hierarchy, that it possesses |
||||
certain methods, or applying validation callbacks to arguments. |
||||
|
||||
%prep |
||||
%setup -q -n Params-Validate-%{version} |
||||
%patch0 -p1 |
||||
sed -i -e "s,set_spell_cmd(.*),set_spell_cmd(\'hunspell -l\')," t/release-pod-spell.t |
||||
|
||||
%build |
||||
perl Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" |
||||
./Build |
||||
|
||||
%install |
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 |
||||
%{_fixperms} $RPM_BUILD_ROOT/* |
||||
|
||||
%check |
||||
RELEASE_TESTING=1 %{!?with_network:SKIP_POD_NO404S=1} ./Build test |
||||
|
||||
%files |
||||
%doc Changes LICENSE README TODO |
||||
%{perl_vendorarch}/Params |
||||
%{perl_vendorarch}/auto/Params |
||||
%{perl_vendorarch}/Attribute |
||||
%{_mandir}/man3/* |
||||
|
||||
%changelog |
||||
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.08-4 |
||||
- Mass rebuild 2014-01-24 |
||||
|
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.08-3 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Wed Jul 31 2013 Petr Pisar <ppisar@redhat.com> - 1.08-2.1 |
||||
- Modernize spec file |
||||
|
||||
* Thu Jul 18 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.08-2 |
||||
- Adjust license tag (RHBZ #977787). |
||||
|
||||
* Tue Jun 11 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.08-1 |
||||
- Upstream update. |
||||
- Update patch. |
||||
- Update BRs. |
||||
- Add %%bcond --with network. |
||||
- Fix up %%changelog dates. |
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
||||
|
||||
* Tue Oct 30 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.07-1 |
||||
- Upstream update. |
||||
|
||||
* Tue Aug 14 2012 Petr Pisar <ppisar@redhat.com> - 1.06-5 |
||||
- Specify all dependencies |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1.06-3 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Thu May 31 2012 Petr Pisar <ppisar@redhat.com> - 1.06-2 |
||||
- Round Module::Build version to 2 digits |
||||
|
||||
* Mon Mar 19 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.06-1 |
||||
- Upstream update. |
||||
|
||||
* Thu Feb 09 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.05-1 |
||||
- Upstream update. |
||||
|
||||
* Mon Feb 06 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.01-1 |
||||
- Upstream update. |
||||
- Drop Params-Validate-1.00-no-pod-coverage.patch. |
||||
- Spec file cleanup. |
||||
|
||||
* Sun Jan 22 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.00-5 |
||||
- Add %%{perl_default_filter}. |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.00-3 |
||||
- Perl mass rebuild |
||||
|
||||
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.00-2 |
||||
- Perl mass rebuild |
||||
|
||||
* Thu Jun 30 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.00-1 |
||||
- Upstream update. |
||||
- Deactivate t/release-pod-coverage.t |
||||
(Add Params-Validate-1.00-no-pod-coverage.patch). |
||||
|
||||
* Thu Jun 30 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.99-3 |
||||
- Fix up bogus Tue Jun 28 2011 changelog entry. |
||||
- Fix License (Artistic2.0). |
||||
- Add BR: perl(Test::CPAN:Changes). |
||||
|
||||
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.99-2 |
||||
- Perl mass rebuild |
||||
- remove unneeded Pod::Man |
||||
|
||||
* Tue May 31 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.99-1 |
||||
- Upstream update. |
||||
- Rebase patch (Params-Validate-0.99.diff). |
||||
|
||||
* Sat Apr 30 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.98-1 |
||||
- Upstream update. |
||||
- Spec cleanup. |
||||
- Rework BR's. |
||||
- Reflect upstream having abandoned AUTHOR_TESTING. |
||||
- Make spell-checking tests working/work-around aspell/hunspell/perl(Test::Spelling) |
||||
issues (add Params-Validate-0.98.diff). |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.95-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.95-3 |
||||
- 661697 rebuild for fixing problems with vendorach/lib |
||||
|
||||
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.95-2 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Wed Mar 03 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.95-1 |
||||
- Upstream update. |
||||
|
||||
* Tue Dec 15 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.94-1 |
||||
- Upstream update. |
||||
- Reflect upstream having reworked author tests to using AUTHOR_TESTING=1. |
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.92-2 |
||||
- rebuild against perl 5.10.1 |
||||
|
||||
* Mon Nov 23 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.92-1 |
||||
- Upstream update. |
||||
- Switch to Build.PL. |
||||
- Disable IS_MAINTAINER test. |
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Tue Jun 10 2008 Ralf Corsépius <rc040203@freenet.de> - 0.91-1 |
||||
- Upstream update. |
||||
- Conditionally activate IS_MAINTAINER tests. |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.89-4 |
||||
- Rebuild for perl 5.10 (again) |
||||
|
||||
* Sun Feb 10 2008 Ralf Corsépius <rc040203@freenet.de> - 0.89-3 |
||||
- Rebuild for gcc43. |
||||
|
||||
* Tue Jan 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.89-2 |
||||
- rebuild for new perl |
||||
|
||||
* Tue Nov 13 2007 Ralf Corsépius <rc040203@freenet.de> - 0.89-1 |
||||
- Upstream update. |
||||
|
||||
* Thu Sep 06 2007 Ralf Corsépius <rc040203@freenet.de> - 0.88-3 |
||||
- Update license tag. |
||||
|
||||
* Wed Aug 22 2007 Ralf Corsépius <rc040203@freenet.de> - 0.88-2 |
||||
- Mass rebuild. |
||||
|
||||
* Mon Mar 12 2007 Ralf Corsépius <rc040203@freenet.de> - 0.88-1 |
||||
- BR: perl(ExtUtils::MakeMaker). |
||||
- Upstream update. |
||||
|
||||
* Sat Jan 20 2007 Ralf Corsépius <rc040203@freenet.de> - 0.87-1 |
||||
- Upstream update. |
||||
|
||||
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.86-2 |
||||
- Mass rebuild. |
||||
|
||||
* Sun Aug 13 2006 Ralf Corsépius <rc040203@freenet.de> - 0.86-1 |
||||
- Upstream update. |
||||
|
||||
* Wed Jun 28 2006 Ralf Corsépius <rc040203@freenet.de> - 0.85-1 |
||||
- Upstream update. |
||||
|
||||
* Mon Jun 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.84-1 |
||||
- Upstream update. |
||||
|
||||
* Sun May 21 2006 Ralf Corsépius <rc040203@freenet.de> - 0.82-1 |
||||
- Upstream update. |
||||
|
||||
* Tue Apr 04 2006 Ralf Corsépius <rc040203@freenet.de> - 0.81-1 |
||||
- Upstream update. |
||||
|
||||
* Mon Feb 20 2006 Ralf Corsépius <rc040203@freenet.de> - 0.80-2 |
||||
- Rebuild. |
||||
|
||||
* Wed Feb 01 2006 Ralf Corsépius <rc040203@freenet.de> - 0.80-1 |
||||
- Upstream update. |
||||
|
||||
* Sat Jan 14 2006 Ralf Corsépius <rc040203@freenet.de> - 0.79-1 |
||||
- Upstream update. |
||||
- BR perl(Readonly), perl(Readonly::XS). |
||||
|
||||
* Sun Aug 14 2005 Ralf Corsepius <ralf@links2linux.de> - 0.78-2 |
||||
- Spec file cleanup. |
||||
|
||||
* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 0.78-1 |
||||
- FE submission. |
@ -0,0 +1,155 @@
@@ -0,0 +1,155 @@
|
||||
Name: perl-String-ShellQuote |
||||
Version: 1.04 |
||||
Release: 10%{?dist} |
||||
Summary: Perl module for quoting strings for passing through the shell |
||||
# shell-quote: GPLv2+ |
||||
# rest: GPL+ or Artistic |
||||
License: (GPL+ or Artistic) and GPLv2+ |
||||
Group: Development/Libraries |
||||
URL: http://search.cpan.org/dist/String-ShellQuote/ |
||||
Source0: http://www.cpan.org/authors/id/R/RO/ROSCH/String-ShellQuote-%{version}.tar.gz |
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
||||
BuildArch: noarch |
||||
BuildRequires: perl |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
# Run-time: |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(Exporter) |
||||
# RS::Handy is never used |
||||
BuildRequires: perl(strict) |
||||
BuildRequires: perl(vars) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
||||
Requires: perl(Carp) |
||||
Requires: perl(Getopt::Long) |
||||
|
||||
%description |
||||
This package contains a Perl module and a command line utility which |
||||
are useful for quoting strings which are going to pass through the |
||||
shell or a shell-like object. |
||||
|
||||
%prep |
||||
%setup -q -n String-ShellQuote-%{version} |
||||
|
||||
%build |
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
rm -rf $RPM_BUILD_ROOT |
||||
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
||||
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/* |
||||
|
||||
%check |
||||
make test |
||||
|
||||
%clean |
||||
rm -rf $RPM_BUILD_ROOT |
||||
|
||||
%files |
||||
%defattr(-,root,root,-) |
||||
%doc Changes README |
||||
%{_bindir}/shell-quote |
||||
%{perl_vendorlib}/String |
||||
%{_mandir}/man1/shell-quote.1* |
||||
%{_mandir}/man3/String::ShellQuote.3* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.04-10 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Tue Jul 30 2013 Petr Pisar <ppisar@redhat.com> - 1.04-9 |
||||
- Add GPLv2+ to the license declaration due to shell-quote(1) |
||||
- Specify all dependencies |
||||
|
||||
* Fri Aug 17 2012 Petr Pisar <ppisar@redhat.com> - 1.04-8 |
||||
- Specify all dependencies |
||||
|
||||
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 1.04-7.1 |
||||
- Rebuild for perl 5.16 |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-7 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.04-6 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.04-4 |
||||
- Perl mass rebuild |
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.04-2 |
||||
- 661697 rebuild for fixing problems with vendorach/lib |
||||
|
||||
* Sat Dec 18 2010 Steven Pritchard <steve@kspei.com> 1.04-1 |
||||
- Update to 1.04. |
||||
|
||||
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.03-9 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.03-8 |
||||
- rebuild against perl 5.10.1 |
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-7 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-6 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Thu Mar 6 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.03-5 |
||||
- rebuild for new perl |
||||
|
||||
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 1.03-4 |
||||
- Reformat to match cpanspec output. |
||||
- Use fixperms macro instead of our own chmod incantation. |
||||
- BR ExtUtils::MakeMaker. |
||||
|
||||
* Tue Aug 29 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.03-3 |
||||
- Fix order of arguments to find(1). |
||||
- Drop version from perl build dependency. |
||||
|
||||
* Wed May 4 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.03-2 |
||||
- 1.03. |
||||
|
||||
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
||||
- rebuilt |
||||
|
||||
* Thu Dec 16 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.00-8 |
||||
- Sync with fedora-rpmdevtools' Perl spec template to fix x86_64 build. |
||||
|
||||
* Thu Sep 11 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.00-0.fdr.7 |
||||
- Specfile cleanup, using INSTALLDIRS=vendor, PERL_INSTALL_ROOT and |
||||
INSTALLARCHLIB. |
||||
|
||||
* Sun Aug 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.00-0.fdr.6 |
||||
- Get rid of perllocal.pod, .packlist and empty *.bs. |
||||
Some of the files don't exist with this package but I want a good template |
||||
%%install section :) |
||||
|
||||
* Sun Aug 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.00-0.fdr.5 |
||||
- Install into vendor dirs. |
||||
|
||||
* Sun Jul 13 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.00-0.fdr.4 |
||||
- Update description. |
||||
- Small spec cleanups. |
||||
|
||||
* Sun May 4 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.00-0.fdr.3 |
||||
- Own more dirs. |
||||
|
||||
* Sun Apr 13 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.00-0.fdr.2 |
||||
- Save .spec in UTF-8. |
||||
|
||||
* Sat Mar 22 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.00-0.fdr.1 |
||||
- Update to current Fedora guidelines. |
||||
|
||||
* Fri Feb 7 2003 Ville Skyttä <ville.skytta at iki.fi> - 1.00-1.fedora.1 |
||||
- First Fedora release. |
@ -0,0 +1,197 @@
@@ -0,0 +1,197 @@
|
||||
# We need to patch the test suite if we have an old version of Test::More |
||||
%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0) |
||||
|
||||
Name: perl-Sub-Exporter |
||||
Version: 0.986 |
||||
Release: 2%{?dist} |
||||
Summary: Sophisticated exporter for custom-built routines |
||||
License: GPL+ or Artistic |
||||
Group: Development/Libraries |
||||
URL: https://metacpan.org/release/Sub-Exporter |
||||
Source0: http://cpan.metacpan.org/authors/id/R/RJ/RJBS/Sub-Exporter-%{version}.tar.gz |
||||
Patch1: Sub-Exporter-0.986-old-Test::More.patch |
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) |
||||
BuildArch: noarch |
||||
# Build |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
# Module |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(Data::OptList) >= 0.1 |
||||
BuildRequires: perl(Package::Generator) |
||||
BuildRequires: perl(Params::Util) >= 0.14 |
||||
BuildRequires: perl(Sub::Install) >= 0.92 |
||||
# Test suite |
||||
BuildRequires: perl(base) |
||||
BuildRequires: perl(Exporter) |
||||
BuildRequires: perl(File::Find) |
||||
BuildRequires: perl(File::Temp) |
||||
BuildRequires: perl(lib) |
||||
BuildRequires: perl(subs) |
||||
BuildRequires: perl(Test::More) |
||||
# Extra tests |
||||
BuildRequires: perl(Test::Pod) |
||||
# Runtime |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
Requires: perl(Package::Generator) |
||||
|
||||
# Don't want doc-file provides or dependencies |
||||
%global __provides_exclude_from ^%{_datadir}/doc/%{name}-%{version}/ |
||||
%global __requires_exclude_from ^%{_datadir}/doc/%{name}-%{version}/ |
||||
|
||||
%description |
||||
Sub::Exporter provides a sophisticated alternative to Exporter.pm. It allows |
||||
for renaming, currying/sub-generation, and other cool stuff. |
||||
|
||||
ACHTUNG! If you're not familiar with Exporter or exporting, read |
||||
Sub::Exporter::Tutorial first! |
||||
|
||||
%prep |
||||
%setup -q -n Sub-Exporter-%{version} |
||||
|
||||
# We need to patch the test suite if we have an old version of Test::More |
||||
%if %{old_test_more} |
||||
%patch1 |
||||
%endif |
||||
|
||||
# Fix shellbangs |
||||
find t/ -type f -exec sed -i -e 's|^#!perl|#!/usr/bin/perl|' {} \; |
||||
|
||||
# Filter bogus provides/requires if we don't have rpm ≥ 4.9 |
||||
%global provfilt /bin/sh -c "%{__perl_provides} | grep -Ev '^perl[(]Test::SubExporter.*[)]'" |
||||
%define __perl_provides %{provfilt} |
||||
%global reqfilt /bin/sh -c "%{__perl_requires} | grep -Ev '^perl[(](base|Test::SubExporter.*)[)]'" |
||||
%define __perl_requires %{reqfilt} |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
rm -rf %{buildroot} |
||||
make pure_install DESTDIR=%{buildroot} |
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
||||
%{_fixperms} %{buildroot} |
||||
|
||||
%check |
||||
make test |
||||
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" |
||||
|
||||
%clean |
||||
rm -rf %{buildroot} |
||||
|
||||
%files |
||||
%doc Changes README t/ |
||||
%dir %{perl_vendorlib}/Sub/ |
||||
%dir %{perl_vendorlib}/Sub/Exporter/ |
||||
%{perl_vendorlib}/Sub/Exporter.pm |
||||
%{perl_vendorlib}/Sub/Exporter/Util.pm |
||||
%doc %{perl_vendorlib}/Sub/Exporter/Cookbook.pod |
||||
%doc %{perl_vendorlib}/Sub/Exporter/Tutorial.pod |
||||
%{_mandir}/man3/Sub::Exporter.3pm* |
||||
%{_mandir}/man3/Sub::Exporter::Cookbook.3pm* |
||||
%{_mandir}/man3/Sub::Exporter::Tutorial.3pm* |
||||
%{_mandir}/man3/Sub::Exporter::Util.3pm* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.986-2 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Sat Jun 15 2013 Paul Howarth <paul@city-fan.org> - 0.986-1 |
||||
- Update to 0.986 (typo fixes in docs) |
||||
- Use metacpan URLs |
||||
|
||||
* Thu Feb 21 2013 Paul Howarth <paul@city-fan.org> - 0.985-1 |
||||
- Update to 0.985 (documentation fixes) |
||||
- Add patch to support building with Test::More < 0.88 |
||||
- Run the extra tests too |
||||
- BR: perl(File::Find) and perl(File::Temp) for test suite |
||||
- BR: perl(Test::Pod) for the extra tests |
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.984-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
||||
|
||||
* Mon Oct 29 2012 Petr Pisar <ppisar@redhat.com> - 0.984-4 |
||||
- Specify all dependencies |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.984-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.984-2 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Tue Jun 5 2012 Paul Howarth <paul@city-fan.org> - 0.984-1 |
||||
- Update to 0.984 (documentation fixes) |
||||
- Add filters for provides/requires from the test suite |
||||
- BR: perl(base) and perl(Exporter) for the test suite |
||||
|
||||
* Sun Mar 18 2012 Paul Howarth <paul@city-fan.org> - 0.982-11 |
||||
- Drop %%defattr, redundant since rpm 4.4 |
||||
|
||||
* Sat Mar 3 2012 Paul Howarth <paul@city-fan.org> - 0.982-10 |
||||
- Explicitly require perl(Package::Generator) |
||||
- Make %%files list more explicit |
||||
- Mark POD files as %%doc |
||||
- Use DESTDIR rather than PERL_INSTALL_ROOT |
||||
- Don't need to remove empty directories from buildroot |
||||
- Don't use macros for commands |
||||
- Use tabs |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.982-9 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.982-8 |
||||
- Perl mass rebuild |
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.982-7 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.982-6 |
||||
- Rebuild to fix problems with vendorarch/lib (#661697) |
||||
|
||||
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.982-5 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.982-4 |
||||
- Rebuild against perl 5.10.1 |
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.982-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.982-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Wed Feb 11 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.982-1 |
||||
- Update to 0.982 |
||||
|
||||
* Sun Oct 26 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.981-1 |
||||
- Update to 0.981 |
||||
|
||||
* Thu Oct 23 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.980-1 |
||||
- Update to 0.980 |
||||
|
||||
* Mon Jun 30 2008 Chris Weyl <cweyl@alumni.drew.edu> - 0.979-1 |
||||
- Update to 0.979 |
||||
- Drop BR's on: perl(Test::Pod::Coverage), perl(Test::Pod) |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.978-2 |
||||
- Rebuild for perl 5.10 (again) |
||||
|
||||
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.978-1 |
||||
- Update to 0.978 |
||||
- Fix license tag |
||||
- Rebuild for new perl |
||||
|
||||
* Thu Aug 09 2007 Chris Weyl <cweyl@alumni.drew.edu> - 0.975-1 |
||||
- Update to 0.975 |
||||
|
||||
* Fri Jun 01 2007 Chris Weyl <cweyl@alumni.drew.edu> - 0.974-1 |
||||
- Update to 0.974 |
||||
|
||||
* Sat Dec 09 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.972-1 |
||||
- Update to 0.972 |
||||
|
||||
* Thu Sep 07 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.970-2 |
||||
- Bump |
||||
|
||||
* Sat Sep 02 2006 Chris Weyl <cweyl@alumni.drew.edu> - 0.970-1 |
||||
- Specfile autogenerated by cpanspec 1.69.1 |
@ -0,0 +1,133 @@
@@ -0,0 +1,133 @@
|
||||
Name: perl-Sub-Install |
||||
Version: 0.926 |
||||
Release: 6%{?dist} |
||||
Summary: Install subroutines into packages easily |
||||
License: GPL+ or Artistic |
||||
Group: Development/Libraries |
||||
URL: http://search.cpan.org/dist/Sub-Install/ |
||||
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Sub-Install-%{version}.tar.gz |
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
||||
BuildArch: noarch |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
||||
|
||||
%if !%{defined perl_bootstrap} |
||||
# Run-time: |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(Scalar::Util) |
||||
# Tests: |
||||
BuildRequires: perl(Test::More) |
||||
BuildRequires: perl(Test::Perl::Critic) |
||||
BuildRequires: perl(Test::Pod) |
||||
BuildRequires: perl(Test::Pod::Coverage) |
||||
%endif |
||||
|
||||
%description |
||||
This module makes it easy to install subroutines into packages without the |
||||
unslightly mess of no strict or typeglobs lying about where just anyone |
||||
can see them. |
||||
|
||||
%prep |
||||
%setup -q -n Sub-Install-%{version} |
||||
|
||||
%build |
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
rm -rf %{buildroot} |
||||
|
||||
make pure_install DESTDIR=%{buildroot} |
||||
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
||||
|
||||
%{_fixperms} %{buildroot}/* |
||||
|
||||
%check |
||||
# you'll note a number of tests are skipped due to Test::Output not being |
||||
# present. However, Test::Output requires Sub::Exporter which requires... |
||||
# Sub::Install. Holy circular loop, Batman! :) |
||||
%if !%{defined perl_bootstrap} |
||||
PERL_TEST_CRITIC=1 make test |
||||
%endif |
||||
|
||||
%clean |
||||
rm -rf %{buildroot} |
||||
|
||||
%files |
||||
%defattr(-,root,root,-) |
||||
%doc Changes README LICENSE |
||||
%{perl_vendorlib}/* |
||||
%{_mandir}/man3/* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.926-6 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Mon Aug 20 2012 Petr Pisar <ppisar@redhat.com> - 0.926-5 |
||||
- Specify all dependencies |
||||
|
||||
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 0.926-4.1 |
||||
- Rebuild for perl 5.16 |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.926-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 0.926-3 |
||||
- Perl 5.16 re-rebuild of bootstrapped packages |
||||
|
||||
* Sun Jun 10 2012 Petr Pisar <ppisar@redhat.com> - 0.926-2 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Mon Mar 12 2012 Robin Lee <cheeselee@fedoraproject.org> - 0.926-1 |
||||
- Update to 0.926 |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.925-10 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.925-9 |
||||
- Perl mass rebuild |
||||
- add perl_bootstrap macro |
||||
- add missing BR ExtUtils::MakeMaker |
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.925-8 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.925-7 |
||||
- 661697 rebuild for fixing problems with vendorach/lib |
||||
|
||||
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.925-6 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Thu Feb 25 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.925-5 |
||||
- add license |
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.925-4 |
||||
- rebuild against perl 5.10.1 |
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.925-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.925-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Tue Feb 03 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.925-1 |
||||
- update to 0.925 |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.924-3 |
||||
- Rebuild for perl 5.10 (again) |
||||
|
||||
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.924-2 |
||||
- rebuild for new perl |
||||
- fix license tag |
||||
|
||||
* Wed Nov 22 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.924-1 |
||||
- update to 0.924 |
||||
- add perl(Test::Perl::Critic) to BR's |
||||
|
||||
* Wed Sep 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.922-2 |
||||
- bump |
||||
|
||||
* Sat Sep 02 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.922-1 |
||||
- Specfile autogenerated by cpanspec 1.69.1. |
@ -0,0 +1,118 @@
@@ -0,0 +1,118 @@
|
||||
Name: perl-Text-Glob |
||||
Version: 0.09 |
||||
Release: 7%{?dist} |
||||
Summary: Perl module to match globbing patterns against text |
||||
License: GPL+ or Artistic |
||||
Group: Development/Libraries |
||||
URL: http://search.cpan.org/dist/Text-Glob/ |
||||
Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/Text-Glob-%{version}.tar.gz |
||||
|
||||
BuildArch: noarch |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
BuildRequires: perl(constant) |
||||
BuildRequires: perl(Exporter) |
||||
BuildRequires: perl(Test::More) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
|
||||
%description |
||||
Text::Glob implements glob(3) style matching that can be used to match |
||||
against text, rather than fetching names from a file-system. If you |
||||
want to do full file globbing use the File::Glob module instead. |
||||
|
||||
%prep |
||||
%setup -q -n Text-Glob-%{version} |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT |
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
||||
chmod -R u+w $RPM_BUILD_ROOT/* |
||||
|
||||
%check |
||||
make test |
||||
|
||||
%files |
||||
%doc Changes |
||||
%{perl_vendorlib}/Text |
||||
%{_mandir}/man3/* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.09-7 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Wed Aug 15 2012 Daniel Mach <dmach@redhat.com> - 0.09-6.1 |
||||
- Rebuild for perl 5.16 |
||||
|
||||
* Fri Aug 10 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-6 |
||||
- Update BRs and remove %%defattr. |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 0.09-4 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.09-2 |
||||
- Perl mass rebuild |
||||
|
||||
* Wed Mar 02 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.09-1 |
||||
- Upstream update. |
||||
- Spec cleanup. |
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-11 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-10 |
||||
- 661697 rebuild for fixing problems with vendorach/lib |
||||
|
||||
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-9 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Thu Feb 25 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.08-8 |
||||
- add readme |
||||
|
||||
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.08-7 |
||||
- rebuild against perl 5.10.1 |
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-6 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.08-4 |
||||
- Rebuild for perl 5.10 (again) |
||||
|
||||
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.08-3 |
||||
- rebuild for new perl |
||||
|
||||
* Sat Aug 18 2007 Ralf Corsépius <rc040203@freenet.de> - 0.08-2 |
||||
- Update license tag. |
||||
|
||||
* Tue May 08 2007 Ralf Corsépius <rc040203@freenet.de> - 0.08-1 |
||||
- Upstream update. |
||||
|
||||
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.07-2 |
||||
- Mass rebuild. |
||||
|
||||
* Thu Jul 20 2006 Ralf Corsépius <rc040203@freenet.de> - 0.07-1 |
||||
- Upstream update. |
||||
|
||||
* Tue Feb 28 2006 Ralf Corsépius <rc040203@freenet.de> - 0.06-4 |
||||
- Rebuild for perl-5.8.8. |
||||
|
||||
* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 0.06-3 |
||||
- Spec cleanup. |
||||
|
||||
* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 0.06-2 |
||||
- FE resubmission. |
||||
|
||||
* Fri Jul 01 2005 Ralf Corsepius <ralf@links2linux.de> - 0.06-1 |
||||
- FE submission. |
@ -0,0 +1,128 @@
@@ -0,0 +1,128 @@
|
||||
Name: perl-Try-Tiny |
||||
Summary: Minimal try/catch with proper localization of $@ |
||||
Version: 0.12 |
||||
Release: 2%{?dist} |
||||
License: MIT |
||||
Group: Development/Libraries |
||||
URL: http://search.cpan.org/dist/Try-Tiny |
||||
Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Try-Tiny-%{version}.tar.gz |
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) |
||||
BuildArch: noarch |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(Exporter) |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
BuildRequires: perl(Test::More) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
Requires: perl(Exporter) |
||||
|
||||
# obsolete/provide old tests subpackage |
||||
# can be removed during F19 development cycle |
||||
Obsoletes: %{name}-tests < 0.11-3 |
||||
Provides: %{name}-tests = %{version}-%{release} |
||||
|
||||
%description |
||||
This module provides bare bones try/catch statements that are designed to |
||||
minimize common mistakes with eval blocks, and NOTHING else. |
||||
|
||||
This is unlike TryCatch, which provides a nice syntax and avoids adding |
||||
another call stack layer, and supports calling return from the try block to |
||||
return from the parent subroutine. These extra features come at a cost of a |
||||
few dependencies, namely Devel::Declare and Scope::Upper that are occasionally |
||||
problematic, and the additional catch filtering uses Moose type constraints, |
||||
which may not be desirable either. |
||||
|
||||
%prep |
||||
%setup -q -n Try-Tiny-%{version} |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
rm -rf %{buildroot} |
||||
make pure_install DESTDIR=%{buildroot} |
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
||||
%{_fixperms} %{buildroot} |
||||
|
||||
%check |
||||
make test |
||||
|
||||
%clean |
||||
rm -rf %{buildroot} |
||||
|
||||
%files |
||||
%doc Changes t/ |
||||
%{perl_vendorlib}/Try/ |
||||
%{_mandir}/man3/Try::Tiny.3pm* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.12-2 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Wed Jan 2 2013 Paul Howarth <paul@city-fan.org> - 0.12-1 |
||||
- Update to 0.12 |
||||
- Documentation fixes |
||||
|
||||
* Tue Aug 28 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-7 |
||||
- Add BR/R perl(Exporter) |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-6 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 0.11-5 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Mon Mar 26 2012 Paul Howarth <paul@city-fan.org> - 0.11-4 |
||||
- BR: perl(Carp) |
||||
- Don't need to remove empty directories from buildroot |
||||
- Don't use macros for commands |
||||
- Drop redundant %%{?perl_default_filter} |
||||
- Enhance %%description |
||||
- Reinstate EPEL-5 compatibility: |
||||
- Define buildroot |
||||
- Clean buildroot in %%install and %%clean |
||||
- Use tabs |
||||
|
||||
* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> - 0.11-3 |
||||
- Drop tests subpackage; move tests to main package documentation |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Sun Oct 02 2011 Iain Arnell <iarnell@gmail.com> - 0.11-1 |
||||
- Update to latest upstream version |
||||
|
||||
* Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.09-2 |
||||
- Perl mass rebuild |
||||
|
||||
* Fri Mar 18 2011 Iain Arnell <iarnell@gmail.com> - 0.09-1 |
||||
- Update to latest upstream version |
||||
- Clean up spec for modern rpmbuild |
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Mon Nov 1 2010 Paul Howarth <paul@city-fan.org> - 0.07-1 |
||||
- Update to 0.07 |
||||
- Allow multiple finally blocks |
||||
- Pass the error, if any, to finally blocks when called |
||||
- Documentation fixes and clarifications |
||||
- This release by RJBS -> update source URL |
||||
|
||||
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-2 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Tue Mar 02 2010 Chris Weyl <cweyl@alumni.drew.edu> - 0.04-1 |
||||
- Update by Fedora::App::MaintainerTools 0.004 |
||||
- PERL_INSTALL_ROOT => DESTDIR |
||||
- Updating to latest GA CPAN version (0.04) |
||||
|
||||
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.02-2 |
||||
- Rebuild against perl 5.10.1 |
||||
|
||||
* Tue Sep 15 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.02-1 |
||||
- Submission |
||||
|
||||
* Tue Sep 15 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.02-0 |
||||
- Initial RPM packaging |
||||
- Generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8) |
@ -0,0 +1,227 @@
@@ -0,0 +1,227 @@
|
||||
Name: perl-XML-Parser |
||||
Version: 2.41 |
||||
Release: 10%{?dist} |
||||
Summary: Perl module for parsing XML documents |
||||
|
||||
Group: Development/Libraries |
||||
License: GPL+ or Artistic |
||||
Url: http://search.cpan.org/dist/XML-Parser/ |
||||
Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-%{version}.tar.gz |
||||
|
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
BuildRequires: perl(Exporter) |
||||
BuildRequires: perl(File::Spec) |
||||
BuildRequires: perl(File::Temp) |
||||
BuildRequires: perl(IO::File) |
||||
BuildRequires: perl(IO::Handle) |
||||
BuildRequires: perl(lib) |
||||
BuildRequires: perl(Test) |
||||
BuildRequires: perl(Text::ParseWords) |
||||
BuildRequires: expat-devel |
||||
# The script LWPExternEnt.pl is loaded by Parser.pm |
||||
BuildRequires: perl(LWP) |
||||
BuildRequires: perl(URI) |
||||
BuildRequires: perl(URI::file) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
Requires: perl(IO::File) |
||||
Requires: perl(IO::Handle) |
||||
|
||||
|
||||
%{?perl_default_filter} |
||||
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(XML::Parser\\)$ |
||||
|
||||
%description |
||||
This module provides ways to parse XML documents. It is built on top |
||||
of XML::Parser::Expat, which is a lower level interface to James |
||||
Clark's expat library. Each call to one of the parsing methods creates |
||||
a new instance of XML::Parser::Expat which is then used to parse the |
||||
document. Expat options may be provided when the XML::Parser object is |
||||
created. These options are then passed on to the Expat object on each |
||||
parse call. They can also be given as extra arguments to the parse |
||||
methods, in which case they override options given at XML::Parser |
||||
creation time. |
||||
|
||||
%prep |
||||
%setup -q -n XML-Parser-%{version} |
||||
chmod 644 samples/{canonical,xml*} |
||||
perl -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' samples/{canonical,xml*} |
||||
|
||||
%build |
||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS" |
||||
|
||||
%install |
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT |
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' |
||||
chmod -R u+w $RPM_BUILD_ROOT/* |
||||
|
||||
for file in samples/REC-xml-19980210.xml; do |
||||
iconv -f iso-8859-1 -t utf-8 < "$file" > "${file}_" |
||||
mv -f "${file}_" "$file" |
||||
sed -i -e "s/encoding='ISO-8859-1'/encoding='UTF-8'/" "$file" |
||||
done |
||||
|
||||
%check |
||||
make test |
||||
|
||||
%files |
||||
%doc README Changes samples/ |
||||
%{perl_vendorarch}/XML/ |
||||
%{perl_vendorarch}/auto/XML/ |
||||
%{_mandir}/man3/*.3* |
||||
|
||||
|
||||
%changelog |
||||
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.41-10 |
||||
- Mass rebuild 2014-01-24 |
||||
|
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.41-9 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Thu Nov 22 2012 Jitka Plesnikova <jplesnik@redhat.com> - 2.41-8 |
||||
- Update dependencies and summary |
||||
- Remove pre-RPM-4.9 filters |
||||
- Remove deleting empty directories |
||||
- Update REC-xml-19980210.xml to match new encoding |
||||
|
||||
* Mon Aug 27 2012 Jitka Plesnikova <jplesnik@redhat.com> - 2.41-7 |
||||
- Specify all dependencies. |
||||
- Remove perl(LWP) and perl(URI) from Requires. |
||||
- Update source link. |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.41-6 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 2.41-5 |
||||
- Perl 5.16 rebuild |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.41-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Sun Jul 24 2011 Iain Arnell <iarnell@gmail.com> 2.41-3 |
||||
- update filtering for rpm 4.9 |
||||
|
||||
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 2.41-2 |
||||
- Perl mass rebuild |
||||
|
||||
* Fri Jun 3 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.41-1 |
||||
- update 2.41 |
||||
- clean spec from rm, clean, deffattr |
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.40-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Wed Sep 29 2010 jkeating - 2.40-2 |
||||
- Rebuilt for gcc bug 634757 |
||||
|
||||
* Tue Sep 21 2010 Marcela Mašláňová <mmaslano@redhat.com> - 2.40-1 |
||||
- update |
||||
|
||||
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.36-9 |
||||
- Mass rebuild with perl-5.12.0 |
||||
|
||||
* Tue Feb 9 2010 Marcela Mašláňová <mmaslano@redhat.com> - 2.36-8 |
||||
- rebuild with expat-2.0.1-10 which should fix tests part #549216, #555457 |
||||
|
||||
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 2.36-7 |
||||
- rebuild against perl 5.10.1 |
||||
|
||||
* Mon Aug 24 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 2.36-6 |
||||
- rebuild against perl without DEBUGGING defined |
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.36-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.36-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.36-3 |
||||
- Rebuild for perl 5.10 (again) |
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.36-2 |
||||
- Autorebuild for GCC 4.3 |
||||
|
||||
* Sun Jan 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.36-1 |
||||
- bump to 2.36 |
||||
|
||||
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.34-11 |
||||
- rebuild for new perl |
||||
|
||||
* Thu Oct 25 2007 Robin Norwood <rnorwood@redhat.com> - 2.34-10 |
||||
- Add dist tag to release field |
||||
- Fix previous changelog |
||||
|
||||
* Tue Oct 23 2007 Robin Norwood <rnorwood@redhat.com> - 2.34-9 |
||||
- Remove BR: perl |
||||
- fix utf-8 rpmlint warning |
||||
|
||||
* Tue Aug 28 2007 Robin Norwood <rnorwood@redhat.com> - 2.34-8 |
||||
- Update license tag |
||||
- Add README Changes samples/ to %%doc section |
||||
|
||||
* Thu Aug 9 2007 Joe Orton <jorton@redhat.com> - 2.34-7 |
||||
- BuildRequire perl(ExtUtils::MakeMaker) |
||||
|
||||
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.34-6.1.2.2.1 |
||||
- rebuild |
||||
|
||||
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.34-6.1.2.2 |
||||
- bump again for double-long bug on ppc(64) |
||||
|
||||
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.34-6.1.2.1 |
||||
- rebuilt for new gcc4.1 snapshot and glibc changes |
||||
|
||||
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 2.34-6-1.2 |
||||
- rebuild for new perl-5.8.8 |
||||
|
||||
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com> |
||||
- rebuilt for new gcc |
||||
|
||||
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com> |
||||
- rebuilt for new gcj |
||||
|
||||
* Thu Apr 21 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.34-6 |
||||
- #155619 |
||||
- Bring up to date with current Fedora.Extras perl spec template. |
||||
|
||||
* Sun Aug 08 2004 Alan Cox <alan@redhat.com> 2.34-5 |
||||
- runtime requires expat |
||||
|
||||
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
||||
- rebuilt |
||||
|
||||
* Fri Apr 16 2004 Warren Togami <wtogami@redhat.com> 2.34-3 |
||||
- #110597 BR expat-devel |
||||
|
||||
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> |
||||
- rebuilt |
||||
|
||||
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 2.34-1 |
||||
- update to 2.34 |
||||
|
||||
* Mon Jan 26 2004 Jeremy Katz <katzj@redhat.com> 2.31-17 |
||||
- more rebuilding |
||||
|
||||
* Mon Jan 19 2004 Chip Turner <cturner@redhat.com> 2.31-16 |
||||
- rebuild for newer perl |
||||
|
||||
* Mon Jan 27 2003 Chip Turner <cturner@redhat.com> |
||||
- version bump and rebuild |
||||
|
||||
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com> |
||||
- automated release bump and build |
||||
|
||||
* Thu Jun 27 2002 Chip Turner <cturner@redhat.com> |
||||
- description update |
||||
|
||||
* Tue Jun 4 2002 Chip Turner <cturner@redhat.com> |
||||
- properly claim directories owned by package so they are removed when |
||||
package is removed |
||||
|
||||
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> |
||||
- automated rebuild |
||||
|
||||
* Fri Dec 7 2001 root <root@redhat.com> |
||||
- Spec file was autogenerated. |
@ -0,0 +1,87 @@
@@ -0,0 +1,87 @@
|
||||
Name: perl-autodie |
||||
Version: 2.16 |
||||
Release: 2%{?dist} |
||||
Summary: Replace functions with ones that succeed or die |
||||
License: GPL+ or Artistic |
||||
Group: Development/Libraries |
||||
URL: http://search.cpan.org/dist/autodie/ |
||||
Source0: http://www.cpan.org/authors/id/P/PJ/PJF/autodie-%{version}.tar.gz |
||||
BuildArch: noarch |
||||
BuildRequires: perl |
||||
# Stick on bundled inc::Module::Install to allow boot-straping this core package |
||||
BuildRequires: perl(Config) |
||||
BuildRequires: perl(Cwd) |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
BuildRequires: perl(ExtUtils::MM_Unix) |
||||
BuildRequires: perl(FindBin) |
||||
BuildRequires: perl(File::Find) |
||||
BuildRequires: perl(File::Path) |
||||
BuildRequires: perl(strict) |
||||
BuildRequires: perl(vars) |
||||
# Run-time: |
||||
BuildRequires: perl(B) |
||||
BuildRequires: perl(base) |
||||
BuildRequires: perl(Carp) |
||||
BuildRequires: perl(constant) |
||||
BuildRequires: perl(Exporter) |
||||
BuildRequires: perl(Fcntl) |
||||
BuildRequires: perl(if) |
||||
# Keep IPC::System::Simple 0.12 optional |
||||
BuildRequires: perl(overload) |
||||
BuildRequires: perl(POSIX) |
||||
BuildRequires: perl(Tie::RefHash) |
||||
# Sub::Identify is optional |
||||
BuildRequires: perl(warnings) |
||||
# Tests: |
||||
BuildRequires: perl(lib) |
||||
BuildRequires: perl(File::Copy) |
||||
BuildRequires: perl(File::Spec) |
||||
BuildRequires: perl(File::Temp) |
||||
BuildRequires: perl(IO::Handle) |
||||
BuildRequires: perl(open) |
||||
BuildRequires: perl(Socket) |
||||
BuildRequires: perl(Test::More) |
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
||||
Requires: perl(B) |
||||
Requires: perl(Fcntl) |
||||
Requires: perl(overload) |
||||
Requires: perl(POSIX) |
||||
|
||||
%description |
||||
The "autodie" and "Fatal" pragma provides a convenient way to replace |
||||
functions that normally return false on failure with equivalents that throw an |
||||
exception on failure. |
||||
|
||||
However "Fatal" has been obsoleted by the new autodie pragma. Please use |
||||
autodie in preference to "Fatal". |
||||
|
||||
%prep |
||||
%setup -q -n autodie-%{version} |
||||
find -type f -exec chmod -x {} + |
||||
|
||||
%build |
||||
perl Makefile.PL INSTALLDIRS=vendor |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT |
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
||||
%{_fixperms} $RPM_BUILD_ROOT/* |
||||
|
||||
%check |
||||
make test |
||||
|
||||
%files |
||||
%doc AUTHORS Changes LICENSE README |
||||
%{perl_vendorlib}/* |
||||
%{_mandir}/man3/* |
||||
|
||||
%changelog |
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.16-2 |
||||
- Mass rebuild 2013-12-27 |
||||
|
||||
* Wed Mar 06 2013 Petr Pisar <ppisar@redhat.com> - 2.16-1 |
||||
- 2.16 bump |
||||
|
||||
* Thu Feb 14 2013 Petr Pisar <ppisar@redhat.com> 2.13-1 |
||||
- Specfile autogenerated by cpanspec 1.78. |
Loading…
Reference in new issue