8
0

Compare commits

...

14 Commits

Author SHA256 Message Date
8c8864ab67 Accepting request 1288045 from devel:languages:perl
- Normalize CPAN version
  See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/request/show/1288045
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-LWP-UserAgent?expand=0&rev=10
2025-06-24 18:48:25 +00:00
00bcd7a32c Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-LWP-UserAgent?expand=0&rev=18
2025-06-23 20:39:05 +00:00
b9ea2eaba1 Accepting request 947651 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/947651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-LWP-UserAgent?expand=0&rev=9
2022-01-21 00:25:32 +00:00
a8a964a84c Accepting request 947254 from devel:languages:perl:autoupdate
- updated to 0.036
   see /usr/share/doc/packages/perl-Test-LWP-UserAgent/Changes
  0.036     2022-01-16 04:11:38Z
            - use http rather than https URIs in network tests
  0.035     2022-01-15 03:45:06Z
            - fix network test that failed due to a broken redirect service

OBS-URL: https://build.opensuse.org/request/show/947254
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-LWP-UserAgent?expand=0&rev=17
2022-01-20 10:23:52 +00:00
02aa4a1e8e Accepting request 783468 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/783468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-LWP-UserAgent?expand=0&rev=8
2020-03-11 17:50:13 +00:00
30172f40d8 Accepting request 783273 from devel:languages:perl:autoupdate
- updated to 0.034
   see /usr/share/doc/packages/perl-Test-LWP-UserAgent/Changes
  0.034     2020-03-06 04:22:25Z
            - fix t/10-request-args-network.t under EXTENDED_TESTING=1 where the
              test URL was returning random content for each request and
              therefore failing a comparison check

OBS-URL: https://build.opensuse.org/request/show/783273
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-LWP-UserAgent?expand=0&rev=15
2020-03-10 15:18:40 +00:00
d7cee7046a Accepting request 495798 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/495798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-LWP-UserAgent?expand=0&rev=7
2017-05-24 14:47:13 +00:00
Stephan Kulow
e2e2a4fe2f Accepting request 495782 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/495782
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-LWP-UserAgent?expand=0&rev=13
2017-05-18 08:28:57 +00:00
15a5a17b14 Accepting request 492945 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/492945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-LWP-UserAgent?expand=0&rev=6
2017-05-16 12:37:57 +00:00
Stephan Kulow
c2a7814d24 Accepting request 492783 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/492783
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-LWP-UserAgent?expand=0&rev=11
2017-05-05 04:54:07 +00:00
94760ac532 Accepting request 439456 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/439456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-LWP-UserAgent?expand=0&rev=5
2016-11-10 12:27:44 +00:00
Stephan Kulow
3b27d98ec5 Accepting request 325684 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/325684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-LWP-UserAgent?expand=0&rev=4
2015-08-27 06:56:16 +00:00
d6785c4ac3 Accepting request 311223 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/311223
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-LWP-UserAgent?expand=0&rev=3
2015-06-09 10:24:53 +00:00
Stephan Kulow
93675c6312 Accepting request 297058 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/297058
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-LWP-UserAgent?expand=0&rev=2
2015-04-25 12:09:15 +00:00
4 changed files with 79 additions and 30 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c5e8ef8cf12b5812df7b03359cc1d7418073f088695fcb9106bbc6d1ad62d237
size 46874

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:05327530d346b80a61a6e943fbd749986bdca89211a4eb301c08c2d179314e11
size 50654

View File

