upgrade to 0.49 and spec file cleanup (#153186)

This commit is contained in:
Warren Togami 2005-04-02 11:43:18 +00:00
parent aca2ee76f2
commit 3e1e43e509
3 changed files with 24 additions and 34 deletions

View File

@ -1,2 +1,3 @@
Net-DNS-0.45.tar.gz
Net-DNS-0.48.tar.gz
Net-DNS-0.49.tar.gz

View File

@ -1,20 +1,17 @@
%define _use_internal_dependency_generator 0
Name: perl-Net-DNS
Version: 0.48
Release: 4
Version: 0.49
Release: 1
Summary: Net-DNS Perl module
License: Distributable
License: Artistic or GPL
Group: Development/Libraries
URL: http://search.cpan.org/search?mode=module&query=Net%3a%3aDNS
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: perl >= 0:5.00503
Source0: Net-DNS-%{version}.tar.gz
Source1: filter-depends.sh
BuildRequires: perl-Digest-HMAC
URL: http://www.net-dns.org/
Source0: http://search.cpan.org/CPAN/authors/id/O/OL/OLAF/Net-DNS-%{version}.tar.gz
Source1: filter-requires.sh
BuildRequires: perl >= 0:5.00503, perl-Digest-HMAC
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%define __find_requires %{SOURCE1}
%define __perl_requires %{SOURCE1}
%description
Net::DNS is a collection of Perl modules that act as a Domain Name
@ -29,36 +26,28 @@ packet and its various sections. See RFC 1035 or DNS and BIND (Albitz
%setup -q -n Net-DNS-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor < /dev/null
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT%{_prefix} INSTALLDIRS=vendor < /dev/null
make
make test || :
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -f {} \;
%clean
rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
eval `perl '-V:installarchlib'`
mkdir -p $RPM_BUILD_ROOT/$installarchlib
make install
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
find $RPM_BUILD_ROOT/usr -type f -print | \
sed "s@^$RPM_BUILD_ROOT@@g" | \
grep -v perllocal.pod | \
grep -v "\.packlist" > Net-DNS-%{version}-filelist
if [ "$(cat Net-DNS-%{version}-filelist)X" = "X" ] ; then
echo "ERROR: EMPTY FILE LIST"
exit -1
fi
%files -f Net-DNS-%{version}-filelist
%files
%defattr(-,root,root)
%doc README
%{perl_vendorarch}/Net/
%{perl_vendorarch}/auto/Net/
%{_mandir}/man3/Net::DNS*.3pm.gz
%changelog
* Wed Mar 30 2005 Warren Togami <wtogami@redhat.com>
- remove brp-compress
* Sat Apr 02 2005 Robert Scheck <redhat@linuxnetz.de> 0.49-1
- upgrade to 0.49 and spec file cleanup (#153186)
* Thu Mar 17 2005 Warren Togami <wtogami@redhat.com> 0.48-3
- reinclude ia64, thanks jvdias

View File

@ -1 +1 @@
bd5bab1de250b947a3f00148d426f2e2 Net-DNS-0.48.tar.gz
715867bb21dda8995e8978a1b96a424d Net-DNS-0.49.tar.gz