From e00d7f1472de05f6070dea7115ee261795a5935b Mon Sep 17 00:00:00 2001 From: lingsheng Date: Mon, 17 Aug 2020 11:14:20 +0800 Subject: [PATCH] Fix build fail --- perl-Test-File.spec | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/perl-Test-File.spec b/perl-Test-File.spec index 21e2074..469a3a6 100644 --- a/perl-Test-File.spec +++ b/perl-Test-File.spec @@ -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 - 1.44.3-8 +- Fix build fail + * Mon Jan 06 2020 Jiangping Hu - 1.44.3-7 - Package init