Hello community,
here is the log from the commit of package perl-XML-DOM-XPath for
openSUSE:Factory checked in at 2017-09-25 13:59:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-XML-DOM-XPath (Old)
and /work/SRC/openSUSE:Factory/.perl-XML-DOM-XPath.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-DOM-XPath"
Mon Sep 25 13:59:45 2017 rev:5 rq:528474 version:0.14
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-XML-DOM-XPath/perl-XML-DOM-XPath.changes
2013-08-11 11:20:58.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-XML-DOM-XPath.new/perl-XML-DOM-XPath.changes
2017-09-25 13:59:48.263559588 +0200
@@ -1,0 +2,6 @@
+Sun Sep 24 06:39:10 UTC 2017 - [email protected]
+
+- add no-more-encoding.diff to fix test with perl 5.26
+ (https://rt.cpan.org/Public/Bug/Display.html?id=115098)
+
+-------------------------------------------------------------------
New:
----
no-more-encoding.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-XML-DOM-XPath.spec ++++++
--- /var/tmp/diff_new_pack.Ymf7Dg/_old 2017-09-25 13:59:48.915467867 +0200
+++ /var/tmp/diff_new_pack.Ymf7Dg/_new 2017-09-25 13:59:48.919467304 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-XML-DOM-XPath
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,7 @@
Release: 0
Url: http://search.cpan.org/dist/XML-DOM-XPath/
Source:
http://www.cpan.org/modules/by-module/XML/XML-DOM-XPath-%{version}.tar.gz
+Patch0: no-more-encoding.diff
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: perl >= 5.16
@@ -45,12 +46,9 @@
XML::DOM::XPath allows you to use XML::XPath methods to query a DOM. This
is often much easier than relying only on getElementsByTagName.
-Authors:
---------
- Michel Rodriguez <[email protected]>
-
%prep
%setup -q -n %{cpan_name}-%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -68,9 +66,6 @@
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist
-%clean
-%{__rm} -rf $RPM_BUILD_ROOT
-
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes README
++++++ no-more-encoding.diff ++++++
Index: XML-DOM-XPath-0.14/t/test_non_ascii.t
===================================================================
--- XML-DOM-XPath-0.14.orig/t/test_non_ascii.t
+++ XML-DOM-XPath-0.14/t/test_non_ascii.t
@@ -7,7 +7,7 @@ use strict;
use Test::More tests => 10;
use XML::DOM::XPath;
-use encoding 'utf8';
+use utf8;
my $display_warning=0;