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