From be08445daeed6bc284facd3c77f3031c7de19fac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 2 Feb 2012 13:16:51 +0100 Subject: [PATCH] 0.68 bump --- .gitignore | 1 + perl-Net-DNS.spec | 60 ++++++++++++++++++++++++++++------------------- sources | 2 +- 3 files changed, 38 insertions(+), 25 deletions(-) diff --git a/.gitignore b/.gitignore index 73de035..40e607f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ Net-DNS-0.65.tar.gz /Net-DNS-0.66.tar.gz /Net-DNS-0.67.tar.gz +/Net-DNS-0.68.tar.gz diff --git a/perl-Net-DNS.spec b/perl-Net-DNS.spec index e15fab2..295aea3 100644 --- a/perl-Net-DNS.spec +++ b/perl-Net-DNS.spec @@ -1,19 +1,35 @@ Name: perl-Net-DNS -Version: 0.67 -Release: 2%{?dist} +Version: 0.68 +Release: 1%{?dist} Summary: DNS resolver modules for Perl License: GPL+ or Artistic Group: Development/Libraries URL: http://www.net-dns.org/ Source0: http://www.cpan.org/authors/id/O/OL/OLAF/Net-DNS-%{version}.tar.gz -BuildRequires: perl(Digest::HMAC), perl(ExtUtils::MakeMaker), perl(Test::More), perl(Net::IP) -BuildRequires: perl(Test::Pod) +BuildRequires: %{_bindir}/iconv +BuildRequires: perl(base) +BuildRequires: perl(constant) +BuildRequires: perl(Carp) +BuildRequires: perl(Data::Dumper) BuildRequires: perl(Digest::BubbleBabble) +BuildRequires: perl(Digest::HMAC_MD5) +BuildRequires: perl(Digest::SHA) +BuildRequires: perl(Encode) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Select) +BuildRequires: perl(IO::Socket) +BuildRequires: perl(IO::Socket::INET) BuildRequires: perl(IO::Socket::INET6) -BuildRequires: perl(Socket6) +BuildRequires: perl(MIME::Base64) +BuildRequires: perl(Net::IP) +BuildRequires: perl(Socket) +BuildRequires: perl(Text::ParseWords) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - %description Net::DNS is a collection of Perl modules that act as a Domain Name System (DNS) resolver. It allows the programmer to perform DNS queries @@ -23,7 +39,6 @@ The programmer should be somewhat familiar with the format of a DNS packet and its various sections. See RFC 1035 or DNS and BIND (Albitz & Liu) for details. - %package Nameserver Summary: DNS server for Perl Group: Development/Libraries @@ -40,29 +55,24 @@ objects. %build export PERL_MM_USE_DEFAULT=yes -%{__perl} Makefile.PL INSTALLDIRS=vendor --no-online-tests -make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS" +perl Makefile.PL INSTALLDIRS=vendor --no-online-tests +make %{?_smp_mflags} OPTIMIZE="%{optflags}" %install -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* - +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' +chmod -R u+w %{buildroot}/* for i in Changes; do - /usr/bin/iconv -f iso8859-1 -t utf-8 $i > $i.conv && /bin/mv -f $i.conv $i + iconv -f iso8859-1 -t utf-8 $i > $i.conv && /bin/mv -f $i.conv $i done %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root) -%doc README Changes TODO +%doc README Changes TODO demo %{perl_vendorarch}/Net/ %exclude %{perl_vendorarch}/Net/DNS/Resolver/Cygwin.pm %exclude %{perl_vendorarch}/Net/DNS/Resolver/Win32.pm @@ -70,18 +80,20 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/Net::DNS*.3* %exclude %{_mandir}/man3/Net::DNS::Resolver::Cygwin.3* %exclude %{_mandir}/man3/Net::DNS::Resolver::Win32.3* - # perl-Net-DNS-Nameserver %exclude %{perl_vendorarch}/Net/DNS/Nameserver.pm %exclude %{_mandir}/man3/Net::DNS::Nameserver* %files Nameserver -%defattr(-,root,root) %{perl_vendorarch}/Net/DNS/Nameserver.pm %{_mandir}/man3/Net::DNS::Nameserver* - %changelog +* Thu Feb 02 2012 Petr Ĺ abata - 0.68-1 +- 0.68 bump +- Spec cleanup +- Package 'demo' as documentation + * Fri Jan 13 2012 Fedora Release Engineering - 0.67-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index 30226a1..9e8f3ab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8caf473b6f74cae38ee18c162041a5db Net-DNS-0.67.tar.gz +05c0f6955747758bb5c9578d9bc6c3a5 Net-DNS-0.68.tar.gz