From 5c69003b8cce33c3538015eff38ad1c25167932a Mon Sep 17 00:00:00 2001 From: Robin Norwood Date: Fri, 14 Dec 2007 16:58:38 +0000 Subject: [PATCH] Split Nameserver module out of main perl-Net-DNS package. --- perl-Net-DNS.spec | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/perl-Net-DNS.spec b/perl-Net-DNS.spec index 12bc1b0..c21cc2c 100644 --- a/perl-Net-DNS.spec +++ b/perl-Net-DNS.spec @@ -1,15 +1,18 @@ Name: perl-Net-DNS Version: 0.61 -Release: 2%{?dist} +Release: 3%{?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: perl(Digest::BubbleBabble) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + %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 @@ -19,6 +22,17 @@ 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 +License: GPL+ or Artistic + +%description Nameserver +Instances of the "Net::DNS::Nameserver" class represent DNS server +objects. + + %prep %setup -q -n Net-DNS-%{version} @@ -55,7 +69,23 @@ rm -rf $RPM_BUILD_ROOT %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 +%{perl_vendorarch}/Net/DNS/Nameserver.pm +%{_mandir}/man3/Net::DNS::Nameserver* + + %changelog +* Fri Dec 14 2007 Robin Norwood - 0.61-3 +- Split Nameserver.pm into subpackage, per recommendation from + upstream maintainer Dick Franks. + - Separates the server bits from the client bits. + - Removes the dependancy on perl(Net::IP) from perl-Net-DNS +- Add BR for perl(Test::Pod) and perl(Digest::BubbleBabble) + * Wed Oct 24 2007 Robin Norwood - 0.61-2 - Update license tag - Convert Changes to utf-8