8
0

Accepting request 45730 from devel:languages:perl

checked in (request 45730)

OBS-URL: https://build.opensuse.org/request/show/45730
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Writer?expand=0&rev=12
This commit is contained in:
OBS User autobuild
2010-08-24 15:50:41 +00:00
committed by Git OBS Bridge
parent 9385411b02
commit a8fff4f70d
4 changed files with 29 additions and 50 deletions

BIN
XML-Writer-0.611.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,14 +1,3 @@
-------------------------------------------------------------------
Tue Aug 17 20:06:42 UTC 2010 - chris@computersalat.de
- update to 0.612
* Allow DATA_INDENT to specify arbitrary white space for
indentation. If it is numeric then use that many space
characters.
- recreated by cpanspec 1.78
- noarch pkg
- added bcond_with pod
-------------------------------------------------------------------
Fri Jul 16 15:08:13 CEST 2010 - anicka@suse.cz

View File

@@ -1,5 +1,5 @@
#
# spec file for package perl-XML-Writer (Version 0.612)
# spec file for package perl-XML-Writer (Version 0.611)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -17,64 +17,54 @@
# norootforbuild
%bcond_with pod
Name: perl-XML-Writer
%define cpan_name XML-Writer
Summary: Perl extension for writing XML documents
Version: 0.612
Version: 0.611
Release: 1
License: Distributable, see LICENSE
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: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
%if %{with pod}
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage)
%endif
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: MIT License (or similar)
Url: http://cpan.org/modules/by-module/XML/
Summary: A Perl Extension for Writing XML Documents
Source: XML-Writer-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
XML::Writer is a helper module for Perl programs that write an XML
document. The module handles all escaping for attribute values and
XML::Writer is a helper module for Perl programs that write XML
documents. 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}
%setup -n XML-Writer-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL
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
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist
%perl_process_packlist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes LICENSE README TODO
%files
%defattr(-,root,root)
%doc Changes README
%doc %{_mandir}/man?/*
%{perl_vendorlib}/XML
%{perl_vendorarch}/auto/XML
/var/adm/perl-modules/%{name}
%changelog