8
0

Compare commits

...

24 Commits

Author SHA256 Message Date
2bfb3bf049 Accepting request 1249251 from devel:languages:perl
- Fix license manually (module metadata is contradicting).

See also https://github.com/cpan-authors/XML-Parser/pull/99 (forwarded request 1249249 from tinita)

OBS-URL: https://build.opensuse.org/request/show/1249251
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=38
2025-03-01 18:16:11 +00:00
9df190f508 Accepting request 1249249 from home:tinita:branches:devel:languages:perl
- Fix license manually (module metadata is contradicting).

See also https://github.com/cpan-authors/XML-Parser/pull/99

OBS-URL: https://build.opensuse.org/request/show/1249249
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Parser?expand=0&rev=43
2025-02-28 13:54:13 +00:00
cff97d9f2b Accepting request 1216645 from devel:languages:perl
- Get package to show provides perl(XML::Parser::Expat) and other submodules

- Newer revision with my .spec comments cleaned up. (forwarded request 1208232 from joelgb)

OBS-URL: https://build.opensuse.org/request/show/1216645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=37
2024-10-22 12:51:06 +00:00
df457a2380 Accepting request 1208232 from home:joelgb:branches:home:Monex:stable
- Get package to show provides perl(XML::Parser::Expat) and other submodules

- Newer revision with my .spec comments cleaned up.

OBS-URL: https://build.opensuse.org/request/show/1208232
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Parser?expand=0&rev=41
2024-10-21 07:50:55 +00:00
35ba8aae5f Accepting request 1156572 from devel:languages:perl
- Fix disabling of __perllib_provides

OBS-URL: https://build.opensuse.org/request/show/1156572
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=36
2024-03-10 19:23:59 +00:00
6a8511c9ae Fix disabling of __perllib_provides
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Parser?expand=0&rev=39
2024-03-08 23:11:47 +00:00
bd3f502a21 Accepting request 1136806 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1136806
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=35
2024-01-05 20:39:39 +00:00
61212675e1 Accepting request 1136638 from devel:languages:perl:autoupdate
- updated to 2.47
   see /usr/share/doc/packages/perl-XML-Parser/Changes
  2.47 2023-12-28 (by Todd Rinaldo)
      - #84 use $fh instead of $foo
  	- #85 Fix typo in documentation
  	- #89 Devel::CheckLib to from 0.99 -> 1.14
  	- Devel::CheckLibn 1.16
  	- #91 POD fix for verbatim text
  	- #97 Add a LICENSE file
  	- #94 Don't ship Expat/Makefile
  	- Various github workflow improvements. Windows is still not working.

OBS-URL: https://build.opensuse.org/request/show/1136638
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Parser?expand=0&rev=37
2024-01-04 13:20:05 +00:00
9daad8fdf3 Accepting request 733384 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/733384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=34
2019-10-10 09:47:36 +00:00
7b4a7f29a9 Accepting request 733381 from devel:languages:perl:autoupdate
- Fix syntax for patch in cpanspec.yml
- updated to 2.46
   see /usr/share/doc/packages/perl-XML-Parser/Changes

OBS-URL: https://build.opensuse.org/request/show/733381
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Parser?expand=0&rev=35
2019-09-26 09:45:17 +00:00
f13e7ee627 Accepting request 726727 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/726727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=33
2019-09-11 08:15:39 +00:00
2b6ecd5264 Accepting request 284728 from devel:languages:perl
- avoid a cycle with LWP

- updated to 2.44
    - RT 99098 - Revert "Add more useful error message on parse to Expat". It breaks
      XML::Twig. Calling code will need to do this if it's needed.
    - RT 100959 - Add use FileHandle to t/astress.t - Make perl 5.10.0 happy.

- Update to version 2.43
  + POD patch to man from Debian via Nicholas Bamber
  + POD patch from Debian via gregor herrmann.
  + Add more useful error message on parse to Expat
  + Fix LWP dependency to be LWP::Useragent
  + Bump to 2.43 for overdue release to CPAN.
- Remove obsolete Authors section
- Remove redundant %clean section

