update version

This commit is contained in:
zhouhaibo055 2020-07-23 21:10:30 +08:00
parent 3c3a103e19
commit 6e84bfb5e0
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 Name: perl-HTTP-Daemon
Version: 6.01 Version: 6.12
Release: 26 Release: 1
Summary: A simple http server class Summary: A simple http server class
License: Artistic-1.0 or GPL-1.0+ License: Artistic-1.0 or GPL-1.0+
Url: http://search.cpan.org/dist/HTTP-Daemon/ 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 BuildArch: noarch
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(HTTP::Request) 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::Date) >= 6
Requires: perl(HTTP::Response) >= 6 Requires: perl(HTTP::Response) >= 6
@ -18,7 +23,7 @@ Requires: perl(HTTP::Status) >= 6
Requires: perl(IO::Socket) Requires: perl(IO::Socket)
Requires: perl(LWP::MediaTypes) >= 6 Requires: perl(LWP::MediaTypes) >= 6
Requires: perl Requires: perl
Requires: perl(Sys::Hostname) Requires: perl(IO::Socket::IP) >= 0.25
%description %description
@ -49,24 +54,29 @@ Development headers and libraries for perl-HTTP-Daemon.
%autosetup -n HTTP-Daemon-%{version} -p1 %autosetup -n HTTP-Daemon-%{version} -p1
%build %build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build %make_build
%install %install
make pure_install DESTDIR=%{buildroot} %{make_install}
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
%check %check
make test make test
%files %files
%license LICENCE
%defattr(-,root,root,755) %defattr(-,root,root,755)
%doc Changes README %doc Changes CONTRIBUTING README
%{perl_vendorlib}/* %{perl_vendorlib}/*
%files help %files help
%doc Changes README %doc Changes CONTRIBUTING README
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %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 * Mon Jan 6 2020 duyeyu <duyeyu@huawei.com> - 6.01-26
- Package init - Package init