From 8d7b34dce51618866f7b0489bd86ea35ed8341a5 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jples...@redhat.com>
Date: Thu, 16 Jul 2015 08:33:24 +0200
Subject: Initial import


diff --git a/.gitignore b/.gitignore
index e69de29..f857542 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Test-LWP-UserAgent-0.029.tar.gz
diff --git a/perl-Test-LWP-UserAgent.spec b/perl-Test-LWP-UserAgent.spec
new file mode 100644
index 0000000..1bbc265
--- /dev/null
+++ b/perl-Test-LWP-UserAgent.spec
@@ -0,0 +1,76 @@
+Name:           perl-Test-LWP-UserAgent
+Version:        0.029
+Release:        1%{?dist}
+Summary:        LWP::UserAgent suitable for simulating and testing network 
calls
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Test-LWP-UserAgent/
+Source0:        
http://www.cpan.org/authors/id/E/ET/ETHER/Test-LWP-UserAgent-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(HTTP::Date)
+BuildRequires:  perl(HTTP::Message::PSGI)
+BuildRequires:  perl(HTTP::Request)
+BuildRequires:  perl(HTTP::Request::Common)
+BuildRequires:  perl(HTTP::Response)
+BuildRequires:  perl(HTTP::Status)
+BuildRequires:  perl(if)
+BuildRequires:  perl(JSON::MaybeXS)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(LWP::UserAgent)
+BuildRequires:  perl(Moose)
+BuildRequires:  perl(namespace::clean)
+BuildRequires:  perl(overload)
+BuildRequires:  perl(parent)
+BuildRequires:  perl(Path::Tiny)
+BuildRequires:  perl(Safe::Isa)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(Storable)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::Deep) >= 0.110
+BuildRequires:  perl(Test::Fatal)
+BuildRequires:  perl(Test::More) >= 0.88
+BuildRequires:  perl(Test::Requires)
+# Test::RequiresInternet - Optional for tests
+BuildRequires:  perl(Test::Warnings) >= 0.009
+BuildRequires:  perl(Try::Tiny)
+BuildRequires:  perl(URI)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%global __provides_exclude 
%{?__provides_exclude:%__provides_exclude|}^perl\\(MyApp::Client\\)
+
+%description
+This module is a subclass of LWP::UserAgent which overrides a few key low-
+level methods that are concerned with actually sending your request over
+the network, allowing an interception of that request and simulating a
+particular response. This greatly facilitates testing of client networking
+code where the server follows a known protocol.
+
+%prep
+%setup -q -n Test-LWP-UserAgent-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+NO_NETWORK_TESTING=1 make test
+
+%files
+%license LICENSE
+%doc Changes CONTRIBUTING docs examples README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Jul 10 2015 Jitka Plesnikova <jples...@redhat.com> - 0.029-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..9354daf 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f32dddbc7969e766588bea578e30f915  Test-LWP-UserAgent-0.029.tar.gz
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-Test-LWP-UserAgent.git/commit/?h=master&id=8d7b34dce51618866f7b0489bd86ea35ed8341a5
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to