diff --git a/Test-File-1.443.tar.gz b/Test-File-1.443.tar.gz new file mode 100644 index 0000000..eb0e3f6 Binary files /dev/null and b/Test-File-1.443.tar.gz differ diff --git a/perl-Test-File.spec b/perl-Test-File.spec new file mode 100644 index 0000000..21e2074 --- /dev/null +++ b/perl-Test-File.spec @@ -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 - 1.44.3-7 +- Package init