upgrade to 0.49 and spec file cleanup (#153186)
This commit is contained in:
parent
aca2ee76f2
commit
3e1e43e509
@ -1,2 +1,3 @@
|
||||
Net-DNS-0.45.tar.gz
|
||||
Net-DNS-0.48.tar.gz
|
||||
Net-DNS-0.49.tar.gz
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user