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.45.tar.gz
|
||||||
Net-DNS-0.48.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
|
Name: perl-Net-DNS
|
||||||
Version: 0.48
|
Version: 0.49
|
||||||
Release: 4
|
Release: 1
|
||||||
Summary: Net-DNS Perl module
|
Summary: Net-DNS Perl module
|
||||||
License: Distributable
|
License: Artistic or GPL
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/search?mode=module&query=Net%3a%3aDNS
|
URL: http://www.net-dns.org/
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
Source0: http://search.cpan.org/CPAN/authors/id/O/OL/OLAF/Net-DNS-%{version}.tar.gz
|
||||||
BuildRequires: perl >= 0:5.00503
|
Source1: filter-requires.sh
|
||||||
Source0: Net-DNS-%{version}.tar.gz
|
BuildRequires: perl >= 0:5.00503, perl-Digest-HMAC
|
||||||
Source1: filter-depends.sh
|
|
||||||
BuildRequires: perl-Digest-HMAC
|
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%define __find_requires %{SOURCE1}
|
%define __perl_requires %{SOURCE1}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Net::DNS is a collection of Perl modules that act as a Domain Name
|
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}
|
%setup -q -n Net-DNS-%{version}
|
||||||
|
|
||||||
%build
|
%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
|
||||||
make test || :
|
make test || :
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
%makeinstall
|
||||||
|
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -f {} \;
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%install
|
%files
|
||||||
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
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%doc README
|
||||||
|
%{perl_vendorarch}/Net/
|
||||||
|
%{perl_vendorarch}/auto/Net/
|
||||||
|
%{_mandir}/man3/Net::DNS*.3pm.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Mar 30 2005 Warren Togami <wtogami@redhat.com>
|
* Sat Apr 02 2005 Robert Scheck <redhat@linuxnetz.de> 0.49-1
|
||||||
- remove brp-compress
|
- upgrade to 0.49 and spec file cleanup (#153186)
|
||||||
|
|
||||||
* Thu Mar 17 2005 Warren Togami <wtogami@redhat.com> 0.48-3
|
* Thu Mar 17 2005 Warren Togami <wtogami@redhat.com> 0.48-3
|
||||||
- reinclude ia64, thanks jvdias
|
- reinclude ia64, thanks jvdias
|
||||||
|
Loading…
Reference in New Issue
Block a user