forked from pool/perl-XML-Parser
Compare commits
24 Commits
e577712fb8
...
2bfb3bf049
Author | SHA256 | Date | |
---|---|---|---|
2bfb3bf049 | |||
9df190f508 | |||
cff97d9f2b | |||
df457a2380 | |||
35ba8aae5f | |||
6a8511c9ae | |||
bd3f502a21 | |||
61212675e1 | |||
9daad8fdf3 | |||
7b4a7f29a9 | |||
f13e7ee627 | |||
2b6ecd5264 | |||
|
71ad354c9a | ||
|
8cde1b7cd3 | ||
|
24bffd230e | ||
|
ca7f98c0b8 | ||
|
710bef61de | ||
|
4d50f0f755 | ||
|
725eeab47b | ||
|
7e4660a778 | ||
|
e07f2bef60 | ||
|
7471f7b082 | ||
|
ecec7ad7cb | ||
|
a4fd4c258b |
BIN
XML-Parser-2.44.tar.gz
(Stored with Git LFS)
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
BIN
XML-Parser-2.47.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -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
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user