Hello community,
here is the log from the commit of package perl-Net-DNS-Resolver-Programmable
for openSUSE:Factory checked in at 2015-01-03 22:03:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Net-DNS-Resolver-Programmable (Old)
and /work/SRC/openSUSE:Factory/.perl-Net-DNS-Resolver-Programmable.new
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Net-DNS-Resolver-Programmable"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.changes
2011-09-23 12:38:13.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Net-DNS-Resolver-Programmable.new/perl-Net-DNS-Resolver-Programmable.changes
2015-01-03 22:03:02.000000000 +0100
@@ -1,0 +2,7 @@
+Mon Dec 29 13:00:45 UTC 2014 - [email protected]
+
+- Add Net-DNS-Resolver-Net-DNS-0.75.patch: Deal with changes in
+ Net::DNS 0.75.
+ https://rt.cpan.org/Public/Bug/Display.html?id=95901
+
+-------------------------------------------------------------------
New:
----
Net-DNS-Resolver-Net-DNS-0.75.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Net-DNS-Resolver-Programmable.spec ++++++
--- /var/tmp/diff_new_pack.m5G1e3/_old 2015-01-03 22:03:03.000000000 +0100
+++ /var/tmp/diff_new_pack.m5G1e3/_new 2015-01-03 22:03:03.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package perl-Net-DNS-Resolver-Programmable (Version 0.003)
+# spec file for package perl-Net-DNS-Resolver-Programmable
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,18 +15,17 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
Name: perl-Net-DNS-Resolver-Programmable
%define cpan_name Net-DNS-Resolver-Programmable
Summary: Programmable DNS resolver class for offline emulation of DNS
-Version: 0.003
-Release: 4
License: Artistic-1.0
Group: Development/Libraries/Perl
+Version: 0.003
+Release: 0
Url: http://search.cpan.org/dist/Net-DNS-Resolver-Programmable
Source:
http://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/net-dns-resolver-programmable/Net-DNS-Resolver-Programmable-v0.003.tar.gz
+Patch0: Net-DNS-Resolver-Net-DNS-0.75.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
@@ -49,6 +48,7 @@
%prep
%setup -q -n %{cpan_name}-v%{version}
+%patch0 -p1
%build
%{__perl} Build.PL --prefix $RPM_BUILD_ROOT/usr --installdirs vendor
++++++ Net-DNS-Resolver-Net-DNS-0.75.patch ++++++
Description: deal with changes in Net::DNS >= 0.75
Origin: CPAN RT
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=95901
Bug-Debian: https://bugs.debian.org/752988
Author: Willen <[email protected]>
Reviewed-by: gregor herrmann <[email protected]>
Last-Update: 2014-06-29
--- a/lib/Net/DNS/Resolver/Programmable.pm
+++ b/lib/Net/DNS/Resolver/Programmable.pm
@@ -204,8 +204,10 @@
if (defined(my $resolver_code = $self->{resolver_code})) {
($result, $aa, @answer_rrs) = $resolver_code->($domain, $rr_type,
$class);
}
-
- if (not defined($result) or defined($Net::DNS::rcodesbyname{$result})) {
+
+ if (not defined($result)
+ or defined($Net::DNS::rcodesbyname{$result})
+ or defined($Net::DNS::Parameters::rcodebyname{$result})) {
# Valid RCODE, return a packet:
$aa = TRUE if not defined($aa);
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]