OBS-URL: https://build.opensuse.org/request/show/284728
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=32
2015-02-11 15:31:54 +00:00
Stephan Kulow
71ad354c9a Accepting request 164082 from devel:languages:perl
- Add Source URL, see https://en.opensuse.org/SourceUrls (forwarded request 164068 from namtrac)

OBS-URL: https://build.opensuse.org/request/show/164082
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=29
2013-04-17 06:04:28 +00:00
Stephan Kulow
8cde1b7cd3 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=26
2011-12-06 17:49:52 +00:00
Stephan Kulow
24bffd230e Accepting request 92181 from devel:languages:perl
update

OBS-URL: https://build.opensuse.org/request/show/92181
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=25
2011-11-21 11:50:36 +00:00
Sascha Peilicke
ca7f98c0b8 Autobuild autoformatter for 80278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=23
2011-08-31 08:32:06 +00:00
Sascha Peilicke
710bef61de Accepting request 80278 from devel:languages:perl
Standardized "Authors:" format in description of perl-XML-Parser.spec (forwarded request 80254 from aturrini)

OBS-URL: https://build.opensuse.org/request/show/80278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=22
2011-08-31 08:31:58 +00:00
Sascha Peilicke
4d50f0f755 Autobuild autoformatter for 72747
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=21
2011-06-06 15:11:26 +00:00
Sascha Peilicke
725eeab47b Accepting request 72747 from devel:languages:perl
- update to 2.41
    - better installation instructions
    - Small spelling patches from Debian package - Thanks Nicholas Bamber
    - RT 68399 - Upgrade Devel::CheckLib to 0.93 to make it
      perl 5.14 compliant - qw()
    - RT 67207 - Stop doing tied on globs - Thanks sprout
    - RT 31319 - Fix doc links in POD for XML/Parser.pm

OBS-URL: https://build.opensuse.org/request/show/72747
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=20
2011-06-06 15:11:14 +00:00
Sascha Peilicke
7e4660a778 Autobuild autoformatter for 64336
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=19
2011-03-17 08:58:29 +00:00
Sascha Peilicke
e07f2bef60 Accepting request 64336 from devel:languages:perl
Accepted submit request 64336 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/64336
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=18
2011-03-17 08:58:22 +00:00
Berthold Gunreben
7471f7b082 Autobuild autoformatter for 55721
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=16
2010-12-13 11:30:09 +00:00
Berthold Gunreben
ecec7ad7cb Accepting request 55721 from devel:languages:perl
Accepted submit request 55721 from user coolo

OBS-URL: https://build.opensuse.org/request/show/55721
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=15
2010-12-13 11:29:55 +00:00
OBS User autobuild
a4fd4c258b Accepting request 48622 from devel:languages:perl
Copy from devel:languages:perl/perl-XML-Parser based on submit request 48622 from user anicka

OBS-URL: https://build.opensuse.org/request/show/48622
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Parser?expand=0&rev=14
2010-09-21 11:03:34 +00:00
5 changed files with 86 additions and 32 deletions

BIN
XML-Parser-2.44.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
XML-Parser-2.47.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -8,7 +8,9 @@
# - source1
# - source2
patches:
XML-Parser-2.40.diff
XML-Parser-2.40.diff: -p0
# foo.patch: -p1
# bar.patch:
preamble: |-
BuildRequires: libexpat-devel
post_prep: |-
@@ -17,7 +19,7 @@ post_prep: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
license: Artistic-2.0
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag

View File

