!6 perl-HTTP-Daemon

Merge pull request !6 from xinghe/master
This commit is contained in:
openeuler-ci-bot 2020-07-24 14:16:14 +08:00 committed by Gitee
commit 5c665e0d92
3 changed files with 18 additions and 8 deletions

Binary file not shown.

BIN
HTTP-Daemon-6.12.tar.gz Normal file

Binary file not shown.

View File

@ -1,16 +1,21 @@
Name: perl-HTTP-Daemon
Version: 6.01
Release: 26
Version: 6.12
Release: 1
Summary: A simple http server class
License: Artistic-1.0 or GPL-1.0+
Url: http://search.cpan.org/dist/HTTP-Daemon/
Source: http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Daemon-6.01.tar.gz
Source: http://www.cpan.org/authors/id/O/OA/OALDERS/HTTP-Daemon-6.12.tar.gz
BuildArch: noarch
BuildRequires: perl(Test::More)
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(HTTP::Request)
BuildRequires: perl(File::Spec)
BuildRequires: perl(HTTP::Tiny) >= 0.042
BuildRequires: perl(Module::Metadata)
BuildRequires: perl(Test::Needs)
Requires: perl(HTTP::Date) >= 6
Requires: perl(HTTP::Response) >= 6
@ -18,7 +23,7 @@ Requires: perl(HTTP::Status) >= 6
Requires: perl(IO::Socket)
Requires: perl(LWP::MediaTypes) >= 6
Requires: perl
Requires: perl(Sys::Hostname)
Requires: perl(IO::Socket::IP) >= 0.25
%description
@ -49,24 +54,29 @@ Development headers and libraries for perl-HTTP-Daemon.
%autosetup -n HTTP-Daemon-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
%{make_install}
%{_fixperms} %{buildroot}/*
%check
make test
%files
%license LICENCE
%defattr(-,root,root,755)
%doc Changes README
%doc Changes CONTRIBUTING README
%{perl_vendorlib}/*
%files help
%doc Changes README
%doc Changes CONTRIBUTING README
%{_mandir}/man3/*
%changelog
* Wed Jul 23 2020 xinghe <xinghe1@huawei.com> - 6.12-1
- update version to 6.12
* Mon Jan 6 2020 duyeyu <duyeyu@huawei.com> - 6.01-26
- Package init