Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37040703
en ru br
Репозитории ALT
S:1.40-alt1
5.1: 0.65-alt1
4.1: 0.63-alt1
4.0: 0.60-alt1
+updates:0.60-alt1
3.0: 0.49-alt1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-Net-DNS

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
# BEGIN SourceDeps(oneline):
BuildRequires: perl(IO/Socket/IP.pm)
# END SourceDeps(oneline)
%define module Net-DNS

# hack to save perl autodep finder from crashing (suggested by Alexey Tourbin)

%define __spec_autodep_custom_pre export PERL5OPT='-I%buildroot%perl_vendor_privlib -MNet::DNS'

Name: perl-%module
Version: 1.40
Release: alt1

Packager: Vladimir Didenko <cow at altlinux.org>

Summary: Net::DNS is a DNS resolver implemented in Perl
License: Perl
Group: Development/Perl
BuildArch: noarch

Url: %CPAN %module
# another URL: http://www.net-dns.org/
Source0: http://www.cpan.org/authors/id/N/NL/NLNETLABS/%{module}-%{version}.tar.gz

# Automatically added by buildreq on Fri Oct 07 2011

BuildRequires: perl-Digest-BubbleBabble perl-Digest-HMAC perl-IO-Socket-INET6 perl-Net-IP perl-Test-Pod

%description
Net::DNS is a DNS resolver implemented in Perl. It allows the programmer to
perform nearly any type of DNS query from a Perl script.

%prep
%setup -q -n %{module}-%{version}

# Fix test that will not succeed in Sisyphus build environment.

#sed -i- 's/tests=>12/tests=>11/; s/use Net::DNS::Nameserver;/exit;/' t/11-inet6.t

# Try to fix another failing test.

#sed -i- '/sock->sockaddr/s/;/ if $sock;/' t/01-resolver.t

%build
%perl_vendor_build --no-online-tests

%install
%perl_vendor_install

%files
%doc Changes README demo contrib
%perl_vendor_privlib/Net
#%perl_vendor_autolib/Net
# no more installed
#exclude %perl_vendor_archlib/Net/DNS/Resolver/Cygwin.pm
#exclude %perl_vendor_archlib/Net/DNS/Resolver/Win32.pm

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin