8
0

Accepting request 177559 from devel:languages:perl

- updated to 1.80
     - Bump the minimum version of libxslt2 to 1.1.28.
         - due to failures such as http://www.cpantesters.org/cpan/report/6f5029ee-639a-11e2-8465-2a97270fb964
 
     - Die when libxslt is 1.1.27.
         - Due to this bug - https://bugzilla.gnome.org/show_bug.cgi?id=684564
 
     - Add output_method method, update documentation of media_type
     (dorian@cpan).
         - Thanks, Dorian!
 
     - Apply a patch from Michael Ludwig clarifying the quoting of string
     parameters to the XSLT transformation.
         - Thanks, Michael! (forwarded request 177551 from coolo)

OBS-URL: https://build.opensuse.org/request/show/177559
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-LibXSLT?expand=0&rev=25
This commit is contained in:
Stephan Kulow
2013-06-06 10:58:19 +00:00
committed by Git OBS Bridge
4 changed files with 53 additions and 33 deletions

BIN
XML-LibXSLT-1.76.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
XML-LibXSLT-1.80.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Tue Jun 4 17:05:54 UTC 2013 - coolo@suse.com
- updated to 1.80
- Bump the minimum version of libxslt2 to 1.1.28.
- due to failures such as http://www.cpantesters.org/cpan/report/6f5029ee-639a-11e2-8465-2a97270fb964
- Die when libxslt is 1.1.27.
- Due to this bug - https://bugzilla.gnome.org/show_bug.cgi?id=684564
- Add output_method method, update documentation of media_type
(dorian@cpan).
- Thanks, Dorian!
- Apply a patch from Michael Ludwig clarifying the quoting of string
parameters to the XSLT transformation.
- Thanks, Michael!
-------------------------------------------------------------------
Fri Jan 13 02:39:50 UTC 2012 - vcizek@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-XML-LibXSLT
#
# 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
@@ -17,51 +17,53 @@
Name: perl-XML-LibXSLT
Version: 1.76
Version: 1.80
Release: 0
Summary: XML::LibXSLT Perl Module
%define cpan_name XML-LibXSLT
Summary: Interface to the GNOME libxslt library
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Url: http://www.cpan.org/modules/by-module/XML/
Source: XML-LibXSLT-%{version}.tar.gz
BuildRequires: libxslt-devel
BuildRequires: perl-XML-LibXML
BuildRequires: perl-macros
Requires: perl-XML-LibXML
Url: http://search.cpan.org/dist/XML-LibXSLT/
Source: http://www.cpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(XML::LibXML) >= 1.70
#BuildRequires: perl(Driver::BaseClass)
#BuildRequires: perl(XML::LibXML::Boolean)
#BuildRequires: perl(XML::LibXML::Literal)
#BuildRequires: perl(XML::LibXML::NodeList)
#BuildRequires: perl(XML::LibXML::Number)
#BuildRequires: perl(XML::LibXSLT)
#BuildRequires: perl(XML::Sablotron)
#BuildRequires: perl(XML::XPath)
Requires: perl(XML::LibXML) >= 1.70
%{perl_requires}
# MANUAL
BuildRequires: libxslt-devel
%description
This module is a fast XSLT library, based on the GNOME libxslt engine
that you can find at http://www.xmlsoft.org/XSLT/.
The performance is currently about twice that of XML::Sablotron (based
on XSLTMark tests converted to Perl). The libxslt processor is also
highly standard compliant, with practically all of XSLT 1.0 being
supported in version 0.9 of libxslt.
This module is an interface to the GNOME project's libxslt. This is an
extremely good XSLT engine, highly compliant and also very fast. I have
tests showing this to be more than twice as fast as Sablotron.
%prep
%setup -q -n XML-LibXSLT-%{version}
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL
make %{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
make test
%{__make} test
%install
make DESTDIR=%{buildroot} install_vendor
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc Changes README
%doc %{_mandir}/man3/*
%{perl_vendorarch}/XML
%{perl_vendorarch}/auto/XML
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes example README
%changelog