SHA256
8
0
forked from pool/libxml2

checked in (request 29091)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=6
This commit is contained in:
OBS User autobuild
2010-01-14 21:26:39 +00:00
committed by Git OBS Bridge
parent 99d1a9115b
commit d1a2c5b144
5 changed files with 9 additions and 24 deletions

View File

@@ -1,8 +1,3 @@
-------------------------------------------------------------------
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 Thu Mar 19 10:16:50 CET 2009 - prusnak@suse.cz

View File

@@ -70,13 +70,13 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
# use libxml2 as built by libxml2 source package # use libxml2 as built by libxml2 source package
mkdir .libs mkdir .libs
cp -v %{_libdir}/libxml2.la . cp -v %{_libdir}/libxml2.la .
make -C python %{?jobs:-j%jobs} make -C python
%install %install
make -C python install \ make -C python install \
DESTDIR=$RPM_BUILD_ROOT \ DESTDIR=$RPM_BUILD_ROOT \
pythondir=%{py_sitedir} \ pythondir=%{py_sitedir} \
PYTHON_SITE_PACKAGES=%{py_sitedir} PYTHON_SITE_PACKAGES=%{py_sitedir}
# Unwanted doc stuff # Unwanted doc stuff
rm -fr $RPM_BUILD_ROOT%{_datadir}/doc rm -fr $RPM_BUILD_ROOT%{_datadir}/doc
rm -f python/tests/Makefile* rm -f python/tests/Makefile*

View File

@@ -1,9 +1,3 @@
-------------------------------------------------------------------
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 Sun Aug 2 16:58:15 UTC 2009 - jansimon.moeller@opensuse.org

View File

@@ -27,7 +27,6 @@ Url: http://xmlsoft.org
Version: 2.7.3 Version: 2.7.3
Release: 2 Release: 2
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Source2: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
@@ -100,9 +99,6 @@ License: MIT License (or similar)
Summary: A Library to Manipulate XML Files Summary: A Library to Manipulate XML Files
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version} Requires: %{name} = %{version}
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%description doc %description doc
The XML C library was initially developed for the GNOME project. It is The XML C library was initially developed for the GNOME project. It is
@@ -155,17 +151,17 @@ Authors:
--enable-ipv6 --enable-ipv6
make %{?jobs:-j%jobs} DOC_MODULE=packages/%{name} 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 %check
# qemu-arm can't keep up atm, disabling check for arm # qemu-arm can't keep up atm, disabling check for arm
%ifnarch %arm %ifnarch %arm
make check make check
%endif %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 %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig

0
ready Normal file
View File