Split Nameserver module out of main perl-Net-DNS package.

This commit is contained in:
Robin Norwood 2007-12-14 16:58:38 +00:00
parent a967b01763
commit 5c69003b8c

View File

@ -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 <rnorwood@redhat.com> - 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 <rnorwood@redhat.com> - 0.61-2
- Update license tag
- Convert Changes to utf-8