update perl packages for request tracker
Signed-off-by: webbuilder_pel7ppc64lebuilder0 <webbuilder@powerel.org>master
parent
c8d83b71fb
commit
ee51a7736d
|
@ -0,0 +1,305 @@
|
|||
From 067faffb8e596a53c9ac2ed7e571472f7a163681 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
Date: Mon, 16 Jan 2017 16:13:08 +0100
|
||||
Subject: [PATCH] Add IPv6 support
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
This patch ports the code from IO::Socket::INET to IO::Socket::IP in
|
||||
order to support IPv6.
|
||||
|
||||
CPAN RT #91699, #71395.
|
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||
---
|
||||
Makefile.PL | 1 +
|
||||
README | 24 ++++++++++++------------
|
||||
lib/HTTP/Daemon.pm | 43 ++++++++++++++++++++++++++++---------------
|
||||
t/chunked.t | 34 +++++++++++++++++++++++-----------
|
||||
4 files changed, 64 insertions(+), 38 deletions(-)
|
||||
|
||||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index 09c7e86..85d5712 100644
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -14,6 +14,7 @@ WriteMakefile(
|
||||
PREREQ_PM => {
|
||||
'Sys::Hostname' => 0,
|
||||
'IO::Socket' => 0,
|
||||
+ 'IO::Socket::IP' => 0,
|
||||
'HTTP::Request' => 6,
|
||||
'HTTP::Response' => 6,
|
||||
'HTTP::Status' => 6,
|
||||
diff --git a/README b/README
|
||||
index be5a20a..ddb3b6e 100644
|
||||
--- a/README
|
||||
+++ b/README
|
||||
@@ -24,12 +24,12 @@ SYNOPSIS
|
||||
DESCRIPTION
|
||||
Instances of the `HTTP::Daemon' class are HTTP/1.1 servers that listen
|
||||
on a socket for incoming requests. The `HTTP::Daemon' is a subclass of
|
||||
- `IO::Socket::INET', so you can perform socket operations directly on it
|
||||
+ `IO::Socket::IP', so you can perform socket operations directly on it
|
||||
too.
|
||||
|
||||
The accept() method will return when a connection from a client is
|
||||
available. The returned value will be an `HTTP::Daemon::ClientConn'
|
||||
- object which is another `IO::Socket::INET' subclass. Calling the
|
||||
+ object which is another `IO::Socket::IP' subclass. Calling the
|
||||
get_request() method on this object will read data from the client and
|
||||
return an `HTTP::Request' object. The ClientConn object also provide
|
||||
methods to send back various responses.
|
||||
@@ -40,13 +40,13 @@ DESCRIPTION
|
||||
responses that conform to the HTTP/1.1 protocol.
|
||||
|
||||
The following methods of `HTTP::Daemon' are new (or enhanced) relative
|
||||
- to the `IO::Socket::INET' base class:
|
||||
+ to the `IO::Socket::IP' base class:
|
||||
|
||||
$d = HTTP::Daemon->new
|
||||
$d = HTTP::Daemon->new( %opts )
|
||||
The constructor method takes the same arguments as the
|
||||
- `IO::Socket::INET' constructor, but unlike its base class it can
|
||||
- also be called without any arguments. The daemon will then set up a
|
||||
+ `IO::Socket::IP' constructor, but unlike its base class it can also
|
||||
+ be called without any arguments. The daemon will then set up a
|
||||
listen queue of 5 connections and allocate some random port number.
|
||||
|
||||
A server that wants to bind to some specific address on the standard
|
||||
@@ -57,8 +57,8 @@ DESCRIPTION
|
||||
LocalPort => 80,
|
||||
);
|
||||
|
||||
- See IO::Socket::INET for a description of other arguments that can
|
||||
- be used configure the daemon during construction.
|
||||
+ See IO::Socket::IP for a description of other arguments that can be
|
||||
+ used configure the daemon during construction.
|
||||
|
||||
$c = $d->accept
|
||||
$c = $d->accept( $pkg )
|
||||
@@ -71,7 +71,7 @@ DESCRIPTION
|
||||
|
||||
The accept method will return `undef' if timeouts have been enabled
|
||||
and no connection is made within the given time. The timeout()
|
||||
- method is described in IO::Socket.
|
||||
+ method is described in IO::Socket::IP.
|
||||
|
||||
In list context both the client object and the peer address will be
|
||||
returned; see the description of the accept method IO::Socket for
|
||||
@@ -89,9 +89,9 @@ DESCRIPTION
|
||||
The default is the string "libwww-perl-daemon/#.##" where "#.##" is
|
||||
replaced with the version number of this module.
|
||||
|
||||
- The `HTTP::Daemon::ClientConn' is a `IO::Socket::INET' subclass.
|
||||
- Instances of this class are returned by the accept() method of
|
||||
- `HTTP::Daemon'. The following methods are provided:
|
||||
+ The `HTTP::Daemon::ClientConn' is a `IO::Socket::IP' subclass. Instances
|
||||
+ of this class are returned by the accept() method of `HTTP::Daemon'. The
|
||||
+ following methods are provided:
|
||||
|
||||
$c->get_request
|
||||
$c->get_request( $headers_only )
|
||||
@@ -227,7 +227,7 @@ DESCRIPTION
|
||||
SEE ALSO
|
||||
RFC 2616
|
||||
|
||||
- IO::Socket::INET, IO::Socket
|
||||
+ IO::Socket::IP, IO::Socket
|
||||
|
||||
COPYRIGHT
|
||||
Copyright 1996-2003, Gisle Aas
|
||||
diff --git a/lib/HTTP/Daemon.pm b/lib/HTTP/Daemon.pm
|
||||
index 27a7bf4..0e22b77 100644
|
||||
--- a/lib/HTTP/Daemon.pm
|
||||
+++ b/lib/HTTP/Daemon.pm
|
||||
@@ -5,8 +5,10 @@ use vars qw($VERSION @ISA $PROTO $DEBUG);
|
||||
|
||||
$VERSION = "6.01";
|
||||
|
||||
-use IO::Socket qw(AF_INET INADDR_ANY INADDR_LOOPBACK inet_ntoa);
|
||||
-@ISA=qw(IO::Socket::INET);
|
||||
+use Socket qw(AF_INET AF_INET6 INADDR_ANY IN6ADDR_ANY
|
||||
+ INADDR_LOOPBACK IN6ADDR_LOOPBACK inet_ntop sockaddr_family);
|
||||
+use IO::Socket::IP;
|
||||
+@ISA=qw(IO::Socket::IP);
|
||||
|
||||
$PROTO = "HTTP/1.1";
|
||||
|
||||
@@ -40,15 +42,26 @@ sub url
|
||||
my $self = shift;
|
||||
my $url = $self->_default_scheme . "://";
|
||||
my $addr = $self->sockaddr;
|
||||
- if (!$addr || $addr eq INADDR_ANY) {
|
||||
+ if (!$addr || $addr eq INADDR_ANY || $addr eq IN6ADDR_ANY) {
|
||||
require Sys::Hostname;
|
||||
$url .= lc Sys::Hostname::hostname();
|
||||
}
|
||||
elsif ($addr eq INADDR_LOOPBACK) {
|
||||
- $url .= inet_ntoa($addr);
|
||||
+ $url .= inet_ntop(AF_INET, $addr);
|
||||
+ }
|
||||
+ elsif ($addr eq IN6ADDR_LOOPBACK) {
|
||||
+ $url .= '[' . inet_ntop(AF_INET6, $addr) . ']';
|
||||
}
|
||||
else {
|
||||
- $url .= gethostbyaddr($addr, AF_INET) || inet_ntoa($addr);
|
||||
+ my $host = $addr->sockhostname;
|
||||
+ if (!defined $host) {
|
||||
+ if (sockaddr_family($addr) eq AF_INET6) {
|
||||
+ $host = '[' . inet_ntop(AF_INET6, $addr) . ']';
|
||||
+ } else {
|
||||
+ $host = inet_ntop(AF_INET6, $addr);
|
||||
+ }
|
||||
+ }
|
||||
+ $url .= $host;
|
||||
}
|
||||
my $port = $self->sockport;
|
||||
$url .= ":$port" if $port != $self->_default_port;
|
||||
@@ -77,8 +90,8 @@ sub product_tokens
|
||||
package HTTP::Daemon::ClientConn;
|
||||
|
||||
use vars qw(@ISA $DEBUG);
|
||||
-use IO::Socket ();
|
||||
-@ISA=qw(IO::Socket::INET);
|
||||
+use IO::Socket::IP ();
|
||||
+@ISA=qw(IO::Socket::IP);
|
||||
*DEBUG = \$HTTP::Daemon::DEBUG;
|
||||
|
||||
use HTTP::Request ();
|
||||
@@ -645,12 +658,12 @@ HTTP::Daemon - a simple http server class
|
||||
|
||||
Instances of the C<HTTP::Daemon> class are HTTP/1.1 servers that
|
||||
listen on a socket for incoming requests. The C<HTTP::Daemon> is a
|
||||
-subclass of C<IO::Socket::INET>, so you can perform socket operations
|
||||
+subclass of C<IO::Socket::IP>, so you can perform socket operations
|
||||
directly on it too.
|
||||
|
||||
The accept() method will return when a connection from a client is
|
||||
available. The returned value will be an C<HTTP::Daemon::ClientConn>
|
||||
-object which is another C<IO::Socket::INET> subclass. Calling the
|
||||
+object which is another C<IO::Socket::IP> subclass. Calling the
|
||||
get_request() method on this object will read data from the client and
|
||||
return an C<HTTP::Request> object. The ClientConn object also provide
|
||||
methods to send back various responses.
|
||||
@@ -661,7 +674,7 @@ desirable. Also note that the user is responsible for generating
|
||||
responses that conform to the HTTP/1.1 protocol.
|
||||
|
||||
The following methods of C<HTTP::Daemon> are new (or enhanced) relative
|
||||
-to the C<IO::Socket::INET> base class:
|
||||
+to the C<IO::Socket::IP> base class:
|
||||
|
||||
=over 4
|
||||
|
||||
@@ -670,7 +683,7 @@ to the C<IO::Socket::INET> base class:
|
||||
=item $d = HTTP::Daemon->new( %opts )
|
||||
|
||||
The constructor method takes the same arguments as the
|
||||
-C<IO::Socket::INET> constructor, but unlike its base class it can also
|
||||
+C<IO::Socket::IP> constructor, but unlike its base class it can also
|
||||
be called without any arguments. The daemon will then set up a listen
|
||||
queue of 5 connections and allocate some random port number.
|
||||
|
||||
@@ -682,7 +695,7 @@ HTTP port will be constructed like this:
|
||||
LocalPort => 80,
|
||||
);
|
||||
|
||||
-See L<IO::Socket::INET> for a description of other arguments that can
|
||||
+See L<IO::Socket::IP> for a description of other arguments that can
|
||||
be used configure the daemon during construction.
|
||||
|
||||
=item $c = $d->accept
|
||||
@@ -699,7 +712,7 @@ class a subclass of C<HTTP::Daemon::ClientConn>.
|
||||
|
||||
The accept method will return C<undef> if timeouts have been enabled
|
||||
and no connection is made within the given time. The timeout() method
|
||||
-is described in L<IO::Socket>.
|
||||
+is described in L<IO::Socket::IP>.
|
||||
|
||||
In list context both the client object and the peer address will be
|
||||
returned; see the description of the accept method L<IO::Socket> for
|
||||
@@ -721,7 +734,7 @@ replaced with the version number of this module.
|
||||
|
||||
=back
|
||||
|
||||
-The C<HTTP::Daemon::ClientConn> is a C<IO::Socket::INET>
|
||||
+The C<HTTP::Daemon::ClientConn> is a C<IO::Socket::IP>
|
||||
subclass. Instances of this class are returned by the accept() method
|
||||
of C<HTTP::Daemon>. The following methods are provided:
|
||||
|
||||
@@ -895,7 +908,7 @@ Return a reference to the corresponding C<HTTP::Daemon> object.
|
||||
|
||||
RFC 2616
|
||||
|
||||
-L<IO::Socket::INET>, L<IO::Socket>
|
||||
+L<IO::Socket::IP>, L<IO::Socket>
|
||||
|
||||
=head1 COPYRIGHT
|
||||
|
||||
diff --git a/t/chunked.t b/t/chunked.t
|
||||
index e11799f..c274b11 100644
|
||||
--- a/t/chunked.t
|
||||
+++ b/t/chunked.t
|
||||
@@ -95,18 +95,30 @@ my $can_fork = $Config{d_fork} ||
|
||||
my $tests = @TESTS;
|
||||
my $tport = 8333;
|
||||
|
||||
-my $tsock = IO::Socket::INET->new(LocalAddr => '0.0.0.0',
|
||||
- LocalPort => $tport,
|
||||
- Listen => 1,
|
||||
- ReuseAddr => 1);
|
||||
+my @addresses = (
|
||||
+ { server => '::', client => '::1' },
|
||||
+ { server => '0.0.0.0', client => '127.0.0.1' }
|
||||
+);
|
||||
+my $family;
|
||||
+for my $id (0..$#addresses) {
|
||||
+ my $tsock = IO::Socket::IP->new(LocalAddr => $addresses[$id]->{server},
|
||||
+ LocalPort => $tport,
|
||||
+ Listen => 1,
|
||||
+ ReuseAddr => 1);
|
||||
+ if ($tsock) {
|
||||
+ close $tsock;
|
||||
+ $family = $id;
|
||||
+ last;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
if (!$can_fork) {
|
||||
plan skip_all => "This system cannot fork";
|
||||
}
|
||||
-elsif (!$tsock) {
|
||||
- plan skip_all => "Cannot listen on 0.0.0.0:$tport";
|
||||
+elsif (!defined $family) {
|
||||
+ plan skip_all => "Cannot listen on unspecifed address and port $tport";
|
||||
}
|
||||
else {
|
||||
- close $tsock;
|
||||
plan tests => $tests;
|
||||
}
|
||||
|
||||
@@ -132,9 +144,9 @@ if ($pid = fork) {
|
||||
open my $fh, "| socket localhost $tport" or die;
|
||||
print $fh $test;
|
||||
}
|
||||
- use IO::Socket::INET;
|
||||
- my $sock = IO::Socket::INET->new(
|
||||
- PeerAddr => "127.0.0.1",
|
||||
+ use IO::Socket::IP;
|
||||
+ my $sock = IO::Socket::IP->new(
|
||||
+ PeerAddr => $addresses[$family]->{client},
|
||||
PeerPort => $tport,
|
||||
) or die;
|
||||
if (0) {
|
||||
@@ -158,7 +170,7 @@ if ($pid = fork) {
|
||||
} else {
|
||||
die "cannot fork: $!" unless defined $pid;
|
||||
my $d = HTTP::Daemon->new(
|
||||
- LocalAddr => '0.0.0.0',
|
||||
+ LocalAddr => $addresses[$family]->{server},
|
||||
LocalPort => $tport,
|
||||
ReuseAddr => 1,
|
||||
) or die;
|
||||
--
|
||||
2.7.4
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
From b54702ab21edbf1ea0dbc00d978aecc89e5764d6 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
Date: Mon, 18 Sep 2017 15:21:16 +0200
|
||||
Subject: [PATCH] Handle undef and empty LocalAddr
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
IO::Socket::INET interprets undefined and empty string LocalAddr
|
||||
arguments as an unspecified address while IO::Socket::IP returns an
|
||||
error. This seems to be one of the differences between the two
|
||||
Socket implementations. Recent IO::Socket::IP (0.39) accepts undefined
|
||||
value, but still bail outs on an empty string.
|
||||
|
||||
To improve compatibility, this patch adds a special handling for these
|
||||
two values to be accepted as an unspecified value. Though this should
|
||||
be corrected on IO::Socket:IP side probably.
|
||||
|
||||
CPAN RT#91699
|
||||
CPAN RT#123069
|
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||
---
|
||||
lib/HTTP/Daemon.pm | 8 ++++++++
|
||||
1 file changed, 8 insertions(+)
|
||||
|
||||
diff --git a/lib/HTTP/Daemon.pm b/lib/HTTP/Daemon.pm
|
||||
index 0e22b77..1e9d48e 100644
|
||||
--- a/lib/HTTP/Daemon.pm
|
||||
+++ b/lib/HTTP/Daemon.pm
|
||||
@@ -18,6 +18,14 @@ sub new
|
||||
my($class, %args) = @_;
|
||||
$args{Listen} ||= 5;
|
||||
$args{Proto} ||= 'tcp';
|
||||
+ # Handle undefined or empty local address the same way as
|
||||
+ # IO::Socket::INET -- use unspecified address
|
||||
+ for my $key (qw(LocalAddr LocalHost)) {
|
||||
+ if (exists $args{$key} &&
|
||||
+ (!defined($args{$key}) || $args{$key} eq '')) {
|
||||
+ delete $args{$key};
|
||||
+ }
|
||||
+ }
|
||||
return $class->SUPER::new(%args);
|
||||
}
|
||||
|
||||
--
|
||||
2.13.5
|
||||
|
|
@ -0,0 +1,55 @@
|
|||
From e49f553aa8be21e5df72452e50af2e9f0b82ecad Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
Date: Wed, 23 May 2018 17:31:42 +0200
|
||||
Subject: [PATCH] Resolve specific socket addresses correctly
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Previous code did not formatted specific (not 0.0.0.0 or ::)
|
||||
correctly:
|
||||
|
||||
$ perl -MHTTP::Daemon -e '$d=HTTP::Daemon->new(LocalAddr=>q{127.0.0.2}) or die; print $d->url, qq{\n}'
|
||||
Can't call method "sockhostname" without a package or object reference at /usr/share/perl5/vendor_perl/HTTP/Daemon.pm line 64.
|
||||
|
||||
This patch also fixes formatting numerical IPv6 addresses. It seems
|
||||
that IO::Socket::IP::sockhostname() formats unresolvable addresses too.
|
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||
---
|
||||
lib/HTTP/Daemon.pm | 15 +++++++++++++--
|
||||
1 file changed, 13 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/lib/HTTP/Daemon.pm b/lib/HTTP/Daemon.pm
|
||||
index 1e9d48e..216c73f 100644
|
||||
--- a/lib/HTTP/Daemon.pm
|
||||
+++ b/lib/HTTP/Daemon.pm
|
||||
@@ -61,12 +61,23 @@ sub url
|
||||
$url .= '[' . inet_ntop(AF_INET6, $addr) . ']';
|
||||
}
|
||||
else {
|
||||
- my $host = $addr->sockhostname;
|
||||
+ my $host = $self->sockhostname;
|
||||
+ # sockhostname() seems to return a stringified IP address if not
|
||||
+ # resolvable, then quote it for a port separator and an IPv6 zone separator.
|
||||
+ # But be paranoid for a case when it already contains a bracket.
|
||||
+ if (defined $host and $host =~ /:/) {
|
||||
+ if ($host =~ /[\[\]]/) {
|
||||
+ $host = undef;
|
||||
+ } else {
|
||||
+ $host =~ s/%/%25/g;
|
||||
+ $host = '[' . $host . ']';
|
||||
+ }
|
||||
+ }
|
||||
if (!defined $host) {
|
||||
if (sockaddr_family($addr) eq AF_INET6) {
|
||||
$host = '[' . inet_ntop(AF_INET6, $addr) . ']';
|
||||
} else {
|
||||
- $host = inet_ntop(AF_INET6, $addr);
|
||||
+ $host = inet_ntop(AF_INET, $addr);
|
||||
}
|
||||
}
|
||||
$url .= $host;
|
||||
--
|
||||
2.14.3
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
From 1b924708663f457a4f7c25ed35d7dfb3bb5b334d Mon Sep 17 00:00:00 2001
|
||||
From: Steffen Ullrich <Steffen_Ullrich@genua.de>
|
||||
Date: Sat, 3 May 2014 23:04:36 +0200
|
||||
Subject: [PATCH 1/2] Debian #746576 - don't disale verification if only
|
||||
hostnames should not be verified
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||
---
|
||||
lib/LWP/Protocol/https.pm | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/LWP/Protocol/https.pm b/lib/LWP/Protocol/https.pm
|
||||
index a707917..8c87e81 100644
|
||||
--- a/lib/LWP/Protocol/https.pm
|
||||
+++ b/lib/LWP/Protocol/https.pm
|
||||
@@ -21,7 +21,7 @@ sub _extra_sock_opts
|
||||
$ssl_opts{SSL_verifycn_scheme} = 'www';
|
||||
}
|
||||
else {
|
||||
- $ssl_opts{SSL_verify_mode} = 0;
|
||||
+ $ssl_opts{SSL_verifycn_scheme} = 'none';
|
||||
}
|
||||
if ($ssl_opts{SSL_verify_mode}) {
|
||||
unless (exists $ssl_opts{SSL_ca_file} || exists $ssl_opts{SSL_ca_path}) {
|
||||
--
|
||||
1.9.0
|
||||
|
|
@ -0,0 +1,51 @@
|
|||
From 6b5c876de80451ee54de5d853de37a62e26bf6fe Mon Sep 17 00:00:00 2001
|
||||
From: Steffen Ullrich <Steffen_Ullrich@genua.de>
|
||||
Date: Sun, 4 May 2014 09:14:13 +0200
|
||||
Subject: [PATCH 2/2] Debian #746576 - fix test, make it workable for
|
||||
Crypt::SSLeay/Net::SSL too
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||
---
|
||||
lib/LWP/Protocol/https.pm | 6 +++++-
|
||||
t/https_proxy.t | 5 ++++-
|
||||
2 files changed, 9 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/lib/LWP/Protocol/https.pm b/lib/LWP/Protocol/https.pm
|
||||
index 8c87e81..6223ddf 100644
|
||||
--- a/lib/LWP/Protocol/https.pm
|
||||
+++ b/lib/LWP/Protocol/https.pm
|
||||
@@ -21,7 +21,11 @@ sub _extra_sock_opts
|
||||
$ssl_opts{SSL_verifycn_scheme} = 'www';
|
||||
}
|
||||
else {
|
||||
- $ssl_opts{SSL_verifycn_scheme} = 'none';
|
||||
+ if ( $Net::HTTPS::SSL_SOCKET_CLASS eq 'Net::SSL' ) {
|
||||
+ $ssl_opts{SSL_verifycn_scheme} = '';
|
||||
+ } else {
|
||||
+ $ssl_opts{SSL_verifycn_scheme} = 'none';
|
||||
+ }
|
||||
}
|
||||
if ($ssl_opts{SSL_verify_mode}) {
|
||||
unless (exists $ssl_opts{SSL_ca_file} || exists $ssl_opts{SSL_ca_path}) {
|
||||
diff --git a/t/https_proxy.t b/t/https_proxy.t
|
||||
index 5196960..c78345b 100644
|
||||
--- a/t/https_proxy.t
|
||||
+++ b/t/https_proxy.t
|
||||
@@ -66,7 +66,10 @@ my %ua;
|
||||
$ua{noproxy} = LWP::UserAgent->new(
|
||||
keep_alive => 10, # size of connection cache
|
||||
# server does not know the expected name and returns generic certificate
|
||||
- ssl_opts => { verify_hostname => 0 }
|
||||
+ ssl_opts => {
|
||||
+ verify_hostname => 0,
|
||||
+ SSL_ca_file => $cafile,
|
||||
+ }
|
||||
);
|
||||
|
||||
$ua{proxy} = LWP::UserAgent->new(
|
||||
--
|
||||
1.9.0
|
||||
|
|
@ -0,0 +1,68 @@
|
|||
From 02db836ecf68b7554c7e3f496dbfa9ef1b432d76 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
Date: Fri, 16 Sep 2011 10:33:54 +0200
|
||||
Subject: [PATCH] Redirect to ca-certificates bundle
|
||||
|
||||
This patch replaces Mozilla-CA certificate bundle with bundle
|
||||
delivered by ca-certificates RPM package used as single source of
|
||||
Mozilla certificate bundle.
|
||||
|
||||
See <https://bugzilla.redhat.com/show_bug.cgi?id=738383> for more
|
||||
details.
|
||||
---
|
||||
MANIFEST | 1 -
|
||||
Makefile.PL | 8 ++++++++
|
||||
lib/Mozilla/CA.pm | 8 +-------
|
||||
3 files changed, 9 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/MANIFEST b/MANIFEST
|
||||
index a88847b..6577ede 100644
|
||||
--- a/MANIFEST
|
||||
+++ b/MANIFEST
|
||||
@@ -1,5 +1,4 @@
|
||||
lib/Mozilla/CA.pm
|
||||
-lib/Mozilla/CA/cacert.pem
|
||||
Makefile.PL
|
||||
MANIFEST This list of files
|
||||
README
|
||||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index 2b10474..57f2f07 100644
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -40,3 +40,11 @@ BEGIN {
|
||||
ExtUtils::MakeMaker::WriteMakefile(%arg);
|
||||
};
|
||||
}
|
||||
+
|
||||
+package MY;
|
||||
+sub MY::libscan {
|
||||
+ my $name = shift->SUPER::libscan(@_);
|
||||
+ # Remove private certificate bundle
|
||||
+ if ($name =~ /cacert.pem\z/) { $name = '' };
|
||||
+ return $name;
|
||||
+}
|
||||
diff --git a/lib/Mozilla/CA.pm b/lib/Mozilla/CA.pm
|
||||
index 95fc86d..71e4f91 100644
|
||||
--- a/lib/Mozilla/CA.pm
|
||||
+++ b/lib/Mozilla/CA.pm
|
||||
@@ -3,16 +3,10 @@ package Mozilla::CA;
|
||||
use strict;
|
||||
our $VERSION = '20130114';
|
||||
|
||||
-use Cwd ();
|
||||
use File::Spec ();
|
||||
-use File::Basename qw(dirname);
|
||||
|
||||
sub SSL_ca_file {
|
||||
- my $file = File::Spec->catfile(dirname(__FILE__), "CA", "cacert.pem");
|
||||
- if (!File::Spec->file_name_is_absolute($file)) {
|
||||
- $file = File::Spec->catfile(Cwd::cwd(), $file);
|
||||
- }
|
||||
- return $file;
|
||||
+ return File::Spec->catfile('/etc/pki/tls/certs/ca-bundle.crt');
|
||||
}
|
||||
|
||||
1;
|
||||
--
|
||||
1.7.11.4
|
||||
|
|
@ -0,0 +1,73 @@
|
|||
From ab01996d4d539cada0013b837b782f27db6b96ff Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
Date: Fri, 16 Sep 2011 10:33:54 +0200
|
||||
Subject: [PATCH] Redirect to ca-certificates bundle
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
This patch replaces Mozilla-CA certificate bundle with a bundle
|
||||
delivered by ca-certificates RPM package used as a single source of
|
||||
the Mozilla certificate bundle.
|
||||
|
||||
See <https://bugzilla.redhat.com/show_bug.cgi?id=738383> for more
|
||||
details.
|
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||
---
|
||||
MANIFEST | 1 -
|
||||
Makefile.PL | 8 ++++++++
|
||||
lib/Mozilla/CA.pm | 8 +-------
|
||||
3 files changed, 9 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/MANIFEST b/MANIFEST
|
||||
index a88847b..6577ede 100644
|
||||
--- a/MANIFEST
|
||||
+++ b/MANIFEST
|
||||
@@ -1,5 +1,4 @@
|
||||
lib/Mozilla/CA.pm
|
||||
-lib/Mozilla/CA/cacert.pem
|
||||
Makefile.PL
|
||||
MANIFEST This list of files
|
||||
README
|
||||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index 9faf720..a491813 100644
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -40,3 +40,11 @@ BEGIN {
|
||||
ExtUtils::MakeMaker::WriteMakefile(%arg);
|
||||
};
|
||||
}
|
||||
+
|
||||
+package MY;
|
||||
+sub MY::libscan {
|
||||
+ my $name = shift->SUPER::libscan(@_);
|
||||
+ # Remove private certificate bundle
|
||||
+ if ($name =~ /cacert.pem\z/) { $name = '' };
|
||||
+ return $name;
|
||||
+}
|
||||
diff --git a/lib/Mozilla/CA.pm b/lib/Mozilla/CA.pm
|
||||
index e4a6c56..fdb3c75 100644
|
||||
--- a/lib/Mozilla/CA.pm
|
||||
+++ b/lib/Mozilla/CA.pm
|
||||
@@ -3,16 +3,10 @@ package Mozilla::CA;
|
||||
use strict;
|
||||
our $VERSION = '20200520';
|
||||
|
||||
-use Cwd ();
|
||||
use File::Spec ();
|
||||
-use File::Basename qw(dirname);
|
||||
|
||||
sub SSL_ca_file {
|
||||
- my $file = File::Spec->catfile(dirname(__FILE__), "CA", "cacert.pem");
|
||||
- if (!File::Spec->file_name_is_absolute($file)) {
|
||||
- $file = File::Spec->catfile(Cwd::cwd(), $file);
|
||||
- }
|
||||
- return $file;
|
||||
+ return File::Spec->catfile('/etc/pki/tls/certs/ca-bundle.crt');
|
||||
}
|
||||
|
||||
1;
|
||||
--
|
||||
2.25.4
|
||||
|
|
@ -0,0 +1,130 @@
|
|||
Name: perl-CGI
|
||||
Summary: Handle Common Gateway Interface requests and responses
|
||||
Version: 3.63
|
||||
Release: 4%{?dist}
|
||||
License: (GPL+ or Artistic) and Artistic 2.0
|
||||
Group: Development/Libraries
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKSTOS/CGI.pm-%{version}.tar.gz
|
||||
URL: http://search.cpan.org/dist/CGI
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Run-requires:
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(FCGI) >= 0.67
|
||||
BuildRequires: perl(File::Spec) >= 0.82
|
||||
BuildRequires: perl(overload)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(warnings)
|
||||
# Apache modules are optional
|
||||
# Tests:
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(Encode)
|
||||
BuildRequires: perl(FileHandle)
|
||||
BuildRequires: perl(IO::File)
|
||||
BuildRequires: perl(IO::Handle)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Test::More) >= 0.98
|
||||
BuildRequires: perl(utf8)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(FCGI) >= 0.67
|
||||
Requires: perl(File::Spec) >= 0.82
|
||||
Obsoletes: %{name}-tests <= 3.49
|
||||
|
||||
%{?perl_default_filter}
|
||||
# Remove under-specified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((FCGI|File::Spec)\\)$
|
||||
# Remove false provides
|
||||
%global __provides_exclude %{?__provides_exclude:__provides_exclude|}^perl\\((Fh|MultipartBuffer)\\)$
|
||||
|
||||
%description
|
||||
CGI.pm is a stable, complete and mature solution for processing and preparing
|
||||
HTTP requests and responses. Major features including processing form
|
||||
submissions, file uploads, reading and writing cookies, query string
|
||||
generation and manipulation, and processing and preparing HTTP headers. Some
|
||||
HTML generation utilities are included as well.
|
||||
|
||||
CGI.pm performs very well in in a vanilla CGI.pm environment and also comes
|
||||
with built-in support for mod_perl and mod_perl2 as well as FastCGI.
|
||||
|
||||
%prep
|
||||
%setup -q -n CGI.pm-%{version}
|
||||
iconv -f iso8859-1 -t utf-8 < Changes > Changes.1
|
||||
mv Changes.1 Changes
|
||||
sed -i 's?usr/bin perl?usr/bin/perl?' t/init.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 {} ';'
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc cgi_docs.html Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
%changelog
|
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.63-4
|
||||
- Mass rebuild 2013-12-27
|
||||
|
||||
* Mon Jun 24 2013 Jitka Plesnikova <jplesnik@redhat.com> - 3.63-3
|
||||
- Specify all dependencies
|
||||
- Update License - CGI.pm is distributed under GPL and Artistic 2.0
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.63-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Thu Nov 15 2012 Petr Pisar <ppisar@redhat.com> - 3.63-1
|
||||
- 3.63 bump
|
||||
|
||||
* Wed Nov 14 2012 Petr Pisar <ppisar@redhat.com> - 3.62-1
|
||||
- 3.62 bump
|
||||
|
||||
* Tue Nov 06 2012 Petr Šabata <contyk@redhat.com> - 3.61-1
|
||||
- 3.61 bump, no code changes
|
||||
|
||||
* Fri Aug 17 2012 Petr Pisar <ppisar@redhat.com> - 3.60-1
|
||||
- 3.60 bump
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.51-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 3.51-7
|
||||
- Perl 5.16 rebuild
|
||||
|
||||
* Fri Jun 01 2012 Petr Pisar <ppisar@redhat.com> - 3.51-6
|
||||
- Clean spec file
|
||||
- Specify all dependencies
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.51-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Fri Jul 22 2011 Petr Pisar <ppisar@redhat.com> - 3.51-4
|
||||
- RPM 4.9 dependency filtering added
|
||||
|
||||
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.51-3
|
||||
- Perl mass rebuild
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.51-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Thu Jan 20 2011 Marcela Mašláňová <mmaslano@redhat.com> 3.51-1
|
||||
- update to fix CVE-2010-2761
|
||||
|
||||
* Mon Nov 29 2010 Marcela Mašláňová <mmaslano@redhat.com> 3.50-2
|
||||
- remove -test sub-package, which would be needed also in perl-core
|
||||
|
||||
* Mon Nov 29 2010 Marcela Mašláňová <mmaslano@redhat.com> 3.50-1
|
||||
- initial dual-life package
|
||||
|
|
@ -0,0 +1,191 @@
|
|||
Name: perl-CSS-Minifier-XS
|
||||
Version: 0.13
|
||||
Release: 1%{?dist}
|
||||
# lib/CSS/Minifier/XS.pm -> GPL+ or Artistic
|
||||
License: GPL+ or Artistic
|
||||
Summary: XS based CSS minifier
|
||||
Source: https://cpan.metacpan.org/authors/id/G/GT/GTERMARS/CSS-Minifier-XS-%{version}.tar.gz
|
||||
Url: https://metacpan.org/release/CSS-Minifier-XS
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version))
|
||||
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(CSS::Minifier)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(Module::Build::Compat)
|
||||
BuildRequires: perl(blib)
|
||||
BuildRequires: perl(Test::DiagINC)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
%description
|
||||
'CSS::Minifier::XS' is a CSS "minifier". It's designed to remove
|
||||
unnecessary white-space and comments from CSS files, while also
|
||||
*not* breaking the CSS. 'CSS::Minifier::XS' is similar in function
|
||||
to 'CSS::Minifier', but is substantially faster as it's written
|
||||
in XS and not just pure Perl.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n CSS-Minifier-XS-%{version}
|
||||
|
||||
%build
|
||||
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
%{make_install}
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
%{make_build} test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
%{perl_vendorarch}/*
|
||||
%exclude %dir %{perl_vendorarch}/auto
|
||||
%{_mandir}/man3/*.3*
|
||||
%exclude /usr/lib64/perl5/perllocal.pod
|
||||
|
||||
%changelog
|
||||
* Sun Feb 07 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 0.13-1
|
||||
- Update to 0.13
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Sun Jan 03 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 0.11-1
|
||||
- Update to 0.11
|
||||
- Replace calls to %%{__perl} with /usr/bin/perl
|
||||
- Pass NO_PACKLIST and NO_PERLLOCAL to Makefile.PL
|
||||
- Use %%{make_install} instead of "make pure_install"
|
||||
- Use %%{make_install} instead of make
|
||||
- Add %%license macro
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-22
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-21
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-18
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-15
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Sun Mar 11 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 0.09-14
|
||||
- Add missing build-requirements
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-10
|
||||
- Perl 5.26 rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-8
|
||||
- Perl 5.24 rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-5
|
||||
- Perl 5.22 rebuild
|
||||
|
||||
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-4
|
||||
- Perl 5.20 rebuild
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sun Nov 03 2013 Emmanuel Seyman <emmanuel@seyman.fr> - 0.09-1
|
||||
- Update to 0.09
|
||||
- Modify description to fix rpmlint warnings
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 0.08-6
|
||||
- Perl 5.18 rebuild
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.08-3
|
||||
- Perl 5.16 rebuild
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Sun Oct 02 2011 Iain Arnell <iarnell@gmail.com> 0.08-1
|
||||
- update to latest upstream version
|
||||
- clean up spec for modern rpmbuild
|
||||
|
||||
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-4
|
||||
- Perl mass rebuild
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-2
|
||||
- 661697 rebuild for fixing problems with vendorach/lib
|
||||
|
||||
* Sun Aug 08 2010 Iain Arnell <iarnell@gmail.com> 0.07-1
|
||||
- update to latest upstream version
|
||||
- use perl_default_filter and DESTDIR
|
||||
|
||||
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-3
|
||||
- Mass rebuild with perl-5.12.0
|
||||
|
||||
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.04-2
|
||||
- rebuild against perl 5.10.1
|
||||
|
||||
* Tue Aug 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.04-1
|
||||
- auto-update to 0.04 (by cpan-spec-update 0.01)
|
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Fri Apr 10 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.03-1
|
||||
- update for submission
|
||||
|
||||
* Fri Apr 10 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.03-0
|
||||
- initial RPM packaging
|
||||
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
|
|
@ -0,0 +1,214 @@
|
|||
# Run extra tests
|
||||
%bcond_without perl_DateTime_Format_Mail_enables_extra_test
|
||||
|
||||
Name: perl-DateTime-Format-Mail
|
||||
Epoch: 1
|
||||
Version: 0.403
|
||||
Release: 13%{?dist}
|
||||
Summary: Convert between DateTime and RFC2822/822 formats
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/DateTime-Format-Mail
|
||||
Source0: https://cpan.metacpan.org/authors/id/B/BO/BOOK/DateTime-Format-Mail-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
# Build
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Runtime
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(DateTime) >= 1.04
|
||||
BuildRequires: perl(Params::Validate)
|
||||
BuildRequires: perl(vars)
|
||||
# Tests only
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
%if %{with perl_DateTime_Format_Mail_enables_extra_test}
|
||||
# Author tests
|
||||
BuildRequires: perl(Pod::Coverage::TrustPod)
|
||||
BuildRequires: perl(Test::Pod) >= 1.41
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
||||
# Release tests
|
||||
BuildRequires: perl(Test::CPAN::Meta)
|
||||
%endif
|
||||
# Dependencies
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
RFCs 2822 and 822 specify date formats to be used by email. This module parses
|
||||
and emits such dates.
|
||||
|
||||
RFC2822 (April 2001) introduces a slightly different format of date than that
|
||||
used by RFC822 (August 1982). The main correction is that the preferred format
|
||||
is more limited, and thus easier to parse programmatically.
|
||||
|
||||
Despite the ease of generating and parsing perfectly valid RFC822 and RFC2822
|
||||
people still get it wrong. This module aims to correct that.
|
||||
|
||||
%prep
|
||||
%setup -q -n DateTime-Format-Mail-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
make test %{?with_perl_DateTime_Format_Mail_enables_extra_test:\
|
||||
AUTHOR_TESTING=1 RELEASE_TESTING=1}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc CREDITS Changes README
|
||||
%{perl_vendorlib}/DateTime/
|
||||
%{_mandir}/man3/DateTime::Format::Mail.3*
|
||||
%exclude /usr/lib64/perl5/vendor_perl/auto/DateTime/Format/Mail/.packlist
|
||||
|
||||
%changelog
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.403-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.403-12
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.403-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.403-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.403-9
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.403-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.403-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.403-6
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.403-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.403-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.403-3
|
||||
- Perl 5.26 rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.403-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Tue Jun 28 2016 Paul Howarth <paul@city-fan.org> - 1:0.403-1
|
||||
- Update to 0.403
|
||||
- Use DateTime->set_locale instead of ->set to set the locale; using ->set
|
||||
may actually change the local time unintentionally (GH#2)
|
||||
- Run the author and release tests too
|
||||
- Make %%files list more explicit
|
||||
- Update build dependencies and drop redundant requires filter
|
||||
|
||||
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.402.0-3
|
||||
- Perl 5.24 rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.402.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Jul 23 2015 Petr Šabata <contyk@redhat.com> - 1:0.402.0-1
|
||||
- 0.402 bump
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.401.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.401.0-2
|
||||
- Perl 5.22 rebuild
|
||||
|
||||
* Fri Dec 05 2014 Petr Pisar <ppisar@redhat.com> - 1:0.401.0-1
|
||||
- 0.401 bump
|
||||
|
||||
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.3001-21
|
||||
- Perl 5.20 rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Wed Jul 31 2013 Petr Pisar <ppisar@redhat.com> - 0.3001-18
|
||||
- Perl 5.18 rebuild
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Sat Dec 29 2012 Iain Arnell <iarnell@gmail.com> 0.3001-16
|
||||
- gzip the sample dates file in documentation (rhbz#890441)
|
||||
- update spec for modern rpmbuild
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 0.3001-14
|
||||
- Perl 5.16 rebuild
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Wed Jul 20 2011 Iain Arnell <iarnell@gmail.com> - 0.3001-12
|
||||
- update filtering macros for rpm 4.9
|
||||
|
||||
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.3001-11
|
||||
- Perl mass rebuild
|
||||
|
||||
* Mon Feb 14 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.3001-10
|
||||
- Switch to using perl-filters/Abandon filter-requires.sh
|
||||
(Work around mass rebuild breakdown).
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.3001-8
|
||||
- 661697 rebuild for fixing problems with vendorach/lib
|
||||
|
||||
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.3001-7
|
||||
- Mass rebuild with perl-5.12.0
|
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.3001-6
|
||||
- rebuild against perl 5.10.1
|
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.3001-3
|
||||
- Rebuild for perl 5.10 (again)
|
||||
|
||||
* Fri Jan 25 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.3001-2
|
||||
- no more notes/ directory
|
||||
|
||||
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.3001-1
|
||||
- 0.3001
|
||||
- fix license tag
|
||||
- rebuild against new perl
|
||||
|
||||
* Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.30-4
|
||||
- bump for mass rebuild
|
||||
|
||||
* Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.30-3
|
||||
- bump for build and release
|
||||
|
||||
* Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.30-2
|
||||
- add missing br: perl(File::Find::Rule)
|
||||
- additional files from the test suite added to %%doc
|
||||
|
||||
* Fri Aug 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.30-1
|
||||
- Initial spec file for F-E
|
|
@ -0,0 +1,87 @@
|
|||
Name: perl-HTTP-Cookies
|
||||
Version: 6.01
|
||||
Release: 5%{?dist}
|
||||
Summary: HTTP cookie jars
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/HTTP-Cookies/
|
||||
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Cookies-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(HTTP::Date) >= 6
|
||||
BuildRequires: perl(HTTP::Headers::Util) >= 6
|
||||
# Tests only:
|
||||
BuildRequires: perl(HTTP::Request)
|
||||
BuildRequires: perl(HTTP::Response)
|
||||
BuildRequires: perl(Test)
|
||||
BuildRequires: perl(URI)
|
||||
# Time::Local needed on MacOS only
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(HTTP::Date) >= 6
|
||||
Requires: perl(HTTP::Headers::Util) >= 6
|
||||
Conflicts: perl-libwww-perl < 6
|
||||
|
||||
# Remove underspecified dependencies
|
||||
%filter_from_requires /^perl(HTTP::Date)\s*$/d
|
||||
%filter_from_requires /^perl(HTTP::Headers::Util)\s*$/d
|
||||
# One function of provided HTTP::Cookies::Microsoft works on Win32 only, other
|
||||
# function do not need it. This keep the module, but remove dependency.
|
||||
%filter_from_requires /^perl(Win32)/d
|
||||
%filter_setup
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Win32|HTTP::Date|HTTP::Headers::Util\\)$
|
||||
|
||||
|
||||
%description
|
||||
This class is for objects that represent a "cookie jar" -- that is, a
|
||||
database of all the HTTP cookies that a given LWP::UserAgent object
|
||||
knows about.
|
||||
|
||||
%prep
|
||||
%setup -q -n HTTP-Cookies-%{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
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 6.01-5
|
||||
- Mass rebuild 2013-12-27
|
||||
|
||||
* Tue Nov 13 2012 Petr Šabata <contyk@redhat.com> - 6.01-4
|
||||
- Modernize the spec
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.01-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 6.01-2
|
||||
- Perl 5.16 rebuild
|
||||
|
||||
* Thu Feb 16 2012 Petr Pisar <ppisar@redhat.com> - 6.01-1
|
||||
- 6.01 bump
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.00-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Mon Jun 25 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.00-3
|
||||
- add new filter
|
||||
|
||||
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.00-2
|
||||
- Perl mass rebuild
|
||||
|
||||
* Wed Mar 16 2011 Petr Pisar <ppisar@redhat.com> 6.00-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
- Remove BuildRoot stuff
|
||||
- Conflicts with perl-libwww-perl-5* and older
|
|
@ -0,0 +1,120 @@
|
|||
Name: perl-HTTP-Daemon
|
||||
Version: 6.01
|
||||
Release: 8%{?dist}
|
||||
Summary: Simple HTTP server class
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/HTTP-Daemon/
|
||||
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Daemon-%{version}.tar.gz
|
||||
# Support IPv6, bug #1413065, CPAN RT#91699, CPAN RT#71395,
|
||||
# proposed to upstream
|
||||
Patch0: HTTP-Daemon-6.01-Add-IPv6-support.patch
|
||||
# Accept undefined and empty-string LocalAddr as IO::Socket::INET does,
|
||||
# CPAN RT#91699, CPAN RT#123069
|
||||
Patch1: HTTP-Daemon-6.01-Handle-undef-and-empty-LocalAddr.patch
|
||||
# Fix formatting specific non-local addresses, bug #1578026, CPAN RT#125242
|
||||
Patch2: HTTP-Daemon-6.01-Resolve-specific-socket-addresses-correctly.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(HTTP::Date) >= 6
|
||||
BuildRequires: perl(HTTP::Request) >= 6
|
||||
BuildRequires: perl(HTTP::Response) >= 6
|
||||
BuildRequires: perl(HTTP::Status) >= 6
|
||||
BuildRequires: perl(IO::Socket::IP)
|
||||
BuildRequires: perl(LWP::MediaTypes) >= 6
|
||||
BuildRequires: perl(Socket)
|
||||
BuildRequires: perl(Sys::Hostname)
|
||||
# Tests only:
|
||||
BuildRequires: perl(Config)
|
||||
# Do not depend on perl(LWP::UserAgent), perl(LWP::RobotUA) to break
|
||||
# circural dependency, then only t/chunked.t is executed.
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(IO::Socket::INET)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(HTTP::Date) >= 6
|
||||
Requires: perl(HTTP::Request) >= 6
|
||||
Requires: perl(HTTP::Response) >= 6
|
||||
Requires: perl(HTTP::Status) >= 6
|
||||
Requires: perl(LWP::MediaTypes) >= 6
|
||||
Requires: perl(Sys::Hostname)
|
||||
Conflicts: perl-libwww-perl < 6
|
||||
|
||||
# Remove underspecified dependencies
|
||||
%filter_from_requires /^perl(HTTP::Date)\s*$/d;
|
||||
%filter_from_requires /^perl(HTTP::Request)\s*$/d;
|
||||
%filter_from_requires /^perl(HTTP::Response)\s*$/d;
|
||||
%filter_from_requires /^perl(HTTP::Status)\s*$/d;
|
||||
%filter_from_requires /^perl(LWP::MediaTypes)\s*$/d;
|
||||
%filter_setup
|
||||
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(HTTP::(Date|Request|Response|Status)|LWP::MediaTypes\\)$
|
||||
|
||||
%description
|
||||
Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen on a
|
||||
socket for incoming requests. The HTTP::Daemon is a subclass of
|
||||
IO::Socket::INET, so you can perform socket operations directly on it too.
|
||||
|
||||
%prep
|
||||
%setup -q -n HTTP-Daemon-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%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
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Thu May 24 2018 Petr Pisar <ppisar@redhat.com> - 6.01-8
|
||||
- Fix formatting numerical non-local specific IPv6 addresses (bug #1578026)
|
||||
|
||||
* Mon Sep 18 2017 Petr Pisar <ppisar@redhat.com> - 6.01-7
|
||||
- Accept undefined and empty-string LocalAddr as IO::Socket::INET does
|
||||
(bug #1413065)
|
||||
|
||||
* Tue Jan 17 2017 Petr Pisar <ppisar@redhat.com> - 6.01-6
|
||||
- Support IPv6 (bug #1413065)
|
||||
|
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 6.01-5
|
||||
- Mass rebuild 2013-12-27
|
||||
|
||||
* Tue Nov 13 2012 Petr Šabata <contyk@redhat.com> - 6.01-4
|
||||
- Modernize the spec, fix dependencies, and drop command macros
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.01-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 6.01-2
|
||||
- Perl 5.16 rebuild
|
||||
|
||||
* Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 6.01-1
|
||||
- 6.01 bump
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.00-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Mon Jun 25 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.00-3
|
||||
- add new filter
|
||||
|
||||
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.00-2
|
||||
- Perl mass rebuild
|
||||
|
||||
* Thu Mar 17 2011 Petr Pisar <ppisar@redhat.com> 6.00-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
- Remove BuildRoot stuff
|
||||
- Conflicts with perl-libwww-perl-5* and older
|
|
@ -0,0 +1,200 @@
|
|||
Name: perl-JavaScript-Minifier-XS
|
||||
Version: 0.14
|
||||
Release: 1%{?dist}
|
||||
Summary: XS based JavaScript minifier
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/JavaScript-Minifier-XS
|
||||
Source0: https://cpan.metacpan.org/authors/id/G/GT/GTERMARS/JavaScript-Minifier-XS-%{version}.tar.gz
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: make
|
||||
BuildRequires: findutils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::CBuilder)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) > 6.76
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Run-time
|
||||
BuildRequires: perl(DynaLoader)
|
||||
BuildRequires: perl(Exporter)
|
||||
# Tests
|
||||
BuildRequires: perl(blib)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(if)
|
||||
BuildRequires: perl(IO::Handle)
|
||||
BuildRequires: perl(IPC::Open3)
|
||||
BuildRequires: perl(JavaScript::Minifier)
|
||||
BuildRequires: perl(Test::DiagINC)
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
%description
|
||||
JavaScript::Minifier::XS is a JavaScript "minifier"; it's designed
|
||||
to remove unnecessary white space and comments from JavaScript
|
||||
files without breaking the JavaScript.
|
||||
|
||||
%prep
|
||||
%setup -q -n JavaScript-Minifier-XS-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}"
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
%{make_install}
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
unset AUTHOR_TESTING RELEASE_TESTING
|
||||
export AUTOMATED_TESTING=1
|
||||
make test
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc Changes README
|
||||
%{perl_vendorarch}/auto/*
|
||||
%{perl_vendorarch}/JavaScript*
|
||||
%{_mandir}/man3/*
|
||||
%exclude /usr/lib64/perl5/perllocal.pod
|
||||
|
||||
%changelog
|
||||
* Mon Feb 08 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.14-1
|
||||
- 0.14 bump
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jan 05 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.13-1
|
||||
- 0.13 bump
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-19
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-16
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-13
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Fri Mar 02 2018 Petr Pisar <ppisar@redhat.com> - 0.11-12
|
||||
- Adapt to removing GCC from a build root (bug #1547165)
|
||||
|
||||
* Mon Feb 19 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-11
|
||||
- Add build-require gcc
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-7
|
||||
- Perl 5.26 rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-5
|
||||
- Perl 5.24 rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-2
|
||||
- Perl 5.22 rebuild
|
||||
|
||||
* Thu Jan 29 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-1
|
||||
- 0.11 bump, update BRs
|
||||
- Modernize spec file
|
||||
|
||||
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-12
|
||||
- Perl 5.20 rebuild
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Sat Jul 20 2013 Petr Pisar <ppisar@redhat.com> - 0.09-8
|
||||
- Perl 5.18 rebuild
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.09-5
|
||||
- Perl 5.16 rebuild
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.09-3
|
||||
- Perl mass rebuild
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Mon Nov 8 2010 Petr Sabata <psabata@redhat.com> - 0.09-1
|
||||
- New upstream release, v0.09
|
||||
|
||||
* Wed Sep 29 2010 jkeating - 0.08-3
|
||||
- Rebuilt for gcc bug 634757
|
||||
|
||||
* Mon Sep 20 2010 Petr Pisar <ppisar@redhat.com> - 0.08-2
|
||||
- Require perl(Test::Pod::Coverage) for tests
|
||||
|
||||
* Wed Sep 15 2010 Petr Pisar <ppisar@redhat.com> - 0.08-1
|
||||
- 0.08 bump
|
||||
- Correct description spelling
|
||||
|
||||
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-3
|
||||
- Mass rebuild with perl-5.12.0
|
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.06-2
|
||||
- rebuild against perl 5.10.1
|
||||
|
||||
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.06-1
|
||||
- update filtering
|
||||
- auto-update to 0.06 (by cpan-spec-update 0.01)
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Tue May 5 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.05-2
|
||||
- add BR, remove useless provides
|
||||
|
||||
* Wed Apr 29 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.05-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
|
@ -0,0 +1,206 @@
|
|||
# Perform tests that need the Internet
|
||||
%bcond_with perl_LWP_Protocol_https_enables_internet_test
|
||||
|
||||
Name: perl-LWP-Protocol-https
|
||||
Version: 6.10
|
||||
Release: 1%{?dist}
|
||||
Summary: Provide HTTPS support for LWP::UserAgent
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/LWP-Protocol-https
|
||||
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-%{version}.tar.gz
|
||||
# Fix CVE-2014-3230, bug #1094442,
|
||||
# proposed in https://github.com/libwww-perl/lwp-protocol-https/pull/14
|
||||
Patch0: LWP-Protocol-https-6.06-Debian-746576-don-t-disale-verification-if-only-host.patch
|
||||
# Fix CVE-2014-3230, bug #1094442,
|
||||
# proposed in https://github.com/libwww-perl/lwp-protocol-https/pull/14
|
||||
Patch1: LWP-Protocol-https-6.06-Debian-746576-fix-test-make-it-workable-for-Crypt-SS.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(:VERSION) >= 5.8.1
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Run-time:
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(IO::Socket::SSL) >= 1.54
|
||||
BuildRequires: perl(LWP::Protocol::http)
|
||||
BuildRequires: perl(LWP::Protocol::http::SocketMethods)
|
||||
BuildRequires: perl(Mozilla::CA) >= 20180117
|
||||
BuildRequires: perl(Net::HTTPS) >= 6
|
||||
# Tests:
|
||||
BuildRequires: perl(blib)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(IO::Select)
|
||||
BuildRequires: perl(IO::Socket::INET)
|
||||
BuildRequires: perl(LWP::UserAgent) >= 6.06
|
||||
BuildRequires: perl(Socket)
|
||||
BuildRequires: perl(Test::More) >= 0.96
|
||||
%if %{with perl_LWP_Protocol_https_enables_internet_test}
|
||||
BuildRequires: perl(Test::RequiresInternet)
|
||||
%endif
|
||||
# Optional tests:
|
||||
BuildRequires: perl(IO::Socket::SSL) >= 1.953
|
||||
BuildRequires: perl(IO::Socket::SSL::Utils)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(IO::Socket::SSL) >= 1.54
|
||||
Requires: perl(Mozilla::CA) >= 20180117
|
||||
Requires: perl(Net::HTTPS) >= 6
|
||||
|
||||
# Remove underspecified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Net::HTTPS\\)\\s*$
|
||||
|
||||
%description
|
||||
The LWP::Protocol::https module provides support for using HTTPS schemed
|
||||
URLs with LWP. This module is a plug-in to the LWP protocol handling, so
|
||||
you don't use it directly. Once the module is installed LWP is able to
|
||||
access sites using HTTP over SSL/TLS.
|
||||
|
||||
%prep
|
||||
%setup -q -n LWP-Protocol-https-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%if !%{with perl_LWP_Protocol_https_enables_internet_test}
|
||||
rm t/apache.t
|
||||
perl -i -ne 'print $_ unless m{^t/apache.t}' MANIFEST
|
||||
%endif
|
||||
|
||||
%build
|
||||
perl Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1 INSTALLDIRS=vendor
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
%{make_install}
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc Changes
|
||||
%{perl_vendorlib}/*
|
||||
/usr/lib64/perl5/vendor_perl/auto/LWP/Protocol/https/.packlist
|
||||
%{_mandir}/man3/*
|
||||
%exclude /usr/lib64/perl5/perllocal.pod
|
||||
|
||||
%changelog
|
||||
* Fri Dec 18 2020 Petr Pisar <ppisar@redhat.com> - 6.10-1
|
||||
- 6.10 bump
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.09-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 20 2020 Petr Pisar <ppisar@redhat.com> - 6.09-2
|
||||
- Remove unused build-time dependencies
|
||||
|
||||
* Fri Jul 17 2020 Jitka Plesnikova <jplesnik@redhat.com> - 6.09-1
|
||||
- 6.09 bump
|
||||
|
||||
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 6.07-12
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Fri Feb 14 2020 Petr Pisar <ppisar@redhat.com> - 6.07-11
|
||||
- Disable tests that need the Internet by default
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.07-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.07-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 6.07-8
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.07-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.07-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 6.07-5
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.07-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.07-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 6.07-2
|
||||
- Perl 5.26 rebuild
|
||||
|
||||
* Mon Feb 20 2017 Petr Pisar <ppisar@redhat.com> - 6.07-1
|
||||
- 6.07 bump
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.06-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 6.06-8
|
||||
- Perl 5.24 rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.06-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.06-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 6.06-5
|
||||
- Perl 5.22 rebuild
|
||||
|
||||
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 6.06-4
|
||||
- Perl 5.20 rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.06-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Mon May 12 2014 Petr Pisar <ppisar@redhat.com> - 6.06-2
|
||||
- Fix CVE-2014-3230 (incorrect handling of SSL certificate verification if
|
||||
HTTPS_CA_DIR or HTTPS_CA_FILE environment variables are set) (bug #1094442)
|
||||
|
||||
* Wed Apr 23 2014 Petr Pisar <ppisar@redhat.com> - 6.06-1
|
||||
- 6.06 bump
|
||||
|
||||
* Thu Jan 16 2014 Petr Pisar <ppisar@redhat.com> - 6.04-4
|
||||
- Modernize spec file
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.04-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Tue Jul 23 2013 Petr Pisar <ppisar@redhat.com> - 6.04-2
|
||||
- Perl 5.18 rebuild
|
||||
|
||||
* Thu May 02 2013 Petr Pisar <ppisar@redhat.com> - 6.04-1
|
||||
- 6.04 bump
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.03-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.03-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 6.03-2
|
||||
- Perl 5.16 rebuild
|
||||
|
||||
* Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 6.03-1
|
||||
- 6.03 bump
|
||||
- Enable tests by default, they detect connectivity now
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Mon Jul 25 2011 Petr Pisar <ppisar@redhat.com> - 6.02-4
|
||||
- RPM 4.9 dependency filtering added
|
||||
|
||||
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.02-3
|
||||
- Perl mass rebuild
|
||||
|
||||
* Tue Mar 29 2011 Petr Pisar <ppisar@redhat.com> - 6.02-2
|
||||
- Disable tests because they need network access
|
||||
|
||||
* Mon Mar 28 2011 Petr Pisar <ppisar@redhat.com> 6.02-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
- Remove BuildRoot stuff
|
|
@ -0,0 +1,188 @@
|
|||
Name: perl-Mozilla-CA
|
||||
# You do not need to back-port a new version for updating a list of the
|
||||
# certificates. They are taken from ca-certificates package instead
|
||||
# per bug #738383.
|
||||
Version: 20200520
|
||||
Release: 1%{?dist}
|
||||
Summary: Mozilla's CA certificate bundle in PEM format
|
||||
# README: MPLv2.0
|
||||
## Unbundled
|
||||
# mk-ca-bundle.pl: MIT
|
||||
# lib/Mozilla/CA/cacert.pem: MPLv2.0
|
||||
License: MPLv2.0
|
||||
URL: https://metacpan.org/release/Mozilla-CA
|
||||
Source0: https://cpan.metacpan.org/authors/id/A/AB/ABH/Mozilla-CA-%{version}.tar.gz
|
||||
# Use a CA bundle from ca-certificates package, bug #738383
|
||||
Patch0: Mozilla-CA-20200520-Redirect-to-ca-certificates-bundle.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
# Run-time:
|
||||
BuildRequires: ca-certificates
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(File::Spec)
|
||||
# Tests:
|
||||
BuildRequires: perl(Test)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: ca-certificates
|
||||
|
||||
%description
|
||||
Mozilla::CA provides a path to ca-certificates copy of Mozilla's bundle of
|
||||
certificate authority certificates in a form that can be consumed by modules
|
||||
and libraries based on OpenSSL.
|
||||
|
||||
%prep
|
||||
%setup -q -n Mozilla-CA-%{version}
|
||||
%patch0 -p1
|
||||
# Remove a bundled CA bundle for sure
|
||||
rm lib/Mozilla/CA/cacert.pem
|
||||
# Do not distribute Mozilla downloader, we take certificates from
|
||||
# ca-certificates package
|
||||
rm mk-ca-bundle.pl
|
||||
perl -i -ne 'print $_ unless m{^mk-ca-bundle\.pl$}' MANIFEST
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
%{make_install}
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
/usr/lib64/perl5/vendor_perl/auto/Mozilla/CA/.packlist
|
||||
%{_mandir}/man3/*
|
||||
%exclude /usr/lib64/perl5/perllocal.pod
|
||||
|
||||
%changelog
|
||||
* Wed May 20 2020 Petr Pisar <ppisar@redhat.com> - 20200520-1
|
||||
- 20200520 bump
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20180117-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20180117-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 20180117-5
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20180117-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20180117-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 20180117-2
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Fri Mar 02 2018 Petr Pisar <ppisar@redhat.com> - 20180117-1
|
||||
- 20180117 bump
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20160104-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20160104-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 20160104-5
|
||||
- Perl 5.26 rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20160104-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 20160104-3
|
||||
- Perl 5.24 rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20160104-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Tue Jan 05 2016 Petr Pisar <ppisar@redhat.com> - 20160104-1
|
||||
- 20160104 bump
|
||||
|
||||
* Wed Aug 26 2015 Petr Pisar <ppisar@redhat.com> - 20150826-1
|
||||
- 20150826 bump
|
||||
- License changed from (MPLv1.1 or LGPLv2+ or GPLv2+) to (MPLv2.0)
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20141217-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 20141217-2
|
||||
- Perl 5.22 rebuild
|
||||
|
||||
* Fri Jan 02 2015 Petr Pisar <ppisar@redhat.com> - 20141217-1
|
||||
- 20141217 bump
|
||||
|
||||
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 20130114-7
|
||||
- Perl 5.20 rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20130114-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Thu Jan 16 2014 Petr Pisar <ppisar@redhat.com> - 20130114-5
|
||||
- Specify all dependencies
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20130114-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 20130114-3
|
||||
- Perl 5.18 rebuild
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20130114-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Tue Jan 15 2013 Petr Pisar <ppisar@redhat.com> - 20130114-1
|
||||
- 20130114 bump
|
||||
|
||||
* Thu Aug 23 2012 Petr Pisar <ppisar@redhat.com> - 20120823-1
|
||||
- 20120823 bump
|
||||
|
||||
* Wed Aug 22 2012 Petr Pisar <ppisar@redhat.com> - 20120822-1
|
||||
- 20120822 bump
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120309-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 20120309-2
|
||||
- Perl 5.16 rebuild
|
||||
|
||||
* Wed Mar 14 2012 Petr Pisar <ppisar@redhat.com> - 20120309-1
|
||||
- 20120309 bump
|
||||
|
||||
* Wed Jan 18 2012 Petr Pisar <ppisar@redhat.com> - 20120118-1
|
||||
- 20120118 bump
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20111025-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Tue Oct 25 2011 Petr Pisar <ppisar@redhat.com> - 20111025-1
|
||||
- 20111025 bump
|
||||
- Remove defattr from spec code
|
||||
|
||||
* Fri Sep 16 2011 Petr Pisar <ppisar@redhat.com> - 20110914-2
|
||||
- Redirect to ca-certificates bundle (bug #738383)
|
||||
|
||||
* Thu Sep 15 2011 Petr Pisar <ppisar@redhat.com> - 20110914-1
|
||||
- 20110914 bump
|
||||
|
||||
* Mon Sep 05 2011 Petr Pisar <ppisar@redhat.com> - 20110904-1
|
||||
- 20110904 bump
|
||||
|
||||
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 20110409-2
|
||||
- Perl mass rebuild
|
||||
|
||||
* Mon Apr 11 2011 Petr Pisar <ppisar@redhat.com> - 20110409-1
|
||||
- 20110409 bump
|
||||
|
||||
* Mon Mar 28 2011 Petr Pisar <ppisar@redhat.com> 20110301-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
- Correct License tag
|
||||
- Remove BuildRoot stuff
|
|
@ -0,0 +1,109 @@
|
|||
Name: perl-Net-HTTP
|
||||
Version: 6.06
|
||||
Release: 2%{?dist}
|
||||
Summary: Low-level HTTP connection (client)
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Net-HTTP/
|
||||
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Net-HTTP-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Getopt::Long)
|
||||
# Run-time:
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Compress::Raw::Zlib)
|
||||
BuildRequires: perl(IO::Select)
|
||||
BuildRequires: perl(IO::Socket::INET)
|
||||
BuildRequires: perl(IO::Socket::SSL) >= 1.38
|
||||
BuildRequires: perl(IO::Uncompress::Gunzip)
|
||||
BuildRequires: perl(Symbol)
|
||||
# Tests only:
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(Socket)
|
||||
BuildRequires: perl(Test)
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Compress::Raw::Zlib)
|
||||
Requires: perl(IO::Uncompress::Gunzip)
|
||||
Requires: perl(IO::Select)
|
||||
Requires: perl(IO::Socket::INET)
|
||||
Requires: perl(Symbol)
|
||||
# Recommended
|
||||
Requires: perl(IO::Socket::SSL) >= 1.38
|
||||
Conflicts: perl-libwww-perl < 6
|
||||
|
||||
%description
|
||||
The Net::HTTP class is a low-level HTTP client. An instance of the
|
||||
Net::HTTP class represents a connection to an HTTP server. The HTTP
|
||||
protocol is described in RFC 2616. The Net::HTTP class supports HTTP/1.0
|
||||
and HTTP/1.1.
|
||||
|
||||
%prep
|
||||
%setup -q -n Net-HTTP-%{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 {} \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 6.06-2
|
||||
- Mass rebuild 2013-12-27
|
||||
|
||||
* Mon Mar 11 2013 Petr Pisar <ppisar@redhat.com> - 6.06-1
|
||||
- 6.06 bump
|
||||
|
||||
* Fri Mar 08 2013 Petr Pisar <ppisar@redhat.com> - 6.05-3
|
||||
- Handle IO::Socket::SSL as non-blocking (bug #768394)
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.05-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Tue Nov 13 2012 Petr Pisar <ppisar@redhat.com> - 6.05-1
|
||||
- 6.05 bump
|
||||
|
||||
* Fri Nov 09 2012 Petr Pisar <ppisar@redhat.com> - 6.04-1
|
||||
- 6.04 bump
|
||||
|
||||
* Mon Aug 13 2012 Petr Pisar <ppisar@redhat.com> - 6.03-4
|
||||
- Specify all dependencies
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.03-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 6.03-2
|
||||
- Perl 5.16 rebuild
|
||||
|
||||
* Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 6.03-1
|
||||
- 6.03 bump: Restore blocking override for Net::SSL (RT #72790)
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Tue Nov 22 2011 Petr Pisar <ppisar@redhat.com> - 6.02-1
|
||||
- 6.02 bump
|
||||
- Fixes HTTPS time-out in LWP::UserAgent/IO::Socket::SSL (bug #750793)
|
||||
|
||||
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 6.01-2
|
||||
- Perl mass rebuild
|
||||
|
||||
* Mon Apr 18 2011 Petr Pisar <ppisar@redhat.com> - 6.01-1
|
||||
- 6.01 bump
|
||||
|
||||
* Thu Mar 17 2011 Petr Pisar <ppisar@redhat.com> 6.00-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
- Remove BuildRoot stuff
|
||||
- Conflicts with perl-libwww-perl-5* and older
|
|
@ -0,0 +1,81 @@
|
|||
Name: perl-WWW-RobotRules
|
||||
Version: 6.02
|
||||
Release: 5%{?dist}
|
||||
Summary: Database of robots.txt-derived permissions
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/WWW-RobotRules/
|
||||
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/WWW-RobotRules-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(AnyDBM_File)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Fcntl)
|
||||
BuildRequires: perl(LWP::RobotUA)
|
||||
BuildRequires: perl(URI) >= 1.10
|
||||
BuildRequires: perl(URI::URL)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(URI) >= 1.10
|
||||
Conflicts: perl-libwww-perl < 6
|
||||
|
||||
# Remove underspecified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(URI\\)$
|
||||
# Do not provide private imlementation of abstract class methods
|
||||
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(WWW::RobotRules::InCore\\)
|
||||
|
||||
%description
|
||||
This module parses /robots.txt files as specified in "A Standard for Robot
|
||||
Exclusion", at <http://www.robotstxt.org/wc/norobots.html>. Webmasters can
|
||||
use the /robots.txt file to forbid conforming robots from accessing parts
|
||||
of their web site.
|
||||
|
||||
%prep
|
||||
%setup -q -n WWW-RobotRules-%{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 -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 6.02-5
|
||||
- Mass rebuild 2013-12-27
|
||||
|
||||
* Mon Aug 27 2012 Jitka Plesnikova <jplesnik@redhat.com> - 6.02-4
|
||||
- Specify all dependencies.
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 6.02-2
|
||||
- Perl 5.16 rebuild
|
||||
|
||||
* Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 6.02-1
|
||||
- 6.02 bump
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.01-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Sun Jul 24 2011 Iain Arnell <iarnell@gmail.com> 6.01-3
|
||||
- update filtering for rpm 4.9
|
||||
|
||||
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.01-2
|
||||
- Perl mass rebuild
|
||||
|
||||
* Thu Mar 17 2011 Petr Pisar <ppisar@redhat.com> 6.01-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
- Remove BuildRoot stuff
|
||||
- Conflicts with perl-libwww-perl-5* and older
|
|
@ -0,0 +1,220 @@
|
|||
Name: perl-XML-RSS
|
||||
Version: 1.61
|
||||
Release: 1%{?dist}
|
||||
Summary: Perl module for managing RDF Site Summary (RSS) files
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/XML-RSS
|
||||
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/XML-RSS-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
# Run-time:
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(DateTime::Format::Mail)
|
||||
BuildRequires: perl(DateTime::Format::W3CDTF)
|
||||
BuildRequires: perl(HTML::Entities)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(warnings)
|
||||
BuildRequires: perl(XML::Parser) >= 2.23
|
||||
# Tests:
|
||||
#BuildRequires: perl(constant)
|
||||
BuildRequires: perl(File::Find)
|
||||
BuildRequires: perl(File::Spec)
|
||||
# Module::Build not used
|
||||
BuildRequires: perl(POSIX)
|
||||
BuildRequires: perl(Test::Manifest) >= 0.9
|
||||
BuildRequires: perl(Test::More)
|
||||
# Test::Run::CmdLine::Iface not used
|
||||
# Optional tests:
|
||||
BuildRequires: perl(Test::Differences)
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
BuildRequires: perl(Test::TrailingSpace)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(XML::Parser) >= 2.23
|
||||
|
||||
# Filter under-specified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(XML::Parser\\)$
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q -n XML-RSS-%{version}
|
||||
chmod 644 Changes README TODO
|
||||
find examples -type f -exec chmod 644 {} ';'
|
||||
find examples -type d -exec chmod 755 {} ';'
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%files
|
||||
%doc Changes README TODO examples
|
||||
%{perl_vendorlib}/XML/
|
||||
%{_mandir}/man3/XML::RSS*.3*
|
||||
%exclude /usr/lib64/perl5/vendor_perl/auto/XML/RSS/.packlist
|
||||
|
||||
%changelog
|
||||
* Mon Sep 09 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.61-1
|
||||
- 1.61 bump
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.60-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.60-5
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.60-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.60-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.60-2
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Mon Mar 5 2018 Tom Callaway <spot@fedoraproject.org> - 1.60-1
|
||||
- update to 1.60
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.59-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.59-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.59-4
|
||||
- Perl 5.26 rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.59-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.59-2
|
||||
- Perl 5.24 rebuild
|
||||
|
||||
* Thu Mar 3 2016 Tom Callaway <spot@fedoraproject.org> - 1.59-1
|
||||
- update to 1.59
|
||||
|
||||
* Fri Feb 12 2016 Tom Callaway <spot@fedoraproject.org> - 1.58-1
|
||||
- update to 1.58
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.57-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Tue Dec 15 2015 Tom Callaway <spot@fedoraproject.org> - 1.57-1
|
||||
- update to 1.57
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.56-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.56-2
|
||||
- Perl 5.22 rebuild
|
||||
|
||||
* Fri Jan 2 2015 Tom Callaway <spot@fedoraproject.org> - 1.56-1
|
||||
- update to 1.56
|
||||
|
||||
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.54-3
|
||||
- Perl 5.20 rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.54-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Fri Aug 02 2013 Petr Pisar <ppisar@redhat.com> - 1.54-1
|
||||
- 1.54 bump
|
||||
|
||||
* Fri Aug 02 2013 Petr Pisar <ppisar@redhat.com> - 1.49-5
|
||||
- Perl 5.18 rebuild
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.49-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
- Specify all dependencies
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.49-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 1.49-2
|
||||
- Perl 5.16 rebuild
|
||||
|
||||
* Fri Jan 20 2012 Iain Arnell <iarnell@gmail.com> 1.49-1
|
||||
- update to 1.49
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.45-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.45-7
|
||||
- Perl mass rebuild
|
||||
|
||||
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.45-6
|
||||
- Perl mass rebuild
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.45-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.45-4
|
||||
- 661697 rebuild for fixing problems with vendorach/lib
|
||||
|
||||
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.45-3
|
||||
- Mass rebuild with perl-5.12.0
|
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.45-2
|
||||
- rebuild against perl 5.10.1
|
||||
|
||||
* Wed Aug 19 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.45-1
|
||||
- update to 1.45
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Fri May 15 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.44-1
|
||||
- update to 1.44
|
||||
|
||||
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.43-1
|
||||
- update to 1.43
|
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.31-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.31-3
|
||||
- Rebuild for perl 5.10 (again)
|
||||
|
||||
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.31-2
|
||||
- rebuild for new perl
|
||||
|
||||
* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.31-1
|
||||
- bump to 1.31
|
||||
- license tag fix
|
||||
|
||||
* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.22-1
|
||||
- bump to 1.22
|
||||
- add new BR for building and testing
|
||||
|
||||
* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> - 1.10-2
|
||||
- bump for FC-6
|
||||
|
||||
* Mon Mar 13 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.10-1
|
||||
- 1.10.
|
||||
|
||||
* Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.05-2
|
||||
- rebuilt
|
||||
|
||||
* Sat Aug 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.05-0.fdr.1
|
||||
- Update to 1.05, patches applied upstream.
|
||||
|
||||
* Sun Jul 11 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.04-0.fdr.2
|
||||
- Bring up to date with current fedora.us Perl spec template.
|
||||
|
||||
* Sun Mar 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.04-0.fdr.1
|
||||
- Update to 1.04.
|
||||
- Reduce directory ownership bloat.
|
||||
|
||||
* Fri Nov 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.02-0.fdr.2
|
||||
- Eliminate some spurious test warnings.
|
||||
|
||||
* Sun Oct 12 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.02-0.fdr.1
|
||||
- First build.
|
Loading…
Reference in New Issue