diff --git a/perl-Net-DNS.spec b/perl-Net-DNS.spec index c21cc2c..a1ca98d 100644 --- a/perl-Net-DNS.spec +++ b/perl-Net-DNS.spec @@ -1,6 +1,6 @@ Name: perl-Net-DNS Version: 0.61 -Release: 3%{?dist} +Release: 4%{?dist} Summary: DNS resolver modules for Perl License: GPL+ or Artistic Group: Development/Libraries @@ -45,7 +45,7 @@ rm -rf $RPM_BUILD_ROOT 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 -type d -depth -exec rmdir {} 2>/dev/null ';' +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* for i in Changes; do @@ -74,11 +74,16 @@ rm -rf $RPM_BUILD_ROOT %exclude %{_mandir}/man3/Net::DNS::Nameserver* %files Nameserver +%defattr(-,root,root) %{perl_vendorarch}/Net/DNS/Nameserver.pm %{_mandir}/man3/Net::DNS::Nameserver* %changelog +* Fri Dec 21 2007 Paul Howarth - 0.61-4 +- Fix file ownership for Nameserver subpackage +- Fix argument order for find with -depth + * Fri Dec 14 2007 Robin Norwood - 0.61-3 - Split Nameserver.pm into subpackage, per recommendation from upstream maintainer Dick Franks.