Sync from SUSE:SLFO:Main perl-XML-Writer revision f5c23673ff9dfb2b63215b2fb116ea68

This commit is contained in:
Adrian Schröter 2024-05-03 19:12:58 +02:00
commit 5d42b41b59
5 changed files with 343 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

BIN
XML-Writer-0.900.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

20
cpanspec.yml Normal file
View File

@ -0,0 +1,20 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
license: MIT
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag

221
perl-XML-Writer.changes Normal file
View File

@ -0,0 +1,221 @@
-------------------------------------------------------------------
Wed Oct 7 03:16:32 UTC 2020 - Tina Müller <timueller+perl@suse.de>
- updated to 0.900
see /usr/share/doc/packages/perl-XML-Writer/Changes
-------------------------------------------------------------------
Thu Apr 16 20:46:02 UTC 2015 - coolo@suse.com
- updated to 0.625
see /usr/share/doc/packages/perl-XML-Writer/Changes
0.625 Thu 05 Jun 2014 23:55:42 +1000 <joe@kafsemo.org>
- Allow xml-model processing instructions (#94078).
- Don't warn when undef is passed to setOutput (#94369).
-------------------------------------------------------------------
Mon Feb 24 06:18:50 UTC 2014 - coolo@suse.com
- updated to 0.624
- Allow an empty system ID in a doctype declaration.
-------------------------------------------------------------------
Sat Jul 27 11:58:49 UTC 2013 - coolo@suse.com
- updated to 0.623
- Fix a memory leak introduced in 0.620.
- Avoid issue with implicit stringification.
-------------------------------------------------------------------
Tue Jun 4 17:13:35 UTC 2013 - coolo@suse.com
- updated to 0.622
- Fix bug where output is an IO::Scalar.
- Include selfcontained_output.t in the distribution.
- Allow OUTPUT => 'self' (#81327).
-------------------------------------------------------------------
Thu Jan 19 02:34:02 UTC 2012 - vcizek@suse.com
- update to 0.615
- Fix test skipping when Unicode is unsupported.
-------------------------------------------------------------------
Mon Jan 9 02:36:08 UTC 2012 - vcizek@suse.com
- update to 0.614
* Fix regression in 0.613 and set encoding on GLOBs.
* Use 'Object->new()' syntax throughout (#65840).
* Support passing in any arbitrary object that has a print()
method (from Jason Rodrigues).
-------------------------------------------------------------------
Tue Dec 13 13:59:00 UTC 2011 - coolo@suse.com
- fedora names that license "MIT"
-------------------------------------------------------------------
Fri Nov 18 11:07:22 UTC 2011 - coolo@suse.com
- use original .tar.gz
-------------------------------------------------------------------
Wed Mar 16 10:23:39 UTC 2011 - cfarrell@novell.com
- license update: Copyright only
http://en.opensuse.org/openSUSE:Accepted_licences compatible
declaration of the text in LICENSE. See also Fedora Packagers
licensing guidelines
-------------------------------------------------------------------
Tue Nov 30 19:21:01 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Tue Aug 17 20:06:42 UTC 2010 - chris@computersalat.de
- update to 0.612
* Allow DATA_INDENT to specify arbitrary white space for
indentation. If it is numeric then use that many space
characters.
- recreated by cpanspec 1.78
- noarch pkg
- added bcond_with pod
-------------------------------------------------------------------
Fri Jul 16 15:08:13 CEST 2010 - anicka@suse.cz
- update to 0.611
* Adopt rewritten license text to explicitly allow modification.
-------------------------------------------------------------------
Mon Mar 29 16:16:43 CEST 2010 - anicka@suse.cz
- update to 0.610
* Add a CHECK_PRINT constructor parameter to check the output print
success (#50465). It will croak when printing to output fails.
-------------------------------------------------------------------
Thu Mar 25 17:21:54 CET 2010 - anicka@suse.cz
- update to 0.607
* Address license confusion by reverting to the original
license, with contributor permission, and removing
unintentional references to the (more restrictive)
GPL/Artistic.
-------------------------------------------------------------------
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de
- enable parallel build
-------------------------------------------------------------------
Tue Jan 20 15:49:23 CET 2009 - anicka@suse.cz
- update to 0.606
* Use MIT license, formalising David Megginson's original
("No warranty. Commercial and non-commercial use freely
permitted.").
-------------------------------------------------------------------
Thu Jan 15 13:39:53 CET 2009 - anicka@suse.cz
- run tests properly (bnc#466014)
-------------------------------------------------------------------
Thu Feb 28 10:23:16 CET 2008 - anicka@suse.cz
- update to 0.604
* Patch from Andreas Koenig for lc(undef) warning in 5.11
* Include example code.
-------------------------------------------------------------------
Tue Jul 3 08:32:16 CEST 2007 - anicka@suse.cz
- update to 0.603
* Escape all necessary white space in attributes
-------------------------------------------------------------------
Wed Dec 13 12:17:22 CET 2006 - anicka@suse.cz
- update to 0.602
* Fix bugs in test case to avoid breaking with new Perls.
* Make test case work with older Perls, tested against 5.004
* Include pod syntax and coverage tests.
-------------------------------------------------------------------
Thu Sep 14 12:22:32 CEST 2006 - anicka@suse.cz
- update to 0.601
* Don't modify list references passed as tag or attribute names
-------------------------------------------------------------------
Wed Jan 25 21:40:05 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Mon Aug 1 14:11:01 CEST 2005 - cthiel@suse.de
- update to version 0.600
- build as user
-------------------------------------------------------------------
Thu Feb 17 19:40:55 CET 2005 - mjancar@suse.cz
- update to 0.530
-------------------------------------------------------------------
Fri Aug 06 18:54:43 CEST 2004 - mjancar@suse.cz
- update to 0.510
-------------------------------------------------------------------
Tue Oct 14 15:20:34 CEST 2003 - ro@suse.de
- build on all versions
-------------------------------------------------------------------
Tue Oct 14 14:46:56 CEST 2003 - ro@suse.de
- removed 'make test' when version of perl is v5.6.0 due to bug
that causes segfault
-------------------------------------------------------------------
Fri Aug 22 16:05:00 CEST 2003 - mjancar@suse.cz
- require the perl version we build with
-------------------------------------------------------------------
Tue Jul 15 10:35:29 CEST 2003 - mjancar@suse.cz
- adapt to perl-5.8.1
- use %perl_process_packlist
-------------------------------------------------------------------
Mon Jun 16 17:13:10 CEST 2003 - mjancar@suse.cz
- fix filelist
-------------------------------------------------------------------
Mon Jun 09 16:52:20 CEST 2003 - mjancar@suse.cz
- don't package MANIFEST
-------------------------------------------------------------------
Mon May 19 11:31:51 CEST 2003 - ro@suse.de
- remove perllocal.pod
-------------------------------------------------------------------
Tue Jul 2 17:40:06 MEST 2002 - mls@suse.de
- remove race in .packlist generation
-------------------------------------------------------------------
Thu Aug 16 16:35:45 CEST 2001 - rvasice@suse.cz
- initial package release (version 0.4)

76
perl-XML-Writer.spec Normal file
View File

@ -0,0 +1,76 @@
#
# spec file for package perl-XML-Writer
#
# Copyright (c) 2020 SUSE LLC
#
# 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-Writer
Version: 0.900
Release: 0
#Upstream: SUSE-Public-Domain
%define cpan_name XML-Writer
Summary: Perl extension for writing XML documents
License: MIT
Group: Development/Libraries/Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/J/JO/JOSEPHW/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
%description
XML::Writer is a helper module for Perl programs that write an XML
document. The module handles all escaping for attribute values and
character data and constructs different types of markup, such as tags,
comments, and processing instructions.
By default, the module performs several well-formedness checks to catch
errors during output. This behaviour can be extremely useful during
development and debugging, but it can be turned off for production-grade
code.
The module can operate either in regular mode in or Namespace processing
mode. In Namespace mode, the module will generate Namespace Declarations
itself, and will perform additional checks on the output.
Additional support is available for a simplified data mode with no mixed
content: newlines are automatically inserted around elements and elements
can optionally be indented based as their nesting level.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor
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 examples README TODO
%license LICENSE
%changelog