perl-Net-DNS-Nameserver subpackage?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I got an email from one of the maintainers of Net::DNS (Dick Franks)
about one of my recent changelog entries.  I had (incorrectly) removed
perl(Net::IP) from the BuildRequires because I read in the upstream
changelog that it was no longer required.  I had to revert that change
because it *was* still required by Net::DNS::Nameserver.  Dick suggested
that I could split Net::DNS::Nameserver out into a subpackage.
Net::DNS::Nameserver is what you expect it is - a simple DNS server.

I don't know if it's worth it, or if it's wise this late in the release
cycle for F8.  What do y'all think?

Here's the patch:

? .build-0.61-1.fc8.log
? .build-0.61-2.fc8.log
? Net-DNS-0.60.tar.gz
? Net-DNS-0.61
? i386
? perl-Net-DNS-0.61-1.fc8.src.rpm
? perl-Net-DNS-0.61-2.fc8.src.rpm
Index: perl-Net-DNS.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Net-DNS/devel/perl-Net-DNS.spec,v
retrieving revision 1.33
diff -u -r1.33 perl-Net-DNS.spec
--- perl-Net-DNS.spec	10 Aug 2007 04:18:22 -0000	1.33
+++ perl-Net-DNS.spec	4 Sep 2007 14:52:51 -0000
@@ -1,8 +1,8 @@
 Name: perl-Net-DNS
 Version: 0.61
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: DNS resolver modules for Perl
-License: GPL or Artistic
+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
@@ -19,6 +19,17 @@
 packet and its various sections. See RFC 1035 or DNS and BIND (Albitz
 & Liu) for details.
 
+%package Nameserver
+Summary:        DNS server module
+Group:          Development/Libraries
+License:        GPL+ or Artistic
+Requires:       perl(Net::DNS) = %{version}-%{release}
+
+%description Nameserver
+Instances of the "Net::DNS::Nameserver" class represent DNS server
+objects.  The nameserver will listen for both UDP and TCP connections.
+
+
 %prep
 %setup -q -n Net-DNS-%{version} 
 
@@ -51,7 +62,22 @@
 %exclude %{_mandir}/man3/Net::DNS::Resolver::Cygwin.3*
 %exclude %{_mandir}/man3/Net::DNS::Resolver::Win32.3*
 
+# 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
+* Tue Sep 04 2007 Robin Norwood <rnorwood@xxxxxxxxxx> - 0.61-2
+- Split Net::DNS::Nameserver into subpackage
+- Update license tag
+
 * Thu Aug 09 2007 Robin Norwood <rnorwood@xxxxxxxxxx> - 0.61-1
 - Update to latest upstream version
 
perl(Net::IP) is still a BuildRequire, but not a requirement for the
base package any longer.  It makes sense to split out 'Server' bits, but
OTOH, it's just one .pm file and a small dep.

-RN

-- 
Robin Norwood
Red Hat, Inc.

"The Sage does nothing, yet nothing remains undone."
-Lao Tzu, Te Tao Ching

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux