Sync from SUSE:SLFO:Main perl-XML-Parser revision 2bd4de4bab0a467b9c4507621711fd60
This commit is contained in:
commit
cb95863cff
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
32
XML-Parser-2.40.diff
Normal file
32
XML-Parser-2.40.diff
Normal file
@ -0,0 +1,32 @@
|
||||
--- samples/canonical
|
||||
+++ samples/canonical
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/local/bin/perl -w
|
||||
+#!/usr/bin/perl -w
|
||||
#
|
||||
# Copyright 1999 Clark Cooper <coopercc@netheaven.com>
|
||||
# All rights reserved.
|
||||
--- samples/xmlcomments
|
||||
+++ samples/xmlcomments
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/local/bin/perl -w
|
||||
+#!/usr/bin/perl -w
|
||||
#
|
||||
# $Revision: 1.1.1.1 $
|
||||
#
|
||||
--- samples/xmlfilter
|
||||
+++ samples/xmlfilter
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/local/bin/perl -w
|
||||
+#!/usr/bin/perl -w
|
||||
#
|
||||
# $Revision: 1.1.1.1 $
|
||||
#
|
||||
--- samples/xmlstats
|
||||
+++ samples/xmlstats
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/local/bin/perl -w
|
||||
+#!/usr/bin/perl -w
|
||||
#
|
||||
# $Revision: 1.1.1.1 $
|
||||
#
|
BIN
XML-Parser-2.46.tar.gz
(Stored with Git LFS)
Normal file
BIN
XML-Parser-2.46.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@ -0,0 +1,28 @@
|
||||
---
|
||||
#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:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
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
|
253
perl-XML-Parser.changes
Normal file
253
perl-XML-Parser.changes
Normal file
@ -0,0 +1,253 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Add cpanspec.yml file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 21 16:40:21 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
|
||||
|
||||
- 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 <pmonrealgonzalez@suse.com>
|
||||
|
||||
- Updated spec file with spec-celaner
|
||||
- Use https and metacpan release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 8 08:01:54 UTC 2015 - coolo@suse.com
|
||||
|
||||
- avoid a cycle with LWP
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 7 09:29:57 UTC 2015 - coolo@suse.com
|
||||
|
||||
- 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 25 13:10:06 UTC 2014 - p.drouand@gmail.com
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 15 10:33:05 UTC 2013 - idonmez@suse.com
|
||||
|
||||
- Add Source URL, see https://en.opensuse.org/SourceUrls
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 18 11:08:22 UTC 2011 - coolo@suse.com
|
||||
|
||||
- use original .tar.gz
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 30 18:22:14 UTC 2011 - andrea.turrini@gmail.com
|
||||
|
||||
- standardized "Authors:" format in description of perl-XML-Parser.spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 6 09:14:25 UTC 2011 - vcizek@novell.com
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 16 08:13:39 UTC 2011 - cfarrell@novell.com
|
||||
|
||||
- license update: GPL+ or Artistic
|
||||
Same license as Perl itself is GPL+ or Artistic in our rpm license syntax
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 13:36:16 UTC 2010 - coolo@novell.com
|
||||
|
||||
- switch to perl_requires macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 21 09:58:42 CEST 2010 - anicka@suse.cz
|
||||
|
||||
- update to 2.40
|
||||
* Add windows-1251.enc, ibm866.enc, koi8-r.enc (Russian)
|
||||
* Add windows-1255.enc (Hebrew)
|
||||
* Update iso-8859-7.enc (RT#40712)
|
||||
* Use Devel::CheckLib
|
||||
* Better description of expat packages
|
||||
* Better Perl style in both code and docs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 10 16:35:33 CEST 2010 - anicka@suse.cz
|
||||
|
||||
- fixed URL in spec (bnc#604084)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 25 19:46:23 CEST 2009 - chris@computersalat.de
|
||||
|
||||
- spec mods
|
||||
* removed ^----------
|
||||
* removed ^#---------
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 14 14:49:26 CEST 2009 - chris@computersalat.de
|
||||
|
||||
- some spec mods
|
||||
o fixed summary, description
|
||||
- added perl-macros
|
||||
o autogen filelist with perl_gen_filelist
|
||||
- some rpmlint fixes
|
||||
o file permissions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 21 10:46:59 CET 2007 - anicka@suse.cz
|
||||
|
||||
- update to 2.36
|
||||
* Fix for Carp::Heavy bugs
|
||||
* Added license in Makefile.PL
|
||||
* Makefile.PL also searches for expat in C:/lib/Expat-2.0.0
|
||||
* No longer uses variable named 'namespace' in Expat.xs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 19 07:41:06 CEST 2007 - coolo@suse.de
|
||||
|
||||
- remove explicit lib requires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 16 17:13:09 CEST 2007 - anicka@suse.cz
|
||||
|
||||
- change dependency on expat to libexpat
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 27 18:59:55 CEST 2007 - aj@suse.de
|
||||
|
||||
- Add libexpat-devel to BuildRequires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:40:03 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 26 17:36:39 CET 2004 - mjancar@suse.cz
|
||||
|
||||
- update to 2.34
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 11 12:28:56 CET 2004 - adrian@suse.de
|
||||
|
||||
- build as user
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 22 16:00:59 CEST 2003 - mjancar@suse.cz
|
||||
|
||||
- require the perl version we build with
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 15 16:46:06 CEST 2003 - mjancar@suse.cz
|
||||
|
||||
- adapt to perl-5.8.1
|
||||
- use %perl_process_packlist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 16 17:23:12 CEST 2003 - mjancar@suse.cz
|
||||
|
||||
- use $RPM_OPT_FLAGS
|
||||
- fix filelist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 19 11:35:18 CEST 2003 - ro@suse.de
|
||||
|
||||
- remove perllocal.pod
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 23 14:12:00 CEST 2002 - prehak@suse.cz
|
||||
|
||||
- update to version 2.31
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 2 17:40:06 MEST 2002 - mls@suse.de
|
||||
|
||||
- remove race in .packlist generation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 20 17:27:26 CET 2001 - rvasice@suse.cz
|
||||
|
||||
- fixed requires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 4 16:41:34 CEST 2001 - rvasice@suse.cz
|
||||
|
||||
- fixed Group tag to Development/Libraries/Perl
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 16 09:01:54 CEST 2001 - rvasice@suse.cz
|
||||
|
||||
- update to version 2.30
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 10 13:54:41 CET 2000 - cihlar@suse.cz
|
||||
|
||||
- renamed p_xmlpar -> perl-XML-Parser
|
||||
- bzipped sources
|
||||
- fixed copyright tag
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 21 16:43:23 CEST 2000 - ro@suse.de
|
||||
|
||||
- adapted for perl-5.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 20 16:05:37 CEST 2000 - cihlar@suse.cz
|
||||
|
||||
- added BuildRoot
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 20 12:17:18 CET 2000 - ro@suse.de
|
||||
|
||||
- use macro for mandir
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 10 13:28:09 CET 2000 - ke@suse.de
|
||||
|
||||
- Update: version 2.27.
|
||||
- Use version macro.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 23 11:24:29 CEST 1999 - ro@suse.de
|
||||
|
||||
- added missing Parser.pm to filelist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 4 18:08:04 MEST 1999 - ke@suse.de
|
||||
|
||||
- New package: version 1.23.
|
||||
|
||||
|
83
perl-XML-Parser.spec
Normal file
83
perl-XML-Parser.spec
Normal file
@ -0,0 +1,83 @@
|
||||
#
|
||||
# spec file for package perl-XML-Parser
|
||||
#
|
||||
# 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-XML-Parser
|
||||
Version: 2.46
|
||||
Release: 0
|
||||
%define cpan_name XML-Parser
|
||||
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
|
||||
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)
|
||||
%{perl_requires}
|
||||
# MANUAL BEGIN
|
||||
BuildRequires: libexpat-devel
|
||||
# MANUAL END
|
||||
|
||||
%description
|
||||
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 '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}
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
%patch0
|
||||
# MANUAL BEGIN
|
||||
chmod 644 samples/{canonical,xml*}
|
||||
# MANUAL END
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README samples
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user