!5 Fix build fail

Merge pull request !5 from ultra_planet/master
This commit is contained in:
openeuler-ci-bot 2020-08-17 11:28:10 +08:00 committed by Gitee
commit a960ff7b72

View File

@ -3,7 +3,7 @@
Name: perl-Test-File
Version: 1.44.3
Release: 7
Release: 8
Summary: A Perl module which provides test functions to check file attributes and data
License: Artistic License 2.0 or GPL+
URL: https://metacpan.org/release/Test-File
@ -26,13 +26,12 @@ in a Test::More fashion.
%autosetup -n Test-File-1.443 -p1
%build
perl Makefile.PL
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
find %{buildroot} -name "perllocal.pod" -delete
find %{buildroot} -name ".packlist" -delete
%{_fixperms} -c %{buildroot}
%check
%if %{with test}
@ -42,9 +41,12 @@ make test
%files
%doc README.pod Changes
%license LICENSE
/usr/local/share/perl5/Test/File.pm
/usr/local/share/man/man3/Test::File.3pm
%{perl_vendorlib}/Test/
%{_mandir}/man3/Test::File.3*
%changelog
* Mon Aug 17 2020 lingsheng <lingsheng@huawei.com> - 1.44.3-8
- Fix build fail
* Mon Jan 06 2020 Jiangping Hu <hujp1985@foxmail.com> - 1.44.3-7
- Package init