Hello community,

here is the log from the commit of package perl-XML-Atom for openSUSE:Factory 
checked in at 2020-02-10 21:54:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-XML-Atom (Old)
 and      /work/SRC/openSUSE:Factory/.perl-XML-Atom.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-XML-Atom"

Mon Feb 10 21:54:53 2020 rev:2 rq:772659 version:0.42

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-XML-Atom/perl-XML-Atom.changes      
2019-05-06 21:17:01.077036318 +0200
+++ /work/SRC/openSUSE:Factory/.perl-XML-Atom.new.26092/perl-XML-Atom.changes   
2020-02-10 21:54:58.982242717 +0100
@@ -1,0 +2,5 @@
+Mon Feb 10 11:52:48 UTC 2020 - Stephan Kulow <co...@suse.com>
+
+- add fix-tests.patch to fix build with latest libxml::xml
+
+-------------------------------------------------------------------

New:
----
  fix-tests.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-XML-Atom.spec ++++++
--- /var/tmp/diff_new_pack.gfxU3I/_old  2020-02-10 21:54:59.970243263 +0100
+++ /var/tmp/diff_new_pack.gfxU3I/_new  2020-02-10 21:54:59.974243265 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-XML-Atom
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,13 +21,13 @@
 Release:        0
 %define cpan_name XML-Atom
 Summary:        Atom feed and API implementation
-License:        Artistic-1.0 or GPL-1.0+
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/XML-Atom/
+URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
-# Patch-Fix-UPSTREAM https://github.com/miyagawa/xml-atom/issues/12
-Patch1:         d2c045a8ca0d0ca147b04bc9e7c70b27db8cc4e1.patch
+Patch0:         d2c045a8ca0d0ca147b04bc9e7c70b27db8cc4e1.patch
+Patch1:         fix-tests.patch
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -59,10 +59,11 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
+%patch0 -p1
 %patch1 -p1
 
 %build
-%{__perl} Build.PL --installdirs=vendor
+perl Build.PL --installdirs=vendor
 ./Build build --flags=%{?_smp_mflags}
 
 %check

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.gfxU3I/_old  2020-02-10 21:54:59.994243276 +0100
+++ /var/tmp/diff_new_pack.gfxU3I/_new  2020-02-10 21:54:59.998243279 +0100
@@ -7,9 +7,10 @@
 #sources:
 #  - source1
 #  - source2
-#patches:
-#  foo.patch: -p1
-#  bar.patch:
+patches:
+  # Patch-Fix-UPSTREAM https://github.com/miyagawa/xml-atom/issues/12
+  d2c045a8ca0d0ca147b04bc9e7c70b27db8cc4e1.patch: -p1
+  fix-tests.patch: -p1
 #preamble: |-
 # BuildRequires:  gcc-c++
 #post_prep: |-

++++++ fix-tests.patch ++++++
# See https://github.com/miyagawa/xml-atom/issues/18

Index: XML-Atom-0.42/t/31-external-entities-libxml.t
===================================================================
--- XML-Atom-0.42.orig/t/31-external-entities-libxml.t
+++ XML-Atom-0.42/t/31-external-entities-libxml.t
@@ -50,7 +50,7 @@ EOX
 
 ## custom parser
 {
-    my $libxml = XML::LibXML->new;
+    my $libxml = XML::LibXML->new(expand_xinclude => 1, expand_entities => 1, 
load_ext_dtd    => 1);
     my $entry = XML::Atom::Entry->new(Stream => \$xml, Parser => $libxml);
     is $entry->title, "Guest Author", "got title";
     my $content = $entry->content->body;

Reply via email to