8
0

Compare commits

...

19 Commits

Author SHA256 Message Date
1d3acc6911 Accepting request 840017 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/840017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Writer?expand=0&rev=33
2020-10-08 11:10:16 +00:00
7ee3a133ba Accepting request 840016 from devel:languages:perl:autoupdate
- updated to 0.900
   see /usr/share/doc/packages/perl-XML-Writer/Changes

OBS-URL: https://build.opensuse.org/request/show/840016
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Writer?expand=0&rev=38
2020-10-07 10:40:58 +00:00
Stephan Kulow
7a1527cef6 Accepting request 297549 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/297549
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Writer?expand=0&rev=32
2015-04-25 19:16:54 +00:00
Stephan Kulow
0a3ab459a7 Accepting request 297542 from devel:languages:perl:autoupdate
update

OBS-URL: https://build.opensuse.org/request/show/297542
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Writer?expand=0&rev=36
2015-04-17 07:29:31 +00:00
Stephan Kulow
8a5b27d2f4 Accepting request 223871 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/223871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Writer?expand=0&rev=30
2014-02-28 16:46:26 +00:00
Stephan Kulow
4e0ab3a072 update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Writer?expand=0&rev=34
2014-02-24 06:19:30 +00:00
Stephan Kulow
be5ff24460 Accepting request 184815 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/184815
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Writer?expand=0&rev=28
2013-07-30 17:11:26 +00:00
Stephan Kulow
9b1b230a7f - updated to 0.623
- Fix a memory leak introduced in 0.620.
       - Avoid issue with implicit stringification.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Writer?expand=0&rev=32
2013-07-27 12:36:33 +00:00
Stephan Kulow
fa4269d4eb Accepting request 177564 from devel:languages:perl
- updated to 0.622
          - Fix bug where output is an IO::Scalar.
          - Include selfcontained_output.t in the distribution.
          - Allow OUTPUT => 'self' (#81327). (forwarded request 177555 from coolo)

OBS-URL: https://build.opensuse.org/request/show/177564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Writer?expand=0&rev=27
2013-06-06 12:48:19 +00:00
Stephan Kulow
0602bb09f5 Accepting request 177555 from home:coolo:update-perl
- updated to 0.622
          - Fix bug where output is an IO::Scalar.
          - Include selfcontained_output.t in the distribution.
          - Allow OUTPUT => 'self' (#81327).

OBS-URL: https://build.opensuse.org/request/show/177555
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Writer?expand=0&rev=30
2013-06-04 17:22:00 +00:00
Stephan Kulow
f381aa425d Accepting request 103911 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/103911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Writer?expand=0&rev=24
2012-02-14 12:09:59 +00:00
Stephan Kulow
2d08d9bc46 Accepting request 96484 from devel:languages:perl
- fedora names that license "MIT"

  http://en.opensuse.org/openSUSE:Accepted_licences compatible 
  declaration of the text in LICENSE. See also Fedora Packagers
  licensing guidelines (forwarded request 96465 from coolo)

OBS-URL: https://build.opensuse.org/request/show/96484
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Writer?expand=0&rev=23
2011-12-20 13:30:43 +00:00
Stephan Kulow
f5d43d2ca3 Accepting request 92105 from devel:languages:perl
update

OBS-URL: https://build.opensuse.org/request/show/92105
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Writer?expand=0&rev=22
2011-11-21 11:50:55 +00:00
Sascha Peilicke
d75caef784 Autobuild autoformatter for 64337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Writer?expand=0&rev=20
2011-03-17 09:17:10 +00:00
Sascha Peilicke
20f63db9ea Accepting request 64337 from devel:languages:perl
Accepted submit request 64337 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/64337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Writer?expand=0&rev=19
2011-03-17 09:17:01 +00:00
89f0f03d17 Autobuild autoformatter for 55376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Writer?expand=0&rev=17
2010-12-10 15:06:59 +00:00
ff76cce806 Accepting request 55376 from devel:languages:perl
Accepted submit request 55376 from user coolo

OBS-URL: https://build.opensuse.org/request/show/55376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Writer?expand=0&rev=16
2010-12-10 15:06:50 +00:00
OBS User autobuild
eba27f7265 Accepting request 45730 from devel:languages:perl
Copy from devel:languages:perl/perl-XML-Writer based on submit request 45730 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/45730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Writer?expand=0&rev=15
2010-08-24 15:50:42 +00:00
OBS User autobuild
e6b9ce7309 Accepting request 43057 from devel:languages:perl
Copy from devel:languages:perl/perl-XML-Writer based on submit request 43057 from user anicka

OBS-URL: https://build.opensuse.org/request/show/43057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Writer?expand=0&rev=14
2010-07-19 12:00:06 +00:00
5 changed files with 87 additions and 27 deletions

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

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

View File

@@ -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

View File

@@ -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