8
0
Stephan Kulow
2017-09-24 06:39:33 +00:00
committed by Git OBS Bridge
parent 382d5d6987
commit b9fadf6a39
3 changed files with 22 additions and 8 deletions

13
no-more-encoding.diff Normal file
View File

@@ -0,0 +1,13 @@
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;

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Sep 24 06:39:10 UTC 2017 - coolo@suse.com
- add no-more-encoding.diff to fix test with perl 5.26
(https://rt.cpan.org/Public/Bug/Display.html?id=115098)
-------------------------------------------------------------------
Tue Aug 6 22:46:18 UTC 2013 - rcurtis@suse.com

View File

@@ -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 @@ Version: 0.14
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 @@ Requires: perl(XML::XPathEngine) >= 0.1
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 <mirod@cpan.org>
%prep
%setup -q -n %{cpan_name}-%{version}
%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -68,9 +66,6 @@ Authors:
%{__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