forked from pool/perl-XML-LibXML
- fixes https://rt.cpan.org/Ticket/Display.html?id=69722 . - Fixed missing declarations after statements: - resolves https://rt.cpan.org/Ticket/Display.html?id=69622 again. - Fix docbook source validity - resolves https://rt.cpan.org/Ticket/Display.html?id=69702 - Moved some if blocks after the dSP; (which contains declarations) to be compliant with C89/C90, which don't allow declarations in the middle of a C function. - resolves https://rt.cpan.org/Ticket/Display.html?id=69622 - Fix https://rt.cpan.org/Ticket/Display.html?id=69553 : - "install_sax_driver doesn't like custom INSTALLARCHLIB" - Fix "IDs of elements is lost when importing nodes" - https://rt.cpan.org/Public/Bug/Display.html?id=69520 - With t/48importing_nodes_IDs_rt_69520.t . - Convert all remaining Test.pm-based test scripts except t/14sax.t to Test::More . - Fix https://rt.cpan.org/Public/Bug/Display.html?id=69082 : - Compilation on strawberry perl. - The problem was that stderr required a dTHX; call previously. - DOM Normalisation patches and a fix for #69096 - https://rt.cpan.org/Ticket/Display.html?id=69096 - "findvalue from XML::LibXML 1.74 is very slow (regression)" - https://bitbucket.org/shlomif/perl-xml-libxml/pull-request/5/normalize-bug-fixes - Fix https://rt.cpan.org/Ticket/Display.html?id=69433 : - "t/19die_on_invalid_utf8_rt_58848.t assumes errors will be objects:" - Failed on older libxml2's. - Add a skip for t/60error_prev_chain.t in case $@ is true but not a ref. - https://rt.cpan.org/Ticket/Display.html?id=69435 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-LibXML?expand=0&rev=17
75 lines
2.2 KiB
RPMSpec
75 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package perl-XML-LibXML
|
|
#
|
|
# Copyright (c) 2011 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
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: perl-XML-LibXML
|
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
|
Summary: Perl Binding for libxml2
|
|
Version: 1.84
|
|
Release: 1
|
|
AutoReqProv: on
|
|
Group: Development/Libraries/Perl
|
|
License: GPL-1.0+ or Artistic
|
|
Url: http://search.cpan.org/dist/XML-LibXML/
|
|
Source: %{cpan_name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%{perl_requires}
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: libxml2-devel >= 2.6.16
|
|
BuildRequires: perl(XML::SAX) >= 0.11
|
|
Requires: perl(XML::SAX) >= 0.11
|
|
Provides: perl-XML-LibXML-Common = %{version}
|
|
Obsoletes: perl-XML-LibXML-Common < %{version}
|
|
|
|
%description
|
|
This module implements a Perl interface to the Gnome libxml2 library which
|
|
provides interfaces for parsing and manipulating XML files. This module allows
|
|
Perl programmers to make use of the highly capable validating XML parser and
|
|
the high performance DOM implementation.
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
%build
|
|
# [2,7,1,0], # broken release, broken utf-16
|
|
%if 0%{?suse_version} == 1110
|
|
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" FORCE=1
|
|
%else
|
|
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|
%endif
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%check
|
|
%{__make} test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%clean
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f %{name}.files
|
|
%defattr(-,root,root)
|
|
%doc Changes LICENSE README
|
|
|
|
%changelog
|