Hello community, here is the log from the commit of package perl-XML-Atom for openSUSE:Leap:15.2 checked in at 2020-02-21 10:49:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/perl-XML-Atom (Old) and /work/SRC/openSUSE:Leap:15.2/.perl-XML-Atom.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-Atom" Fri Feb 21 10:49:17 2020 rev:1 rq:775685 version:0.42 Changes: -------- New Changes file: --- /dev/null 2019-12-19 10:12:34.003146842 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.perl-XML-Atom.new.26092/perl-XML-Atom.changes 2020-02-21 10:49:18.290915958 +0100 @@ -0,0 +1,105 @@ +------------------------------------------------------------------- +Mon Feb 10 11:52:48 UTC 2020 - Stephan Kulow <[email protected]> + +- add fix-tests.patch to fix build with latest libxml::xml + +------------------------------------------------------------------- +Thu Nov 8 17:11:26 UTC 2018 - Dirk Stoecker <[email protected]> + +- Fix Build: Add d2c045a8ca0d0ca147b04bc9e7c70b27db8cc4e1.patch + +------------------------------------------------------------------- +Tue May 16 07:05:49 UTC 2017 - [email protected] + +- updated to 0.42 + see /usr/share/doc/packages/perl-XML-Atom/Changes + + 0.42 2017-05-12 14:33:09 JST + * Doc fixes + * Remove encoding pragma to support latest version of perl + https://rt.cpan.org/Ticket/Display.html?id=115101 + +------------------------------------------------------------------- +Tue Apr 14 18:22:03 UTC 2015 - [email protected] + +- updated to 0.41 + see /usr/share/doc/packages/perl-XML-Atom/Changes + + 0.41 2011.09.26 + * Added a dependency to DateTime::TimeZone (leto) + + 0.40 2011.09.18 + * Fixed tests for Windows (wchristian) + * use all upper case UTF-8 (tsgit) + + 0.39 2011.06.20 + * Disabled external entities and network to avoid possible security flaw (yannk) + + 0.38 2011.05.22 + * Fixed a bug where content with newlines wasn't encoded in perl >= 5.12 (emasaka) + https://rt.cpan.org/Public/Bug/Display.html?id=61637 + +------------------------------------------------------------------- +Tue Apr 14 18:22:01 UTC 2015 - [email protected] + +- updated to 0.41 + see /usr/share/doc/packages/perl-XML-Atom/Changes + + 0.41 2011.09.26 + * Added a dependency to DateTime::TimeZone (leto) + + 0.40 2011.09.18 + * Fixed tests for Windows (wchristian) + * use all upper case UTF-8 (tsgit) + + 0.39 2011.06.20 + * Disabled external entities and network to avoid possible security flaw (yannk) + + 0.38 2011.05.22 + * Fixed a bug where content with newlines wasn't encoded in perl >= 5.12 (emasaka) + https://rt.cpan.org/Public/Bug/Display.html?id=61637 + +------------------------------------------------------------------- +Wed Dec 1 13:36:08 UTC 2010 - [email protected] + +- switch to perl_requires macro + +------------------------------------------------------------------- +Mon Nov 29 18:32:26 UTC 2010 - [email protected] + +- remove /var/adm/perl-modules + +------------------------------------------------------------------- +Tue Aug 31 23:07:40 UTC 2010 - [email protected] + +- update to 0.37: + * fixed accessors for source elements + +- changes from 0.36: + * fixed various dependency issues RT #23538, #34481, #52519, #41058 + +- changes from 0.34: + * fixed $entry->source support + +- changes from 0.33: + * client: Send WSSE auth header only when username is set + +- changes from 0.32: + * added base and lang to Entry and Feed object. Fixed xml:base attributes + +- changes from 0.31: + * update Content-Type in XML::Atom::Client when the entity's version >= 1.0 + +- changes from 0.30: + * hopefully fix a bug where xml:base returns an empty string + e.g. http://www.nntp.perl.org/group/perl.cpan.testers/2008/11/msg2595696.html + +- changes from 0.29: + * skips Unicode tests since it doesn't pass with some libxml versions (and it's not actually a bug) + +------------------------------------------------------------------- +Tue Jul 22 00:00:00 UTC 2008 - [email protected] + +- new package (0.28) + + New: ---- XML-Atom-0.42.tar.gz cpanspec.yml d2c045a8ca0d0ca147b04bc9e7c70b27db8cc4e1.patch fix-tests.patch perl-XML-Atom.changes perl-XML-Atom.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-XML-Atom.spec ++++++ # # spec file for package perl-XML-Atom # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: perl-XML-Atom Version: 0.42 Release: 0 %define cpan_name XML-Atom Summary: Atom feed and API implementation License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl 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 Patch0: d2c045a8ca0d0ca147b04bc9e7c70b27db8cc4e1.patch Patch1: fix-tests.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::Data::Inheritable) BuildRequires: perl(DateTime) BuildRequires: perl(DateTime::TimeZone) BuildRequires: perl(Digest::SHA1) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59 BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Module::Build::Tiny) >= 0.034 BuildRequires: perl(URI) BuildRequires: perl(XML::LibXML) >= 1.69 BuildRequires: perl(XML::XPath) Requires: perl(Class::Data::Inheritable) Requires: perl(DateTime) Requires: perl(DateTime::TimeZone) Requires: perl(Digest::SHA1) Requires: perl(LWP::UserAgent) Requires: perl(URI) Requires: perl(XML::LibXML) >= 1.69 Requires: perl(XML::XPath) %{perl_requires} %description Atom is a syndication, API, and archiving format for weblogs and other data. _XML::Atom_ implements the feed format as well as a client for the API. %prep %setup -q -n %{cpan_name}-%{version} %patch0 -p1 %patch1 -p1 %build perl Build.PL --installdirs=vendor ./Build build --flags=%{?_smp_mflags} %check ./Build test %install ./Build install --destdir=%{buildroot} --create_packlist=0 %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README %license LICENSE %changelog ++++++ cpanspec.yml ++++++ --- #description_paragraphs: 3 #description: |- # override description from CPAN #summary: override summary from CPAN #no_testing: broken upstream #sources: # - source1 # - source2 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: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL #post_build: |- # rm unused.files #post_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module ++++++ d2c045a8ca0d0ca147b04bc9e7c70b27db8cc4e1.patch ++++++ >From d2c045a8ca0d0ca147b04bc9e7c70b27db8cc4e1 Mon Sep 17 00:00:00 2001 From: Kent Fredric <[email protected]> Date: Mon, 26 Mar 2018 23:28:08 +1300 Subject: [PATCH] Fix tests failing without '.' in @INC Bug: https://github.com/miyagawa/xml-atom/issues/12 Bug: https://github.com/miyagawa/xml-atom/pull/14 --- t/11-entry.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/11-entry.t b/t/11-entry.t index bbcb107..5955e97 100644 --- a/t/11-entry.t +++ b/t/11-entry.t @@ -2,7 +2,7 @@ use strict; -use t::TestLib; +BEGIN { require './t/TestLib.pm'; t::TestLib->import() } use Test::More; use XML::Atom; use XML::Atom::Entry; ++++++ 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;
