diff --git a/XML-Writer-0.612.tar.gz b/XML-Writer-0.612.tar.gz deleted file mode 100644 index 2e7d097..0000000 --- a/XML-Writer-0.612.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:53a66551790d824da386c3c1110a01346e59e35aee771c0c30af5bdfe57a3bdf -size 26988 diff --git a/XML-Writer-0.614.tar.gz b/XML-Writer-0.614.tar.gz new file mode 100644 index 0000000..5eeb350 --- /dev/null +++ b/XML-Writer-0.614.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58e6b602b7749ae1d4ef9220b94a577cb3d5d9373f71145a1b28e299135e9dbc +size 27390 diff --git a/perl-XML-Writer.changes b/perl-XML-Writer.changes index 5692c48..430937f 100644 --- a/perl-XML-Writer.changes +++ b/perl-XML-Writer.changes @@ -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 diff --git a/perl-XML-Writer.spec b/perl-XML-Writer.spec index f497bb2..327159e 100644 --- a/perl-XML-Writer.spec +++ b/perl-XML-Writer.spec @@ -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 - %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,-)