package init
This commit is contained in:
parent
5846e5e108
commit
65d4bf2fa8
BIN
Test-File-1.443.tar.gz
Normal file
BIN
Test-File-1.443.tar.gz
Normal file
Binary file not shown.
50
perl-Test-File.spec
Normal file
50
perl-Test-File.spec
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
%global debug_package %{nil}
|
||||||
|
%bcond_with test
|
||||||
|
|
||||||
|
Name: perl-Test-File
|
||||||
|
Version: 1.44.3
|
||||||
|
Release: 7
|
||||||
|
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
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Test-File-1.443.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: make
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: perl-Test-utf8
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Provides: perl(Test::File) = 1.443
|
||||||
|
|
||||||
|
%description
|
||||||
|
The perl-Test-File package contains the Test::File perl module, which
|
||||||
|
provides convenience test functions to check file attributes and data
|
||||||
|
in a Test::More fashion.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n Test-File-1.443 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
find %{buildroot} -name "perllocal.pod" -delete
|
||||||
|
find %{buildroot} -name ".packlist" -delete
|
||||||
|
|
||||||
|
%check
|
||||||
|
%if %{with test}
|
||||||
|
make test
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.pod Changes
|
||||||
|
%license LICENSE
|
||||||
|
/usr/local/share/perl5/Test/File.pm
|
||||||
|
/usr/local/share/man/man3/Test::File.3pm
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jan 06 2020 Jiangping Hu <hujp1985@foxmail.com> - 1.44.3-7
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user