update to 0.009 [release 0.009-1mamba;Mon Jan 10 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 09:23:38 +01:00
parent ab36536552
commit 6b62e2d6b7

View File

@ -1,35 +1,37 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Net-DNS-Resolver-Programmable
Version: 0.003.1
Version: 0.009
Release: 1mamba
Summary: Net::DNS::Resolver::Programmable - programmable DNS resolver class for offline emulation of DNS
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/net-dns-resolver-programmable/Net-DNS-Resolver-Programmable-v%{version}.tar.gz
URL: https://www.cpan.org/
Source: https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/Net-DNS-Resolver-Programmable-%{version}.tar.gz
License: GPL, Artistic
Requires: perl >= %perl_major_ver
BuildRequires: perl-devel >= %perl_major_ver
## AUTOBUILDREQ-BEGIN
BuildRequires: perl-Net-DNS
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: perl-version >= 0.7203
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: perl >= %perl_major_ver
%description
Net::DNS::Resolver::Programmable - programmable DNS resolver class for offline emulation of DNS.
%prep
%setup -q -n Net-DNS-Resolver-Programmable-v%{version}
%setup -q -n Net-DNS-Resolver-Programmable-%{version}
%build
perl Build.PL INSTALLDIRS=vendor
./Build
./Build test
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
./Build install destdir="%{buildroot}"
%makeinstall_perl
# cleanup unpackaged files
find %{buildroot} \
@ -53,6 +55,9 @@ rm -f .packlist
%defattr(-,root,root)
%changelog
* Mon Jan 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.009-1mamba
- update to 0.009
* Wed Sep 12 2018 Automatic Build System <autodist@mambasoft.it> 0.003.1-1mamba
- automatic update by autodist