Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
7d11112afd |
BIN
XML-Parser-2.46.tar.gz
(Stored with Git LFS)
BIN
XML-Parser-2.46.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,7 @@
|
|||||||
# - source1
|
# - source1
|
||||||
# - source2
|
# - source2
|
||||||
patches:
|
patches:
|
||||||
XML-Parser-2.40.diff:
|
XML-Parser-2.40.diff: -p0
|
||||||
# foo.patch: -p1
|
# foo.patch: -p1
|
||||||
# bar.patch:
|
# bar.patch:
|
||||||
preamble: |-
|
preamble: |-
|
||||||
@@ -19,7 +19,7 @@ post_prep: |-
|
|||||||
# rm unused.files
|
# rm unused.files
|
||||||
#post_install: |-
|
#post_install: |-
|
||||||
# sed on %{name}.files
|
# sed on %{name}.files
|
||||||
#license: SUSE-NonFree
|
license: Artistic-2.0
|
||||||
#skip_noarch: 1
|
#skip_noarch: 1
|
||||||
#custom_build: |-
|
#custom_build: |-
|
||||||
#./Build build flags=%{?_smp_mflags} --myflag
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
@@ -1,3 +1,34 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Thu Sep 26 09:30:17 UTC 2019 - Tina Mueller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-XML-Parser
|
# 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
|
# 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
|
||||||
@@ -16,22 +16,31 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-XML-Parser
|
|
||||||
Version: 2.46
|
|
||||||
Release: 0
|
|
||||||
%define cpan_name XML-Parser
|
%define cpan_name XML-Parser
|
||||||
|
Name: perl-XML-Parser
|
||||||
|
Version: 2.470.0
|
||||||
|
Release: 0
|
||||||
|
# 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
|
Summary: Perl module for parsing XML documents
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Group: Development/Libraries/Perl
|
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
Url: https://metacpan.org/release/%{cpan_name}
|
|
||||||
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{version}.tar.gz
|
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
Patch0: XML-Parser-2.40.diff
|
Patch0: XML-Parser-2.40.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(LWP::UserAgent)
|
BuildRequires: perl(LWP::UserAgent)
|
||||||
Requires: 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}
|
%{perl_requires}
|
||||||
# MANUAL BEGIN
|
# MANUAL BEGIN
|
||||||
BuildRequires: libexpat-devel
|
BuildRequires: libexpat-devel
|
||||||
@@ -57,16 +66,16 @@ When underlying handlers get called, they receive as their first parameter
|
|||||||
the _Expat_ object, not the Parser object.
|
the _Expat_ object, not the Parser object.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version} -p0
|
||||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
|
||||||
%patch0
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||||
# MANUAL BEGIN
|
# MANUAL BEGIN
|
||||||
chmod 644 samples/{canonical,xml*}
|
chmod 644 samples/{canonical,xml*}
|
||||||
# MANUAL END
|
# MANUAL END
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@@ -77,7 +86,7 @@ make test
|
|||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%doc Changes README README.md samples
|
||||||
%doc Changes README samples
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user