diff --git a/Test-HTTP-LocalServer-0.71.tar.gz b/Test-HTTP-LocalServer-0.71.tar.gz deleted file mode 100644 index b6d502d..0000000 --- a/Test-HTTP-LocalServer-0.71.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2769316718c350051b4063ca12e3cc7bc7fbc096f1240a6d4a8139693dca785b -size 29860 diff --git a/Test-HTTP-LocalServer-0.74.tar.gz b/Test-HTTP-LocalServer-0.74.tar.gz new file mode 100644 index 0000000..3e1078d --- /dev/null +++ b/Test-HTTP-LocalServer-0.74.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9dd0f50c6d83fbc74ada59626dd56b74f858677d2c05877d8e0f93b15e7d8ea +size 30236 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..ab24ed9 --- /dev/null +++ b/cpanspec.yml @@ -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 diff --git a/perl-Test-HTTP-LocalServer.changes b/perl-Test-HTTP-LocalServer.changes index 20405e8..d9dd2e7 100644 --- a/perl-Test-HTTP-LocalServer.changes +++ b/perl-Test-HTTP-LocalServer.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Oct 25 03:07:26 UTC 2021 - Tina Müller + +- 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 diff --git a/perl-Test-HTTP-LocalServer.spec b/perl-Test-HTTP-LocalServer.spec index 342cf76..ff08762 100644 --- a/perl-Test-HTTP-LocalServer.spec +++ b/perl-Test-HTTP-LocalServer.spec @@ -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