Package init
This commit is contained in:
parent
290bda676f
commit
27b54d9932
BIN
Net-DNS-Resolver-Mock-1.20171219.tar.gz
Normal file
BIN
Net-DNS-Resolver-Mock-1.20171219.tar.gz
Normal file
Binary file not shown.
51
perl-Net-DNS-Resolver-Mock.spec
Normal file
51
perl-Net-DNS-Resolver-Mock.spec
Normal file
@ -0,0 +1,51 @@
|
||||
Name: perl-Net-DNS-Resolver-Mock
|
||||
Version: 1.20171219
|
||||
Release: 5
|
||||
Summary: A subclass for mocking a DNS Resolver object
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Net-DNS-Resolver-Mock
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/MB/MBRADSHAW/Net-DNS-Resolver-Mock-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: make perl-generators perl-interpreter perl >= 0:5.006
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 perl(strict) perl(warnings)
|
||||
BuildRequires: perl(Net::DNS::Packet) perl(Net::DNS::Question)
|
||||
BuildRequires: perl(Net::DNS::Resolver) perl(Net::DNS::ZoneFile) perl(Test::More)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
The perl-Net-DNS-Resolver-Mock package contains a subclass of
|
||||
Net::DNS::Resolver which mocks a DNS Resolver object primarily used
|
||||
for testing.
|
||||
|
||||
%package help
|
||||
Summary: Documents for perl-Net-DNS-Resolver-Mock
|
||||
|
||||
%description help
|
||||
The perl-Net-DNS-Resolver-Mock-help package contains related documents.
|
||||
|
||||
%prep
|
||||
%autosetup -n Net-DNS-Resolver-Mock-%{version} -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc README LICENSE
|
||||
%{perl_vendorlib}/*
|
||||
|
||||
%files help
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 21 2020 Jiangping Hu <hujp1985@foxmail.com> - 1.20171219-5
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user