rpms/libxml/F-8 libxml-1.8.17-multiarch.patch, NONE, 1.1 libxml.spec, 1.4, 1.5

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Fri Oct 26 13:46:50 UTC 2007


Author: pghmcfc

Update of /cvs/pkgs/rpms/libxml/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3951

Modified Files:
	libxml.spec 
Added Files:
	libxml-1.8.17-multiarch.patch 
Log Message:
resync with devel

libxml-1.8.17-multiarch.patch:

--- NEW FILE libxml-1.8.17-multiarch.patch ---
--- libxml-1.8.17/xml-config.in	2007-10-25 13:39:44.000000000 +0100
+++ libxml-1.8.17/xml-config.in	2007-10-25 13:40:31.000000000 +0100
@@ -3,7 +3,7 @@
 prefix=@prefix@
 exec_prefix=@exec_prefix@
 includedir=@includedir@
-libdir=@libdir@
+libdir=`pkg-config --variable=libdir libxml`
 
 usage()
 {


Index: libxml.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libxml/F-8/libxml.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- libxml.spec	30 Aug 2007 14:01:14 -0000	1.4
+++ libxml.spec	26 Oct 2007 13:46:16 -0000	1.5
@@ -2,12 +2,13 @@
 Summary:	Old libXML library for Gnome-1 application compatibility
 Epoch:		1
 Version:	1.8.17
-Release:	17%{?dist}
+Release:	18%{?dist}
 License:	LGPLv2+ or W3C
 Group:		Development/Libraries
 URL:		http://veillard.com/XML/
 Source:		ftp://xmlsoft.org/libxml/old/libxml-%{version}.tar.gz
 Patch0:		libxml-1.8.17-open-mode.patch
+Patch1:		libxml-1.8.17-multiarch.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
@@ -24,6 +25,9 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+/usr/bin/iconv -f iso-8859-1 -t utf-8 < ChangeLog > ChangeLog.utf-8
+%{__mv} -f ChangeLog.utf-8 ChangeLog
 
 %build
 %configure --disable-static
@@ -32,7 +36,7 @@
 
 %install
 %{__rm} -rf %{buildroot}
-%{__make} DESTDIR=%{buildroot} install
+%{__make} DESTDIR=%{buildroot} INSTALL="%{__install} -p" install
 
 # hack to get /usr/include/gnome-xml/libxml/
 if [ -d %{buildroot}/%{prefix}/include/gnome-xml ]; then
@@ -47,12 +51,12 @@
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-, root, root)
+%defattr(-,root,root,-)
 %doc AUTHORS ChangeLog README COPYING.LIB TODO
 %{_libdir}/libxml.so.*
 
 %files devel
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %{_bindir}/xml-config
 %{_datadir}/gnome-xml/
 %{_includedir}/gnome-xml/
@@ -62,6 +66,11 @@
 %exclude %{_libdir}/libxml.la
 
 %changelog
+* Fri Oct 26 2007 Paul Howarth <paul at city-fan.org> 1:1.8.17-18
+- fix multiarch conflict in xml-config (#342501)
+- preserve timestamps for files copied from source to installed package
+- re-encode ChangeLog as UTF-8
+
 * Thu Aug 30 2007 Paul Howarth <paul at city-fan.org> 1:1.8.17-17
 - rebuild for BuildID inclusion
   (http://fedoraproject.org/wiki/Releases/FeatureBuildId)




More information about the fedora-extras-commits mailing list