forked from pool/perl-XML-Writer
Compare commits
19 Commits
cac578dffe
...
1d3acc6911
Author | SHA256 | Date | |
---|---|---|---|
1d3acc6911 | |||
7ee3a133ba | |||
|
7a1527cef6 | ||
|
0a3ab459a7 | ||
|
8a5b27d2f4 | ||
|
4e0ab3a072 | ||
|
be5ff24460 | ||
|
9b1b230a7f | ||
|
fa4269d4eb | ||
|
0602bb09f5 | ||
|
f381aa425d | ||
|
2d08d9bc46 | ||
|
f5d43d2ca3 | ||
|
d75caef784 | ||
|
20f63db9ea | ||
89f0f03d17 | |||
ff76cce806 | |||
|
eba27f7265 | ||
|
e6b9ce7309 |
BIN
XML-Writer-0.615.tar.gz
(Stored with Git LFS)
BIN
XML-Writer-0.615.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
XML-Writer-0.900.tar.gz
(Stored with Git LFS)
Normal file
BIN
XML-Writer-0.900.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
20
cpanspec.yml
Normal file
20
cpanspec.yml
Normal 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
|
@@ -1,3 +1,40 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-XML-Writer
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -12,31 +12,26 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%bcond_with pod
|
||||
|
||||
Name: perl-XML-Writer
|
||||
Version: 0.615
|
||||
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: http://search.cpan.org/dist/XML-Writer/
|
||||
#Source: http://www.cpan.org/modules/by-module/XML/XML-Writer-%{version}.tar.gz
|
||||
Source: http://search.cpan.org/CPAN/authors/id/J/JO/JOSEPHW/%{cpan_name}-%{version}.tar.gz
|
||||
|
||||
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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%{perl_requires}
|
||||
%if %{with pod}
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
%endif
|
||||
|
||||
%description
|
||||
XML::Writer is a helper module for Perl programs that write an XML
|
||||
@@ -44,8 +39,22 @@ 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
|
||||
@@ -56,18 +65,12 @@ make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
# do not perl_process_packlist (noarch)
|
||||
# remove .packlist file
|
||||
rm -rf %{buildroot}%perl_vendorarch
|
||||
# remove perllocal.pod file
|
||||
rm -rf %{buildroot}%perl_archlib
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE README TODO
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes examples README TODO
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user