- updated to 6.03

see /usr/share/doc/packages/perl-HTTP-Daemon/Changes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Daemon?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2019-04-02 05:25:46 +00:00 committed by Git OBS Bridge
parent 3dc3136620
commit 15fa755d02
4 changed files with 30 additions and 18 deletions

View File

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

3
HTTP-Daemon-6.03.tar.gz Normal file
View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Apr 2 05:25:21 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to 6.03
see /usr/share/doc/packages/perl-HTTP-Daemon/Changes
-------------------------------------------------------------------
Mon Feb 20 10:48:36 UTC 2012 - coolo@suse.com

View File

@ -17,14 +17,15 @@
Name: perl-HTTP-Daemon
Version: 6.01
Version: 6.03
Release: 0
%define cpan_name HTTP-Daemon
Summary: a simple http server class
Summary: Simple http server class
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/HTTP-Daemon/
Source: http://www.cpan.org/authors/id/G/GA/GAAS/%{cpan_name}-%{version}.tar.gz
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@ -34,10 +35,11 @@ BuildRequires: perl(HTTP::Request) >= 6
BuildRequires: perl(HTTP::Response) >= 6
BuildRequires: perl(HTTP::Status) >= 6
BuildRequires: perl(LWP::MediaTypes) >= 6
#BuildRequires: perl(HTTP::Daemon)
#BuildRequires: perl(LWP::RobotUA)
#BuildRequires: perl(LWP::UserAgent)
#BuildRequires: perl(URI)
BuildRequires: perl(LWP::RobotUA)
BuildRequires: perl(Module::Build::Tiny) >= 0.034
BuildRequires: perl(Module::Metadata)
BuildRequires: perl(Test::Needs)
BuildRequires: perl(URI)
Requires: perl(HTTP::Date) >= 6
Requires: perl(HTTP::Request) >= 6
Requires: perl(HTTP::Response) >= 6
@ -58,24 +60,28 @@ method on this object will read data from the client and return an
'HTTP::Request' object. The ClientConn object also provide methods to send
back various responses.
This HTTP daemon does not fork(2) for you. Your application, i.e. the user
of the 'HTTP::Daemon' is responsible for forking if that is desirable. Also
note that the user is responsible for generating responses that conform to
the HTTP/1.1 protocol.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
%{__make} test
./Build test
%install
%perl_make_install
%perl_process_packlist
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%doc Changes CONTRIBUTING LICENCE README
%changelog