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,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*
|
||||
|
||||
Reference in New Issue
Block a user