From 6b62e2d6b7da41c57e6145213355512705303f10 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:23:38 +0100 Subject: [PATCH] update to 0.009 [release 0.009-1mamba;Mon Jan 10 2022] --- perl-Net-DNS-Resolver-Programmable.spec | 27 +++++++++++++++---------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/perl-Net-DNS-Resolver-Programmable.spec b/perl-Net-DNS-Resolver-Programmable.spec index fc0c89e..d62476d 100644 --- a/perl-Net-DNS-Resolver-Programmable.spec +++ b/perl-Net-DNS-Resolver-Programmable.spec @@ -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 -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 0.009-1mamba +- update to 0.009 + * Wed Sep 12 2018 Automatic Build System 0.003.1-1mamba - automatic update by autodist