Hello community,
here is the log from the commit of package perl-XML-Parser for openSUSE:Factory
checked in at 2019-09-11 10:15:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-XML-Parser (Old)
and /work/SRC/openSUSE:Factory/.perl-XML-Parser.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-Parser"
Wed Sep 11 10:15:39 2019 rev:33 rq:726727 version:2.44
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-XML-Parser/perl-XML-Parser.changes
2015-02-11 16:31:55.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-XML-Parser.new.7948/perl-XML-Parser.changes
2019-09-11 10:15:44.243545427 +0200
@@ -1,0 +2,17 @@
+Wed Aug 21 17:37:23 UTC 2019 - Pedro Monreal Gonzalez
<[email protected]>
+
+- Add cpanspec.yml file
+
+-------------------------------------------------------------------
+Wed Aug 21 16:40:21 UTC 2019 - Pedro Monreal Gonzalez
<[email protected]>
+
+- Remove not needed files in doc section [bsc#1146634]
+- Fix permissions in samples directory
+
+-------------------------------------------------------------------
+Wed Aug 21 15:21:44 UTC 2019 - Pedro Monreal Gonzalez
<[email protected]>
+
+- Updated spec file with spec-celaner
+- Use https and metacpan release
+
+-------------------------------------------------------------------
New:
----
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-XML-Parser.spec ++++++
--- /var/tmp/diff_new_pack.CJXkvq/_old 2019-09-11 10:15:45.999545209 +0200
+++ /var/tmp/diff_new_pack.CJXkvq/_new 2019-09-11 10:15:46.035545205 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-XML-Parser
#
-# Copyright (c) 2015 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,27 +12,29 @@
# 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/
#
+%define cpan_name XML-Parser
Name: perl-XML-Parser
Version: 2.44
Release: 0
-%define cpan_name XML-Parser
Summary: A perl module for parsing XML documents
-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-Parser/
-Source:
http://www.cpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{version}.tar.gz
+URL: https://metacpan.org/release/%{cpan_name}
+Source:
https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
Patch0: XML-Parser-2.40.diff
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
-# MANUAL
+BuildRequires: perl(LWP::UserAgent)
+Requires: perl(LWP::UserAgent)
+# MANUAL BEGIN
BuildRequires: libexpat-devel
-Recommends: perl(LWP::UserAgent)
+# MANUAL END
%description
This module provides ways to parse XML documents. It is built on top of the
@@ -56,14 +58,17 @@
%prep
%setup -q -n %{cpan_name}-%{version}
%patch0
-find . -type f -print0 | xargs -0 chmod 644
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
+# MANUAL BEGIN
+chmod 644 samples/{canonical,xml*}
+# MANUAL END
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
%check
-%{__make} test
+make %{?_smp_mflags} test
%install
%perl_make_install
@@ -72,6 +77,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes Expat Parser README samples
+%doc Changes README samples/
%changelog
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
patches:
XML-Parser-2.40.diff
preamble: |-
BuildRequires: libexpat-devel
post_prep: |-
chmod 644 samples/{canonical,xml*}
#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