forked from pool/libxml2
Updating link to change in openSUSE:Factory/libxml2 revision 23.0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=84897df632656bff1b0e567834f93345
This commit is contained in:
committed by
Git OBS Bridge
parent
d1a2c5b144
commit
d1a9926d58
@@ -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
|
||||
|
||||
|
||||
@@ -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*
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
18
libxml2.spec
18
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
|
||||
|
||||
Reference in New Issue
Block a user