diff --git a/libxml2-python.changes b/libxml2-python.changes index 19fc281..7dd80c5 100644 --- a/libxml2-python.changes +++ b/libxml2-python.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 15 12:19:16 CET 2009 - jengelh@medozas.de + +- enable parallel building + ------------------------------------------------------------------- Thu Mar 19 10:16:50 CET 2009 - prusnak@suse.cz diff --git a/libxml2-python.spec b/libxml2-python.spec index 78aad61..4c323df 100644 --- a/libxml2-python.spec +++ b/libxml2-python.spec @@ -1,7 +1,7 @@ # # spec file for package libxml2-python (Version 2.7.3) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ Group: Development/Libraries/Python AutoReqProv: on Summary: Python Bindings for libxml2 Version: 2.7.3 -Release: 2 +Release: 3 Source: libxml2-%{version}.tar.bz2 Source1: libxml2-python-rpmlintrc %py_requires @@ -70,13 +70,13 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" # use libxml2 as built by libxml2 source package mkdir .libs cp -v %{_libdir}/libxml2.la . -make -C python +make -C python %{?jobs:-j%jobs} %install make -C python install \ - DESTDIR=$RPM_BUILD_ROOT \ - pythondir=%{py_sitedir} \ - PYTHON_SITE_PACKAGES=%{py_sitedir} + DESTDIR=$RPM_BUILD_ROOT \ + pythondir=%{py_sitedir} \ + PYTHON_SITE_PACKAGES=%{py_sitedir} # Unwanted doc stuff rm -fr $RPM_BUILD_ROOT%{_datadir}/doc rm -f python/tests/Makefile* diff --git a/libxml2.changes b/libxml2.changes index e9044e0..2e771d2 100644 --- a/libxml2.changes +++ b/libxml2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 14 16:14:49 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source +- package documentation as noarch + ------------------------------------------------------------------- Sun Aug 2 16:58:15 UTC 2009 - jansimon.moeller@opensuse.org diff --git a/libxml2.spec b/libxml2.spec index 893de62..7ed0eb4 100644 --- a/libxml2.spec +++ b/libxml2.spec @@ -1,7 +1,7 @@ # # spec file for package libxml2 (Version 2.7.3) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,8 +25,9 @@ Group: System/Libraries Summary: A Library to Manipulate XML Files Url: http://xmlsoft.org Version: 2.7.3 -Release: 2 +Release: 3 Source: %{name}-%{version}.tar.bz2 +Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build # bug437293 %ifarch ppc64 @@ -99,6 +100,9 @@ License: MIT License (or similar) Summary: A Library to Manipulate XML Files Group: System/Libraries Requires: %{name} = %{version} +%if 0%{?suse_version} >= 1120 +BuildArch: noarch +%endif %description doc The XML C library was initially developed for the GNOME project. It is @@ -151,17 +155,17 @@ Authors: --enable-ipv6 make %{?jobs:-j%jobs} DOC_MODULE=packages/%{name} +%install +%makeinstall DOC_MODULE=packages/%{name} +cp -a AUTHORS NEWS README COPYING* Copyright TODO* $RPM_BUILD_ROOT%{_docdir}/%{name}/ +ln -s libxml2/libxml $RPM_BUILD_ROOT%{_includedir}/libxml + %check # qemu-arm can't keep up atm, disabling check for arm %ifnarch %arm make check %endif -%install -%makeinstall DOC_MODULE=packages/%{name} -cp -a AUTHORS NEWS README COPYING* Copyright TODO* $RPM_BUILD_ROOT%{_docdir}/%{name}/ -ln -s libxml2/libxml $RPM_BUILD_ROOT%{_includedir}/libxml - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig