automatic version update by autodist [release 1.30-1mamba;Tue Mar 30 2021]

This commit is contained in:
Automatic Build System 2024-01-06 09:23:14 +01:00
parent b806354d08
commit a59dc28713

View File

@ -1,14 +1,14 @@
%define PERL_VERSION %(eval `perl -V:version`; echo $version)
Name: perl-Net-DNS
Version: 0.83
Release: 2mamba
Version: 1.30
Release: 1mamba
Summary: A DNS resolver implemented in Perl
Group: Development/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
Source: http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-%{version}.tar.gz
URL: http://www.cpan.org
Source: https://cpan.metacpan.org/modules/by-module/Net/Net-DNS-%{version}.tar.gz
URL: https://www.cpan.org
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -20,7 +20,6 @@ BuildRequires: perl-Net-IP >= 1.25
BuildRequires: perl-Digest-BubbleBabble >= 0.01
BuildRequires: perl-Test-Pod >= 1.20
Requires: perl >= %PERL_VERSION
BuildRoot: %{_tmppath}/perl-root
%description
Net::DNS is a DNS resolver implemented in Perl. It allows the programmer to perform nearly any type of DNS query from a Perl
@ -35,29 +34,33 @@ echo "y" | perl Makefile.PL
%make test
%install
test x"$RPM_BUILD_ROOT" != x/ && rm -rf "$RPM_BUILD_ROOT"
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
%define PERL_SITEARCH %(eval `perl -V:sitearch`; echo $sitearch)
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm $packlist
# remove win32 module
rm -rf $RPM_BUILD_ROOT%PERL_SITEARCH/Net/DNS/Resolver/Win32.pm
cat $RPM_BUILD_ROOT%PERL_SITEARCH/auto/Net/DNS/.packlist | \
sed "s@$RPM_BUILD_ROOT@@g;s@.*/man/.*@&.gz@g" | \
grep -v "Win32.pm" | \
sort -u > .packlist
rm -f $RPM_BUILD_ROOT%PERL_SITEARCH/auto/Net/DNS/.packlist
rm -f %{buildroot}%{perl_sitearch}/Net/DNS/Resolver/MSWin32.pm
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist
done
%clean
test x"$RPM_BUILD_ROOT" != x/ && rm -rf "$RPM_BUILD_ROOT"
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist
%files -f .packlist
%defattr(-,root,root)
%changelog
* Tue Mar 30 2021 Automatic Build System <autodist@mambasoft.it> 1.30-1mamba
- automatic version update by autodist
* Fri Feb 26 2021 Automatic Build System <autodist@mambasoft.it> 1.29-1mamba
- automatic version update by autodist
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.83-2mamba
- perl 5.24 mass rebuild