SPECS: libxml2.spec - unbreak xml2-config --libs on 32-bit subarch...

qboosh qboosh at pld-linux.org
Fri Dec 29 16:19:18 CET 2006


Author: qboosh                       Date: Fri Dec 29 15:19:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- unbreak xml2-config --libs on 32-bit subarchs (to be usable with multilib)

---- Files affected:
SPECS:
   libxml2.spec (1.145 -> 1.146) 

---- Diffs:

================================================================
Index: SPECS/libxml2.spec
diff -u SPECS/libxml2.spec:1.145 SPECS/libxml2.spec:1.146
--- SPECS/libxml2.spec:1.145	Fri Dec 29 16:01:37 2006
+++ SPECS/libxml2.spec	Fri Dec 29 16:19:13 2006
@@ -28,6 +28,7 @@
 %{?with_python:BuildRequires:	python-devel}
 %{?with_python:BuildRequires:	python-modules}
 %{?with_python:BuildRequires:	rpm-pythonprov}
+BuildRequires:	sed >= 4.0
 BuildRequires:	zlib-devel
 # history support in xmllint is disabled by default
 #BuildRequires:	ncurses-devel
@@ -125,6 +126,8 @@
 %patch2 -p1
 %patch3 -p1
 
+sed -i -e 's,-L/usr/lib64,-L/usr/%{_lib},' xml2-config.in
+
 %build
 %{__libtoolize}
 %{__aclocal}
@@ -231,6 +234,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.146  2006/12/29 15:19:13  qboosh
+- unbreak xml2-config --libs on 32-bit subarchs (to be usable with multilib)
+
 Revision 1.145  2006/12/29 15:01:37  qboosh
 - readline is not used by default
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libxml2.spec?r1=1.145&r2=1.146&f=u



More information about the pld-cvs-commit mailing list