Hello community,
here is the log from the commit of package perl-XML-SAX-Expat for
openSUSE:Factory checked in at 2018-07-28 12:37:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-XML-SAX-Expat (Old)
and /work/SRC/openSUSE:Factory/.perl-XML-SAX-Expat.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-SAX-Expat"
Sat Jul 28 12:37:45 2018 rev:5 rq:624065 version:0.51
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-XML-SAX-Expat/perl-XML-SAX-Expat.changes
2014-03-27 06:08:50.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-XML-SAX-Expat.new/perl-XML-SAX-Expat.changes
2018-07-28 12:37:49.148128028 +0200
@@ -1,0 +2,5 @@
+Thu Jul 19 12:13:09 UTC 2018 - [email protected]
+
+- install the parser into ParserDetails.ini
+
+-------------------------------------------------------------------
New:
----
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-XML-SAX-Expat.spec ++++++
--- /var/tmp/diff_new_pack.XsSFMA/_old 2018-07-28 12:37:49.896129465 +0200
+++ /var/tmp/diff_new_pack.XsSFMA/_new 2018-07-28 12:37:49.900129472 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-XML-SAX-Expat
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -21,10 +21,11 @@
Release: 0
%define cpan_name XML-SAX-Expat
Summary: SAX2 Driver for Expat (XML::Parser)
-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-SAX-Expat/
-Source:
http://www.cpan.org/authors/id/B/BJ/BJOERN/%{cpan_name}-%{version}.tar.gz
+Source0:
https://cpan.metacpan.org/authors/id/B/BJ/BJOERN/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -45,14 +46,14 @@
updated.
It is still incomplete, though most of the basic SAX2 events should be
-available. The SAX2 spec is currently available from the
-http://perl-xml.sourceforge.net/perl-sax/ manpage.
+available. The SAX2 spec is currently available from
+http://perl-xml.sourceforge.net/perl-sax/.
A more friendly URL as well as a PODification of the spec are in the works.
%prep
%setup -q -n %{cpan_name}-%{version}
-find . -type f -print0 | xargs -0 chmod 644
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -66,6 +67,9 @@
%perl_process_packlist
%perl_gen_filelist
+%post
+perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::Expat))->save_parsers()"
+
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#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
post_section: |-
perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::Expat))->save_parsers()"