diff --git a/libxml2-2.7.8-reactivate-versionning-script.patch b/libxml2-2.7.8-reactivate-versionning-script.patch index 2e8cd6b..fd7a683 100644 --- a/libxml2-2.7.8-reactivate-versionning-script.patch +++ b/libxml2-2.7.8-reactivate-versionning-script.patch @@ -25,3 +25,34 @@ index 59d0629..39b66dd 100644 dnl dnl We process the AC_ARG_WITH first so that later we can modify +diff --git a/configure.in b/configure.in +*** a/configure +--- b/configure +*************** CC="$lt_save_CC" +*** 11405,11410 **** +--- 11405,11412 ---- + + + VERSION_SCRIPT_FLAGS= ++ echo host $host ++ echo lt_cv_prog_gnu_ld $lt_cv_prog_gnu_ld + # lt_cv_prog_gnu_ld is from libtool 2.+ + if test "$lt_cv_prog_gnu_ld" = yes; then + VERSION_SCRIPT_FLAGS=-Wl,--version-script= +*************** else +*** 11414,11420 **** + esac + fi + +! if test -z "$VERSION_SCRIPT_FLAGS"; then + USE_VERSION_SCRIPT_TRUE= + USE_VERSION_SCRIPT_FALSE='#' + else +--- 11416,11422 ---- + esac + fi + +! if test -n "$VERSION_SCRIPT_FLAGS"; then + USE_VERSION_SCRIPT_TRUE= + USE_VERSION_SCRIPT_FALSE='#' + else diff --git a/libxml2.spec b/libxml2.spec index 20f115b..9b5213c 100644 --- a/libxml2.spec +++ b/libxml2.spec @@ -1,7 +1,7 @@ Summary: Library providing XML and HTML support Name: libxml2 Version: 2.7.8 -Release: 3%{?dist}%{?extra_release} +Release: 4%{?dist}%{?extra_release} License: MIT Group: Development/Libraries Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz @@ -143,11 +143,7 @@ rm -fr %{buildroot} %doc doc/python.html %changelog -* Fri Nov 5 2010 Daniel Veillard - 2.7.8-3 -- workaround the fact that $lt_cv_prog_gnu_ld in configure doesn't - seems to work on rawhide - -* Thu Nov 4 2010 Daniel Veillard - 2.7.8-2 +* Fri Nov 5 2010 Daniel Veillard - 2.7.8-4 - reactivate shared libs versionning script * Thu Nov 4 2010 Daniel Veillard - 2.7.8-1