Hello community,
here is the log from the commit of package perl-HTTP-Server-Simple for
openSUSE:Factory checked in at 2015-04-16 14:14:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-HTTP-Server-Simple (Old)
and /work/SRC/openSUSE:Factory/.perl-HTTP-Server-Simple.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-HTTP-Server-Simple"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-HTTP-Server-Simple/perl-HTTP-Server-Simple.changes
2012-10-16 07:13:35.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-HTTP-Server-Simple.new/perl-HTTP-Server-Simple.changes
2015-04-16 14:14:06.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Apr 14 18:05:28 UTC 2015 - [email protected]
+
+- updated to 0.50
+ see /usr/share/doc/packages/perl-HTTP-Server-Simple/Changes
+
+-------------------------------------------------------------------
Old:
----
HTTP-Server-Simple-0.44.tar.gz
New:
----
HTTP-Server-Simple-0.50.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-HTTP-Server-Simple.spec ++++++
--- /var/tmp/diff_new_pack.aSoP45/_old 2015-04-16 14:14:06.000000000 +0200
+++ /var/tmp/diff_new_pack.aSoP45/_new 2015-04-16 14:14:06.000000000 +0200
@@ -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.
-
-It is possible to use Net::Server classes to create forking, pre-forking, and
-other types of more complicated servers; see "net_server".
-
-Author:
--------
- Jesse Vincent, <[email protected]>
-
+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 the Net::Server manpage classes to create forking,
+pre-forking, and other types of more complicated servers; see the
+/net_server manpage.
+
+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 <script>")
+
+* PIPE
+
+ If the server detects a broken pipe while writing output to the client,
+ it ignores the signal. Otherwise, a client closing the connection early
+ could kill the server.
%prep
-%setup -q -n %{real_name}-%{version}
+%setup -q -n %{cpan_name}-%{version}
%build
-perl Makefile.PL
-make %{?jobs:-j%jobs}
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
%check
-make test
+%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
-%clean
-rm -rf %{buildroot}
-
%files -f %{name}.files
-%defattr(-, root, root)
-%doc Changes README MANIFEST SIGNATURE ex
+%defattr(-,root,root,755)
+%doc Changes README
%changelog
++++++ HTTP-Server-Simple-0.44.tar.gz -> HTTP-Server-Simple-0.50.tar.gz ++++++
++++ 1638 lines of diff (skipped)
++++++ cpanspec.yml ++++++
---
#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