Notification time stamped 2020-05-01 00:12:25 UTC
From 4492a7ff6c42fd56a410b5de499455c1549f37bb Mon Sep 17 00:00:00 2001
From: David Dick <ddick(a)cpan.org>
Date: May 01 2020 00:12:12 +0000
Subject: Initial import (#1149645).
---
diff --git a/.gitignore b/.gitignore
index e69de29..0684b0d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/LWP-Protocol-PSGI-0.07.tar.gz
diff --git a/lwp_protocol_psgi_module_build_version_remove.patch
b/lwp_protocol_psgi_module_build_version_remove.patch
new file mode 100644
index 0000000..c660d04
--- /dev/null
+++ b/lwp_protocol_psgi_module_build_version_remove.patch
@@ -0,0 +1,9 @@
+diff -Naur old/Build.PL new/Build.PL
+--- old/Build.PL 2014-05-20 05:42:52.000000000 +1000
++++ new/Build.PL 2014-10-03 18:20:53.576220626 +1000
+@@ -1,4 +1,4 @@
+ # This Build.PL for LWP-Protocol-PSGI was generated by
Dist::Zilla::Plugin::ModuleBuildTiny 0.006.
+ use 5.008001;
+-use Module::Build::Tiny 0.036;
++use Module::Build::Tiny;
+ Build_PL();
diff --git a/perl-LWP-Protocol-PSGI.spec b/perl-LWP-Protocol-PSGI.spec
new file mode 100644
index 0000000..ca1434c
--- /dev/null
+++ b/perl-LWP-Protocol-PSGI.spec
@@ -0,0 +1,52 @@
+Name: perl-LWP-Protocol-PSGI
+Version: 0.07
+Release: 1%{?dist}
+Summary: Override LWP's HTTP/HTTPS backend with your own PSGI application
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL:
http://search.cpan.org/dist/LWP-Protocol-PSGI/
+Source0:
http://www.cpan.org/modules/by-module/LWP/LWP-Protocol-PSGI-%{version}.ta...
+Patch1: lwp_protocol_psgi_module_build_version_remove.patch
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(Carp)
+BuildRequires: perl(Guard)
+BuildRequires: perl(HTTP::Message::PSGI)
+BuildRequires: perl(LWP::Protocol)
+BuildRequires: perl(LWP::Simple)
+BuildRequires: perl(LWP::UserAgent)
+BuildRequires: perl(Module::Build::Tiny)
+BuildRequires: perl(parent)
+BuildRequires: perl(strict)
+BuildRequires: perl(Test::More) >= 0.88
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
+
+%description
+LWP::Protocol::PSGI is a module to hijack any code that uses LWP::UserAgent
+underneath such that any HTTP or HTTPS requests can be routed to your own
+PSGI application.
+
+%prep
+%setup -q -n LWP-Protocol-PSGI-%{version}
+%patch1 -p1
+
+%build
+%{__perl} Build.PL --installdirs=vendor
+./Build
+
+%install
+./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%doc Changes LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Oct 03 2014 David Dick <ddick(a)cpan.org> - 0.07-1
+- Initial release
diff --git a/sources b/sources
index e69de29..d505572 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+06349aa3bb408153eb9644c62862e6a3 LWP-Protocol-PSGI-0.07.tar.gz
https://src.fedoraproject.org/rpms/perl-LWP-Protocol-PSGI/c/4492a7ff6c42f...