forked from pool/perl-XML-Writer
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:
committed by
Git OBS Bridge
parent
9385411b02
commit
a8fff4f70d
BIN
XML-Writer-0.611.tar.bz2
(Stored with Git LFS)
Normal file
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)
BIN
XML-Writer-0.612.tar.bz2
(Stored with Git LFS)
Binary file not shown.
@@ -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
|
Fri Jul 16 15:08:13 CEST 2010 - anicka@suse.cz
|
||||||
|
|
||||||
|
@@ -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.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@@ -17,64 +17,54 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
%bcond_with pod
|
|
||||||
|
|
||||||
Name: perl-XML-Writer
|
Name: perl-XML-Writer
|
||||||
%define cpan_name XML-Writer
|
Version: 0.611
|
||||||
Summary: Perl extension for writing XML documents
|
|
||||||
Version: 0.612
|
|
||||||
Release: 1
|
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}
|
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
|
%description
|
||||||
XML::Writer is a helper module for Perl programs that write an XML
|
XML::Writer is a helper module for Perl programs that write XML
|
||||||
document. The module handles all escaping for attribute values and
|
documents. The module handles all escaping for attribute values and
|
||||||
character data and constructs different types of markup, such as tags,
|
character data and constructs different types of markup, such as tags,
|
||||||
comments, and processing instructions.
|
comments, and processing instructions.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
David Megginson <david@megginson.com>
|
David Megginson <david@megginson.com>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -n XML-Writer-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL
|
||||||
%{__make} %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
# do not perl_process_packlist (noarch)
|
%perl_process_packlist
|
||||||
# remove .packlist file
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
|
||||||
# remove perllocal.pod file
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
|
||||||
%perl_gen_filelist
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root)
|
||||||
%doc Changes LICENSE README TODO
|
%doc Changes README
|
||||||
|
%doc %{_mandir}/man?/*
|
||||||
|
%{perl_vendorlib}/XML
|
||||||
|
%{perl_vendorarch}/auto/XML
|
||||||
|
/var/adm/perl-modules/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user