Fix file ownership for Nameserver subpackage Fix argument order for find

with -depth
This commit is contained in:
Paul Howarth 2007-12-21 14:01:41 +00:00
parent 5c69003b8c
commit 9300792688

View File

@ -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 <paul@city-fan.org> - 0.61-4
- Fix file ownership for Nameserver subpackage
- Fix argument order for find with -depth
* Fri Dec 14 2007 Robin Norwood <rnorwood@redhat.com> - 0.61-3
- Split Nameserver.pm into subpackage, per recommendation from
upstream maintainer Dick Franks.