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
|
||||
# - source2
|
||||
patches:
|
||||
XML-Parser-2.40.diff:
|
||||
XML-Parser-2.40.diff: -p0
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
preamble: |-
|
||||
@@ -19,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,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>
|
||||
|
||||
|
@@ -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
|
||||
@@ -16,22 +16,31 @@
|
||||
#
|
||||
|
||||
|
||||
Name: perl-XML-Parser
|
||||
Version: 2.46
|
||||
Release: 0
|
||||
%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
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{version}.tar.gz
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
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
|
||||
@@ -57,16 +66,16 @@ 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}
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
%patch0
|
||||
%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 test
|
||||
@@ -77,7 +86,7 @@ make 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