forked from pool/perl-XML-Writer
Compare commits
19 Commits
cac578dffe
...
slfo-main
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
|
Thu Jan 19 02:34:02 UTC 2012 - vcizek@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-XML-Writer
|
# 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
|
# 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
|
||||||
@@ -12,31 +12,26 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
Name: perl-XML-Writer
|
||||||
Version: 0.615
|
Version: 0.900
|
||||||
Release: 0
|
Release: 0
|
||||||
|
#Upstream: SUSE-Public-Domain
|
||||||
%define cpan_name XML-Writer
|
%define cpan_name XML-Writer
|
||||||
Summary: Perl extension for writing XML documents
|
Summary: Perl extension for writing XML documents
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/XML-Writer/
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
#Source: http://www.cpan.org/modules/by-module/XML/XML-Writer-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/J/JO/JOSEPHW/%{cpan_name}-%{version}.tar.gz
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/J/JO/JOSEPHW/%{cpan_name}-%{version}.tar.gz
|
Source1: cpanspec.yml
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
%if %{with pod}
|
|
||||||
BuildRequires: perl(Test::Pod) >= 1.00
|
|
||||||
BuildRequires: perl(Test::Pod::Coverage)
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
XML::Writer is a helper module for Perl programs that write an XML
|
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,
|
character data and constructs different types of markup, such as tags,
|
||||||
comments, and processing instructions.
|
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
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%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
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
@@ -56,18 +65,12 @@ make test
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
# do not perl_process_packlist (noarch)
|
%perl_process_packlist
|
||||||
# remove .packlist file
|
|
||||||
rm -rf %{buildroot}%perl_vendorarch
|
|
||||||
# remove perllocal.pod file
|
|
||||||
rm -rf %{buildroot}%perl_archlib
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes LICENSE README TODO
|
%doc Changes examples README TODO
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user