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:
2021-10-26 12:52:32 +00:00
committed by Git OBS Bridge
parent 46d910c121
commit f5a12996c2
5 changed files with 62 additions and 12 deletions

View File

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

View File

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

35
cpanspec.yml Normal file
View File

@@ -0,0 +1,35 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
# baz.patch: PATCH-FIX-OPENSUSE
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
#skip_doc: regexp_to_skip_for_doc.*
#add_doc: files to add to docs
#misc: |-
#anything else to be added to spec file
#follows directly after %files section, so it can contain new blocks or also
#changes to %files section

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Oct 25 03:07:26 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- 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.
-------------------------------------------------------------------
Sun Oct 18 11:48:43 UTC 2020 - Dirk Stoecker <opensuse@dstoecker.de>

View File

@@ -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