perl-Test-File/perl-Test-File.spec
wk333 1661b4bcfe Package upgrade
(cherry picked from commit 23b34933690095b31aecd7b6ff4c541a0b844b72)
2022-10-21 10:08:11 +08:00

59 lines
1.4 KiB
RPMSpec

%global debug_package %{nil}
%bcond_with test
Name: perl-Test-File
Version: 1.99.2
Release: 1
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.992.tar.gz
BuildArch: noarch
BuildRequires: make perl
%if %{with test}
BuildRequires: perl-Test-utf8
%endif
Provides: perl(Test::File) = 1.992
%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.992 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} -c %{buildroot}
%check
%if %{with test}
make test
%endif
%files
%doc README.pod Changes
%license LICENSE
%{perl_vendorlib}/Test/
%{_mandir}/man3/Test::File.3*
%changelog
* Tue Jun 14 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.99.2-1
- Upgrade to version 1.99.2
* Wed Jun 16 2021 wulei <wulei80@huawei.com> - 1.44.3-9
- fixes failed: perl command not found
* 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