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