From 370d5906ca26bf84a81eca3b186e219386e9b7ae1bfc706beea35a5457f08bdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tina=20M=C3=BCller?= Date: Mon, 26 Aug 2019 11:46:03 +0000 Subject: [PATCH] Accepting request 725886 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/725886 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-RSS?expand=0&rev=18 --- XML-RSS-1.60.tar.gz | 3 --- XML-RSS-1.61.tar.gz | 3 +++ perl-XML-RSS.changes | 13 +++++++++++++ perl-XML-RSS.spec | 39 +++++++++++++++++++++++++-------------- 4 files changed, 41 insertions(+), 17 deletions(-) delete mode 100644 XML-RSS-1.60.tar.gz create mode 100644 XML-RSS-1.61.tar.gz diff --git a/XML-RSS-1.60.tar.gz b/XML-RSS-1.60.tar.gz deleted file mode 100644 index 60be452..0000000 --- a/XML-RSS-1.60.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4b3359878bb1a2bc06dae7ed17b00143a2b89c814b8b12f6e2780f35b1528677 -size 130871 diff --git a/XML-RSS-1.61.tar.gz b/XML-RSS-1.61.tar.gz new file mode 100644 index 0000000..2596162 --- /dev/null +++ b/XML-RSS-1.61.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa6fe7ce5d31800a2bd414ef39da48c7f2b26b073a3c1f0d677bda26e840c90d +size 130950 diff --git a/perl-XML-RSS.changes b/perl-XML-RSS.changes index b7f79cf..ffe861a 100644 --- a/perl-XML-RSS.changes +++ b/perl-XML-RSS.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sun Aug 25 05:39:03 UTC 2019 - Stephan Kulow + +- updated to 1.61 + see /usr/share/doc/packages/perl-XML-RSS/Changes + + 1.61 2019-08-24 + - Clarified the docs regarding DateTime objects. + - Thanks to shtrb + - Add 2.0 to the version list, fix broken links to versions + - Thanks to E. Choroba + - Changed to explicit imports in "use" statements. + ------------------------------------------------------------------- Mon Mar 5 07:13:21 UTC 2018 - coolo@suse.com diff --git a/perl-XML-RSS.spec b/perl-XML-RSS.spec index 270ef3a..0d75df0 100644 --- a/perl-XML-RSS.spec +++ b/perl-XML-RSS.spec @@ -1,7 +1,7 @@ # # spec file for package perl-XML-RSS # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,18 +12,18 @@ # 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/ # Name: perl-XML-RSS -Version: 1.60 +Version: 1.61 Release: 0 %define cpan_name XML-RSS -Summary: Creates and Updates Rss Files +Summary: Creates and updates RSS files License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/XML-RSS/ +Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch @@ -45,15 +45,14 @@ Requires: perl(XML::Parser) %description This module provides a basic framework for creating and maintaining RDF Site Summary (RSS) files. This distribution also contains many examples -that allow you to generate HTML from an RSS, convert between 0.9, 0.91, and -1.0 version, and other nifty things. This might be helpful if you want to -include news feeds on your Web site from sources like Slashdot and +that allow you to generate HTML from an RSS, convert between 0.9, 0.91, +1.0, and 2.0 version, and other nifty things. This might be helpful if you +want to include news feeds on your Web site from sources like Slashdot and Freshmeat or if you want to syndicate your own content. -XML::RSS currently supports 0.9, 0.91, and 1.0 versions of RSS. See -http://backend.userland.com/rss091 for information on RSS 0.91. See -http://www.purplepages.ie/RSS/netscape/rss0.90.html for RSS 0.9. See -http://web.resource.org/rss/1.0/ for RSS 1.0. +XML::RSS currently supports versions at http://www.rssboard.org/rss-0-9-0, +at http://www.rssboard.org/rss-0-9-1, at http://web.resource.org/rss/1.0/, +and at http://www.rssboard.org/rss-2-0 of RSS. RSS was originally developed by Netscape as the format for Netscape Netcenter channels, however, many Web sites have since adopted it as a @@ -64,13 +63,25 @@ threaded messages, products catalogs, etc. *Note:* In order to parse and generate dates (such as 'pubDate' and 'dc:date') it is recommended to use DateTime::Format::Mail and DateTime::Format::W3CDTF , which is what XML::RSS uses internally and -requires. +requires. It should also be possible to pass DateTime objects which will be +formatted accordingly. E.g: + + use DateTime (); + + my $dt = DateTime->from_epoch(epoch => 1_500_000_000); + + $rss->channel( + pubDate => $dt, + . + . + . + ); %prep %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Build.PL installdirs=vendor +perl Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check