From: Jakub Bogusz Date: Sat, 13 Nov 2010 19:17:03 +0000 (+0000) Subject: - updated to 2.7.8 X-Git-Tag: auto/th/crossmingw32-libxml2-2.9.0-1~3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcrossmingw32-libxml2.git;a=commitdiff_plain;h=4c45262 - updated to 2.7.8 Changed files: crossmingw32-libxml2.spec -> 1.12 libxml2-amfix.patch -> 1.2 libxml2-version-script.patch -> 1.1 --- diff --git a/crossmingw32-libxml2.spec b/crossmingw32-libxml2.spec index 11d8c11..94875f9 100644 --- a/crossmingw32-libxml2.spec +++ b/crossmingw32-libxml2.spec @@ -2,17 +2,18 @@ Summary: libXML library - cross MinGW32 version Summary(pl.UTF-8): Biblioteka libXML wersja 2 - wersja skrośna dla MinGW32 Name: crossmingw32-%{realname} -Version: 2.7.7 +Version: 2.7.8 Release: 1 License: MIT Group: Development/Libraries #Source0: http://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/%{name}-%{version}.tar.bz2 Source0: ftp://xmlsoft.org/libxml2/%{realname}-%{version}.tar.gz -# Source0-md5: 9abc9959823ca9ff904f1fbcf21df066 +# Source0-md5: 8127a65e8c3b08856093099b52599c86 Patch0: %{realname}-amfix.patch Patch1: %{realname}-man_fixes.patch Patch2: %{realname}-open.gz.patch Patch3: %{realname}-largefile.patch +Patch4: %{realname}-version-script.patch URL: http://xmlsoft.org/ BuildRequires: autoconf >= 2.2 BuildRequires: automake >= 1.4 @@ -78,6 +79,7 @@ Biblioteka DLL libxml2 dla Windows. %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build %{__libtoolize} diff --git a/libxml2-amfix.patch b/libxml2-amfix.patch index d9f7ed6..3b35ec2 100644 --- a/libxml2-amfix.patch +++ b/libxml2-amfix.patch @@ -60,14 +60,3 @@ diff -Nur libxml2-2.6.17.orig/Makefile.am libxml2-2.6.17/Makefile.am CVS_EXTRA_DIST= EXTRA_DIST = xml2-config.in xml2Conf.sh.in libxml.spec.in libxml2.spec \ libxml.m4 Copyright check-xml-test-suite.py gentest.py \ -diff -Nur libxml2-2.6.17.orig/include/libxml/Makefile.am libxml2-2.6.17/include/libxml/Makefile.am ---- libxml2-2.6.17.orig/include/libxml/Makefile.am 2005-01-04 15:55:45.000000000 +0100 -+++ libxml2-2.6.17/include/libxml/Makefile.am 2005-01-18 12:08:45.978527448 +0100 -@@ -50,7 +50,4 @@ - pattern.h \ - xmlsave.h - --install-exec-hook: -- $(mkinstalldirs) $(DESTDIR)$(xmlincdir) -- - EXTRA_DIST = xmlversion.h.in diff --git a/libxml2-version-script.patch b/libxml2-version-script.patch new file mode 100644 index 0000000..bc07645 --- /dev/null +++ b/libxml2-version-script.patch @@ -0,0 +1,11 @@ +--- libxml2-2.7.8/configure.in.orig 2010-11-04 18:01:19.000000000 +0100 ++++ libxml2-2.7.8/configure.in 2010-11-13 19:34:41.607099099 +0100 +@@ -84,7 +84,7 @@ + esac + fi + AC_SUBST(VERSION_SCRIPT_FLAGS) +-AM_CONDITIONAL([USE_VERSION_SCRIPT], [test -z "$VERSION_SCRIPT_FLAGS"]) ++AM_CONDITIONAL([USE_VERSION_SCRIPT], [test -n "$VERSION_SCRIPT_FLAGS"]) + + dnl + dnl We process the AC_ARG_WITH first so that later we can modify