From 98ac16012bc6e7e52ec156b4eca0b3e78ed9bc4ddd4138489ab4cbd50b60b4b7 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 16 Apr 2015 05:31:30 +0000 Subject: [PATCH] Accepting request 297051 from devel:languages:perl:autoupdate - updated to 0.50 see /usr/share/doc/packages/perl-HTTP-Server-Simple/Changes OBS-URL: https://build.opensuse.org/request/show/297051 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Server-Simple?expand=0&rev=15 --- HTTP-Server-Simple-0.44.tar.gz | 3 -- HTTP-Server-Simple-0.50.tar.gz | 3 ++ cpanspec.yml | 20 +++++++++ perl-HTTP-Server-Simple.changes | 6 +++ perl-HTTP-Server-Simple.spec | 73 ++++++++++++++++++++------------- 5 files changed, 73 insertions(+), 32 deletions(-) delete mode 100644 HTTP-Server-Simple-0.44.tar.gz create mode 100644 HTTP-Server-Simple-0.50.tar.gz create mode 100644 cpanspec.yml diff --git a/HTTP-Server-Simple-0.44.tar.gz b/HTTP-Server-Simple-0.44.tar.gz deleted file mode 100644 index 2a61bf1..0000000 --- a/HTTP-Server-Simple-0.44.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cff4f882da63a9a71271e25d1dc9160e64e5dd1195ed0a63894609ada7bb7416 -size 33804 diff --git a/HTTP-Server-Simple-0.50.tar.gz b/HTTP-Server-Simple-0.50.tar.gz new file mode 100644 index 0000000..b849046 --- /dev/null +++ b/HTTP-Server-Simple-0.50.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5bd8117f469f566f55ee12406a1f9e03942d6f64e42f6e7461051e738bc27602 +size 36290 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..ead7fab --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,20 @@ +--- +#description_paragraphs: 3 +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +preamble: |- + BuildRequires: netcfg +#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_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: - +#./Build build flags=%{?_smp_mflags} --myflag diff --git a/perl-HTTP-Server-Simple.changes b/perl-HTTP-Server-Simple.changes index 7fba594..c31ce03 100644 --- a/perl-HTTP-Server-Simple.changes +++ b/perl-HTTP-Server-Simple.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 14 18:05:28 UTC 2015 - coolo@suse.com + +- updated to 0.50 + see /usr/share/doc/packages/perl-HTTP-Server-Simple/Changes + ------------------------------------------------------------------- Mon Oct 15 10:43:06 UTC 2012 - coolo@suse.com diff --git a/perl-HTTP-Server-Simple.spec b/perl-HTTP-Server-Simple.spec index 6bf1e63..4641fac 100644 --- a/perl-HTTP-Server-Simple.spec +++ b/perl-HTTP-Server-Simple.spec @@ -1,7 +1,7 @@ # # spec file for package perl-HTTP-Server-Simple # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,55 +17,70 @@ Name: perl-HTTP-Server-Simple -%define real_name HTTP-Server-Simple +Version: 0.50 +Release: 0 +%define cpan_name HTTP-Server-Simple Summary: Lightweight HTTP server License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -Url: http://search.cpan.org/perldoc?HTTP::Server::Simple -Version: 0.44 -Release: 0 -Source: %{real_name}-%{version}.tar.gz -BuildRequires: perl-macros -BuildRequires: perl(Test::Pod) -BuildRequires: perl(Test::Pod::Coverage) -# MANUAL -BuildRequires: netcfg +Url: http://search.cpan.org/dist/HTTP-Server-Simple/ +Source0: http://www.cpan.org/authors/id/F/FA/FALCONE/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Socket) >= 1.94 +Requires: perl(Socket) >= 1.94 %{perl_requires} +# MANUAL BEGIN +BuildRequires: netcfg +# MANUAL END %description -This is a simple standalone HTTP server. By default, it doesn't thread or fork. -It does, however, act as a simple frontend which can be used to build a -standalone web-based application or turn a CGI into one. +This is a simple standalone HTTP server. By default, it doesn't thread or +fork. It does, however, act as a simple frontend which can be used to build +a standalone web-based application or turn a CGI into one. -It is possible to use Net::Server classes to create forking, pre-forking, and -other types of more complicated servers; see "net_server". +It is possible to use the Net::Server manpage classes to create forking, +pre-forking, and other types of more complicated servers; see the +/net_server manpage. -Author: -------- - Jesse Vincent, +By default, the server traps a few signals: +* HUP + + When you 'kill -HUP' the server, it lets the current request finish being + processed, then uses the 'restart' method to re-exec itself. Please note + that in order to provide restart-on-SIGHUP, HTTP::Server::Simple sets a + SIGHUP handler during initialisation. If your request handling code forks + you need to make sure you reset this or unexpected things will happen if + somebody sends a HUP to all running processes spawned by your app (e.g. + by "kill -HUP