automatic version update by autodist [release 1.30-1mamba;Tue Mar 30 2021]
This commit is contained in:
parent
b806354d08
commit
a59dc28713
@ -1,14 +1,14 @@
|
|||||||
%define PERL_VERSION %(eval `perl -V:version`; echo $version)
|
%define PERL_VERSION %(eval `perl -V:version`; echo $version)
|
||||||
Name: perl-Net-DNS
|
Name: perl-Net-DNS
|
||||||
Version: 0.83
|
Version: 1.30
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: A DNS resolver implemented in Perl
|
Summary: A DNS resolver implemented in Perl
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-%{version}.tar.gz
|
Source: https://cpan.metacpan.org/modules/by-module/Net/Net-DNS-%{version}.tar.gz
|
||||||
URL: http://www.cpan.org
|
URL: https://www.cpan.org
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -20,7 +20,6 @@ BuildRequires: perl-Net-IP >= 1.25
|
|||||||
BuildRequires: perl-Digest-BubbleBabble >= 0.01
|
BuildRequires: perl-Digest-BubbleBabble >= 0.01
|
||||||
BuildRequires: perl-Test-Pod >= 1.20
|
BuildRequires: perl-Test-Pod >= 1.20
|
||||||
Requires: perl >= %PERL_VERSION
|
Requires: perl >= %PERL_VERSION
|
||||||
BuildRoot: %{_tmppath}/perl-root
|
|
||||||
|
|
||||||
%description
|
%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
|
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
|
%make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
test x"$RPM_BUILD_ROOT" != x/ && rm -rf "$RPM_BUILD_ROOT"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall_perl
|
%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
|
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
||||||
rm -rf $RPM_BUILD_ROOT%PERL_SITEARCH/Net/DNS/Resolver/Win32.pm
|
for dir in `find %{buildroot} -type d | grep $strid`; do
|
||||||
|
echo "%dir ${dir#%buildroot}" >> .packlist
|
||||||
cat $RPM_BUILD_ROOT%PERL_SITEARCH/auto/Net/DNS/.packlist | \
|
done
|
||||||
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
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
test x"$RPM_BUILD_ROOT" != x/ && rm -rf "$RPM_BUILD_ROOT"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
rm -f .packlist
|
rm -f .packlist
|
||||||
|
|
||||||
%files -f .packlist
|
%files -f .packlist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.83-2mamba
|
||||||
- perl 5.24 mass rebuild
|
- perl 5.24 mass rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user