forked from pool/perl-XML-Writer
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
This commit is contained in:
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.622.tar.gz
(Stored with Git LFS)
Normal file
BIN
XML-Writer-0.622.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
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) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,28 +15,26 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%bcond_with pod
|
||||
|
||||
Name: perl-XML-Writer
|
||||
Version: 0.615
|
||||
Version: 0.622
|
||||
Release: 0
|
||||
%define cpan_name XML-Writer
|
||||
Summary: Perl extension for writing XML documents
|
||||
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
|
||||
|
||||
Source: http://www.cpan.org/authors/id/J/JO/JOSEPHW/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
#BuildRequires: perl(Algorithm::Diff)
|
||||
#BuildRequires: perl(DateTime)
|
||||
#BuildRequires: perl(IO::Scalar)
|
||||
#BuildRequires: perl(URI::URL)
|
||||
#BuildRequires: perl(XML::Writer)
|
||||
%{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,30 +42,36 @@ 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}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make test
|
||||
%{__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 LICENSE README TODO
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user