forked from pool/perl-XML-RSS
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
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4b3359878bb1a2bc06dae7ed17b00143a2b89c814b8b12f6e2780f35b1528677
|
|
||||||
size 130871
|
|
||||||
3
XML-RSS-1.61.tar.gz
Normal file
3
XML-RSS-1.61.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fa6fe7ce5d31800a2bd414ef39da48c7f2b26b073a3c1f0d677bda26e840c90d
|
||||||
|
size 130950
|
||||||
@@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 25 05:39:03 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||||
|
|
||||||
|
- 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
|
Mon Mar 5 07:13:21 UTC 2018 - coolo@suse.com
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-XML-RSS
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
Name: perl-XML-RSS
|
||||||
Version: 1.60
|
Version: 1.61
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name XML-RSS
|
%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
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
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
|
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -45,15 +45,14 @@ Requires: perl(XML::Parser)
|
|||||||
%description
|
%description
|
||||||
This module provides a basic framework for creating and maintaining RDF
|
This module provides a basic framework for creating and maintaining RDF
|
||||||
Site Summary (RSS) files. This distribution also contains many examples
|
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
|
that allow you to generate HTML from an RSS, convert between 0.9, 0.91,
|
||||||
1.0 version, and other nifty things. This might be helpful if you want to
|
1.0, and 2.0 version, and other nifty things. This might be helpful if you
|
||||||
include news feeds on your Web site from sources like Slashdot and
|
want to include news feeds on your Web site from sources like Slashdot and
|
||||||
Freshmeat or if you want to syndicate your own content.
|
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
|
XML::RSS currently supports versions at http://www.rssboard.org/rss-0-9-0,
|
||||||
http://backend.userland.com/rss091 for information on RSS 0.91. See
|
at http://www.rssboard.org/rss-0-9-1, at http://web.resource.org/rss/1.0/,
|
||||||
http://www.purplepages.ie/RSS/netscape/rss0.90.html for RSS 0.9. See
|
and at http://www.rssboard.org/rss-2-0 of RSS.
|
||||||
http://web.resource.org/rss/1.0/ for RSS 1.0.
|
|
||||||
|
|
||||||
RSS was originally developed by Netscape as the format for Netscape
|
RSS was originally developed by Netscape as the format for Netscape
|
||||||
Netcenter channels, however, many Web sites have since adopted it as a
|
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
|
*Note:* In order to parse and generate dates (such as 'pubDate' and
|
||||||
'dc:date') it is recommended to use DateTime::Format::Mail and
|
'dc:date') it is recommended to use DateTime::Format::Mail and
|
||||||
DateTime::Format::W3CDTF , which is what XML::RSS uses internally 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
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor
|
perl Build.PL installdirs=vendor
|
||||||
./Build build flags=%{?_smp_mflags}
|
./Build build flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
|||||||
Reference in New Issue
Block a user