8
0

- 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).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Writer?expand=0&rev=26
This commit is contained in:
Vítězslav Čížek
2012-01-09 09:24:41 +00:00
committed by Git OBS Bridge
parent 9408f3e139
commit 10c0673f2f
4 changed files with 27 additions and 21 deletions

BIN
XML-Writer-0.612.tar.gz (Stored with Git LFS)

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
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

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-XML-Writer
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 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,23 +15,24 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%bcond_with pod
Name: perl-XML-Writer
Version: 0.614
Release: 0
%define cpan_name XML-Writer
Summary: Perl extension for writing XML documents
License: MIT
Group: Development/Libraries/Perl
Version: 0.612
Release: 0
Url: http://search.cpan.org/dist/XML-Writer/
Source: http://www.cpan.org/modules/by-module/XML/XML-Writer-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
#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
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)
@@ -43,31 +44,27 @@ 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.
Authors:
--------
David Megginson <david@megginson.com>
%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 $RPM_BUILD_ROOT%perl_vendorarch
rm -rf %{buildroot}%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
rm -rf %{buildroot}%perl_archlib
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,-)