Accepting request 927288 from devel:languages:perl:autoupdate
- updated to 0.74 see /usr/share/doc/packages/perl-Test-HTTP-LocalServer/Changes 0.74 2021-10-24 * Restore compatibility with Perl 5.8.x 0.73 2021-10-22 * Actually allow sub-second delays for the "request_pause" option 0.72 2021-10-21 * Introduce the "request_pause" option to adjust the pause between requests. Depending on the UA under test, the default of 1 second may slow down testing too much, or may be necessary. OBS-URL: https://build.opensuse.org/request/show/927288 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-HTTP-LocalServer?expand=0&rev=2
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Test-HTTP-LocalServer
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,17 +16,16 @@
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Test-HTTP-LocalServer
|
||||
Version: 0.71
|
||||
Release: 0
|
||||
%define cpan_name Test-HTTP-LocalServer
|
||||
Name: perl-Test-HTTP-LocalServer
|
||||
Version: 0.74
|
||||
Release: 0
|
||||
Summary: Spawn a local HTTP server for testing
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/C/CO/CORION/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(CGI)
|
||||
@@ -56,11 +55,11 @@ Use this web server if you write an HTTP client and want to exercise its
|
||||
behaviour in your test suite without talking to the outside world.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
@@ -71,7 +70,6 @@ make test
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README README.mkdn testrules.yml
|
||||
%license LICENSE
|
||||
|
||||
|
Reference in New Issue
Block a user