8
0

Accepting request 91027 from devel:languages:perl

- update to 1.88
    - Add libxml2 2.7.8 as tested and working fine for the Makefile.PL.
    (Thanks to H. Merijn Brand.).
    - Apply a patch to perl-libxml-sax.c to use xmlChar * instead of char *.
    (Thanks to H. Merijn Brand.).
    - Correct the README so it won't read XML-LibXML-Common.
        - see http://code.activestate.com/lists/perl-xml/8907/
    - Add a patch to implement the no_defdtd option in recent libxml2's:
        - https://rt.cpan.org/Ticket/Display.html?id=70878
        - Thanks to zzgrim@gmail.com .
    - Add scripts/bump-version-number.pl to modify the version number globally.
        - Currently the version numbers of the modules under lib/ where 1.73.

OBS-URL: https://build.opensuse.org/request/show/91027
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-LibXML?expand=0&rev=22
This commit is contained in:
Stephan Kulow
2011-11-14 12:26:16 +00:00
committed by Git OBS Bridge
4 changed files with 36 additions and 19 deletions

BIN
XML-LibXML-1.87.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
XML-LibXML-1.88.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Thu Sep 22 12:49:34 UTC 2011 - vcizek@suse.com
- update to 1.88
- Add libxml2 2.7.8 as tested and working fine for the Makefile.PL.
(Thanks to H. Merijn Brand.).
- Apply a patch to perl-libxml-sax.c to use xmlChar * instead of char *.
(Thanks to H. Merijn Brand.).
- Correct the README so it won't read XML-LibXML-Common.
- see http://code.activestate.com/lists/perl-xml/8907/
- Add a patch to implement the no_defdtd option in recent libxml2's:
- https://rt.cpan.org/Ticket/Display.html?id=70878
- Thanks to zzgrim@gmail.com .
- Add scripts/bump-version-number.pl to modify the version number globally.
- Currently the version numbers of the modules under lib/ where 1.73.
-------------------------------------------------------------------
Mon Aug 29 08:23:27 UTC 2011 - vcizek@suse.com

View File

@@ -15,28 +15,29 @@
# 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.87
Version: 1.88
Release: 1
AutoReqProv: on
Group: Development/Libraries/Perl
License: GPL-1.0+ or Artistic
%define cpan_name XML-LibXML
Summary: Perl Binding for libxml2
Url: http://search.cpan.org/dist/XML-LibXML/
Source: %{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: libxml2-devel >= 2.6.16
BuildRequires: perl(XML::SAX) >= 0.11
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.56
BuildRequires: perl(XML::NamespaceSupport) >= 1.07
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.16
Requires: perl(XML::NamespaceSupport) >= 1.07
Requires: perl(XML::SAX) >= 0.11
Provides: perl-XML-LibXML-Common = %{version}
Obsoletes: perl-XML-LibXML-Common < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%description
This module implements a Perl interface to the Gnome libxml2 library which
@@ -50,14 +51,14 @@ the high performance DOM implementation.
%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
perl Makefile.PL OPTIMIZE="%{optflags} -Wall" FORCE=1
%else
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
perl Makefile.PL OPTIMIZE="%{optflags} -Wall"
%endif
%{__make} %{?_smp_mflags}
make %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install
@@ -65,7 +66,7 @@ the high performance DOM implementation.
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root)