@@ -1,3 +1,52 @@
-------------------------------------------------------------------
Mon Jun 23 20:38:59 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Mon Jan 17 03:08:40 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 0.036
see /usr/share/doc/packages/perl-Test-LWP-UserAgent/Changes
0.036 2022-01-16 04:11:38Z
- use http rather than https URIs in network tests
0.035 2022-01-15 03:45:06Z
- fix network test that failed due to a broken redirect service
-------------------------------------------------------------------
Sat Mar 7 03:12:24 UTC 2020 - <timueller+perl@suse.de>
- updated to 0.034
see /usr/share/doc/packages/perl-Test-LWP-UserAgent/Changes
0.034 2020-03-06 04:22:25Z
- fix t/10-request-args-network.t under EXTENDED_TESTING=1 where the
test URL was returning random content for each request and
therefore failing a comparison check
-------------------------------------------------------------------
Thu May 18 06:48:29 UTC 2017 - coolo@suse.com
- updated to 0.033
see /usr/share/doc/packages/perl-Test-LWP-UserAgent/Changes
0.033 2017-05-18 00:46:41Z
- fix network tests that failed from 0.032, due to inadequate author
testing before release
-------------------------------------------------------------------
Thu May 4 06:48:41 UTC 2017 - coolo@suse.com
- updated to 0.032
see /usr/share/doc/packages/perl-Test-LWP-UserAgent/Changes
0.032 2017-05-03 22:57:18Z
- convert network tests to using httpbin.org, to not rely on
iana.org not changing their content
-------------------------------------------------------------------
Wed Nov 2 07:17:00 UTC 2016 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-LWP-UserAgent
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,32 +12,31 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Test-LWP-UserAgent
Version: 0.031
Release: 0
#Upstream: Artistic-1.0 or GPL-1.0+
%define cpan_name Test-LWP-UserAgent
Name: perl-Test-LWP-UserAgent
Version: 0.36.0
Release: 0
# 0.036 -> normalize -> 0.36.0
%define cpan_version 0.036
#Upstream: Artistic-1.0 or GPL-1.0-or-later
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: LWP::UserAgent suitable for simulating and testing network calls
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-LWP-UserAgent/
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120620
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.121
BuildRequires: perl(HTTP::Date)
BuildRequires: perl(HTTP::Request)
BuildRequires: perl(HTTP::Request::Common)
BuildRequires: perl(HTTP::Response)
BuildRequires: perl(HTTP::Status)
BuildRequires: perl(IO::Socket::IP) >= 0.31
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(Module::Metadata)
BuildRequires: perl(Path::Tiny)
@@ -47,29 +46,30 @@ BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Needs)
BuildRequires: perl(Test::RequiresInternet)
BuildRequires: perl(Test::Warnings) >= 0.009
BuildRequires: perl(Test::Warnings) >= 0.9
BuildRequires: perl(Try::Tiny)
BuildRequires: perl(URI) >= 1.62
BuildRequires: perl(namespace::clean) >= 0.19
BuildRequires: perl(URI) >= 1.620
BuildRequires: perl(namespace::clean) >= 0.190
BuildRequires: perl(parent)
Requires: perl(HTTP::Date)
Requires: perl(HTTP::Request)
Requires: perl(HTTP::Response)
Requires: perl(HTTP::Status)
Requires: perl(IO::Socket::IP) >= 0.31
Requires: perl(LWP::UserAgent)
Requires: perl(Safe::Isa)
Requires: perl(Try::Tiny)
Requires: perl(URI) >= 1.62
Requires: perl(namespace::clean) >= 0.19
Requires: perl(URI) >= 1.620
Requires: perl(namespace::clean) >= 0.190
Requires: perl(parent)
Provides: perl(Test::LWP::UserAgent) = %{version}
%undefine __perllib_provides
%{perl_requires}
%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
particular response. This greatly facilitates testing of networking client
code where the server follows a known protocol.
The synopsis describes a typical case where you want to test how your
@@ -84,7 +84,7 @@ hook into this module; see the documentation for the individual interface
methods.
You can use a PSGI app to handle the requests - see _examples/call_psgi.t_
in this dist, and also register_psgi below.
in this distribution, and also register_psgi below.
OR, you can route some or all requests through the network as normal, but
still gain the hooks provided by this class to test what was sent and
@@ -115,14 +115,14 @@ or:
);
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
@@ -130,7 +130,7 @@ or:
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING docs examples LICENCE README
%doc Changes CONTRIBUTING docs examples README
%license LICENCE
%changelog