init package
This commit is contained in:
parent
0a5652962f
commit
492cf2d5ec
BIN
Test-File-Contents-0.23.tar.gz
Normal file
BIN
Test-File-Contents-0.23.tar.gz
Normal file
Binary file not shown.
57
perl-Test-File-Contents.spec
Normal file
57
perl-Test-File-Contents.spec
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
Name: perl-Test-File-Contents
|
||||||
|
Version: 0.23
|
||||||
|
Release: 1
|
||||||
|
Summary: Test routines for examining the contents of files
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
URL: https://metacpan.org/release/Test-File-Contents
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/D/DW/DWHEELER/Test-File-Contents-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
# Build
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
# Runtime
|
||||||
|
BuildRequires: perl(Digest::MD5)
|
||||||
|
BuildRequires: perl(Exporter)
|
||||||
|
BuildRequires: perl(File::Spec)
|
||||||
|
BuildRequires: perl(Test::Builder) >= 0.70
|
||||||
|
BuildRequires: perl(Text::Diff) >= 0.35
|
||||||
|
# Tests only
|
||||||
|
BuildRequires: perl(Test::Builder::Tester)
|
||||||
|
BuildRequires: perl(Test::Builder::Tester::Color)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(utf8)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
||||||
|
Requires: perl(Test::Builder) >= 0.70
|
||||||
|
Requires: perl(Text::Diff) >= 0.35
|
||||||
|
|
||||||
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Test::Builder\\)$
|
||||||
|
%global __requires_exclude %__requires_exclude|^perl\\(Text::Diff\\)$
|
||||||
|
|
||||||
|
%description
|
||||||
|
Test routines for examining the contents of files.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Test-File-Contents-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Build.PL installdirs=vendor
|
||||||
|
./Build
|
||||||
|
|
||||||
|
%install
|
||||||
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
|
%{_fixperms} %{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
./Build test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc Changes README
|
||||||
|
%{perl_vendorlib}/Test/
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Nov 02 2022 wangziliang <wangziliang@kylinos.cn> - 0.23-1
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user