!2 version update

Merge pull request !2 from zhanzhimin/master
This commit is contained in:
openeuler-ci-bot 2020-07-31 14:27:17 +08:00 committed by Gitee
commit 38396c6be6
3 changed files with 11 additions and 9 deletions

Binary file not shown.

BIN
LWP-MediaTypes-6.04.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,12 @@
Name: perl-LWP-MediaTypes
Version: 6.02
Release: 17
Version: 6.04
Release: 1
Summary: Guess media type for a file or a URL
License: (GPL+ or Artistic) and Public Domain
URL: https://metacpan.org/release/LWP-MediaTypes
Source0: https://cpan.metacpan.org/authors/id/G/GA/GAAS/LWP-MediaTypes-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-MediaTypes-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-generators perl(Exporter) perl(ExtUtils::MakeMaker) perl(File::Basename) perl(Test)
BuildRequires: make perl-generators perl-interpreter perl(ExtUtils::MakeMaker) perl(strict) perl(warnings) sed perl(Carp) perl(Exporter) perl(File::Basename) perl(Scalar::Util) perl(File::Spec) perl(overload) perl(Test::Fatal) perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(File::Basename) mailcap
Conflicts: perl-libwww-perl < 6
@ -29,18 +28,18 @@ Documentation for perl-LWP-MediaTypes.
%autosetup -n LWP-MediaTypes-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{make_install}
%{__chmod} -Rf a+rX,u+w,g-w,o-w $RPM_BUILD_ROOT/*
%check
make test
%files
%license LICENSE
%{perl_vendorlib}/*
%exclude %{_libdir}/perl5/perllocal.pod
@ -49,6 +48,9 @@ make test
%{_mandir}/man3/*
%changelog
* Sat Jul 25 2020 zhanzhimin <zhanzhimin@huawei.com> - 6.04-1
- 6.04 bump
* Fri Oct 25 2019 Zaiwang Li <lizaiwang1@huawei.com> - 6.02-17
- Init Package.