@@ -1,3 +1,45 @@
-------------------------------------------------------------------
Fri Feb 28 13:47:22 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Fix license manually (module metadata is contradicting).
-------------------------------------------------------------------
Tue Oct 15 20:21:33 UTC 2024 - Joel Baltazor <obs@mtlfab.com>
- Get package to show provides perl(XML::Parser::Expat) and other submodules
-------------------------------------------------------------------
Fri Mar 8 23:11:44 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- Fix disabling of __perllib_provides
-------------------------------------------------------------------
Fri Dec 29 03:10:09 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 2.47
see /usr/share/doc/packages/perl-XML-Parser/Changes
2.47 2023-12-28 (by Todd Rinaldo)
- #84 use $fh instead of $foo
- #85 Fix typo in documentation
- #89 Devel::CheckLib to from 0.99 -> 1.14
- Devel::CheckLibn 1.16
- #91 POD fix for verbatim text
- #97 Add a LICENSE file
- #94 Don't ship Expat/Makefile
- Various github workflow improvements. Windows is still not working.
-------------------------------------------------------------------
Thu Sep 26 09:30:17 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
- Fix syntax for patch in cpanspec.yml
-------------------------------------------------------------------
Thu Sep 26 09:30:00 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
- updated to 2.46
see /usr/share/doc/packages/perl-XML-Parser/Changes
-------------------------------------------------------------------
Wed Aug 21 17:37:23 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-XML-Parser
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,57 +18,67 @@
%define cpan_name XML-Parser
Name: perl-XML-Parser
Version: 2.44
Version: 2.470.0
Release: 0
Summary: A perl module for parsing XML documents
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
# 2.47 -> normalize -> 2.470.0
%define cpan_version 2.47
#Upstream: Artistic-1.0 or GPL-1.0-or-later
License: Artistic-2.0
Summary: Perl module for parsing XML documents
URL: https://metacpan.org/release/%{cpan_name}
Source: https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Patch0: XML-Parser-2.40.diff
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
BuildRequires: perl(LWP::UserAgent)
Requires: perl(LWP::UserAgent)
Provides: perl(XML::Parser) = %{version}
Provides: perl(XML::Parser::Expat) = %{version}
Provides: perl(XML::Parser::Style::Debug)
Provides: perl(XML::Parser::Style::Objects)
Provides: perl(XML::Parser::Style::Stream)
Provides: perl(XML::Parser::Style::Subs)
Provides: perl(XML::Parser::Style::Tree)
%undefine __perllib_provides
%{perl_requires}
# MANUAL BEGIN
BuildRequires: libexpat-devel
# MANUAL END
%description
This module provides ways to parse XML documents. It is built on top of the
XML::Parser::Expat manpage, which is a lower level interface to James
Clark's expat library. Each call to one of the parsing methods creates a
new instance of XML::Parser::Expat which is then used to parse the
document. Expat options may be provided when the XML::Parser object is
created. These options are then passed on to the Expat object on each parse
call. They can also be given as extra arguments to the parse methods, in
which case they override options given at XML::Parser creation time.
This module provides ways to parse XML documents. It is built on top of
XML::Parser::Expat, which is a lower level interface to James Clark's expat
library. Each call to one of the parsing methods creates a new instance of
XML::Parser::Expat which is then used to parse the document. Expat options
may be provided when the XML::Parser object is created. These options are
then passed on to the Expat object on each parse call. They can also be
given as extra arguments to the parse methods, in which case they override
options given at XML::Parser creation time.
The behavior of the parser is controlled either by 'the /STYLES manpage'
and/or 'the /HANDLERS manpage' options, or by the /setHandlers manpage
method. These all provide mechanisms for XML::Parser to set the handlers
needed by XML::Parser::Expat. If neither 'Style' nor 'Handlers' are
specified, then parsing just checks the document for being well-formed.
The behavior of the parser is controlled either by 'STYLES' and/or
'HANDLERS' options, or by setHandlers method. These all provide mechanisms
for XML::Parser to set the handlers needed by XML::Parser::Expat. If
neither 'Style' nor 'Handlers' are specified, then parsing just checks the
document for being well-formed.
When underlying handlers get called, they receive as their first parameter
the _Expat_ object, not the Parser object.
%prep
%setup -q -n %{cpan_name}-%{version}
%patch0
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%autosetup -n %{cpan_name}-%{cpan_version} -p0
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -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}
%make_build
%check
make %{?_smp_mflags} test
make test
%install
%perl_make_install
@@ -76,7 +86,7 @@ make %{?_smp_mflags} test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README samples/
%doc Changes README README.md samples
%license LICENSE
%changelog