From 847949e090c6dcc10af0f6b1ab58114d9cd9b543 Mon Sep 17 00:00:00 2001 From: Hyunjee Kim Date: Thu, 28 May 2020 10:32:22 +0900 Subject: [PATCH] Separate python-libxml2 from libxml2 * python-libxml2: https://review.tizen.org/gerrit/233663 * python3-libxml2: https://review.tizen.org/gerrit/233789 Change-Id: Ifff4ffd3d16f3a3a22d9d681b483266b263d55eb Signed-off-by: Hyunjee Kim --- packaging/python-libxml2.spec | 67 ------------------------------------------- 1 file changed, 67 deletions(-) delete mode 100644 packaging/python-libxml2.spec diff --git a/packaging/python-libxml2.spec b/packaging/python-libxml2.spec deleted file mode 100644 index b75c0ea..0000000 --- a/packaging/python-libxml2.spec +++ /dev/null @@ -1,67 +0,0 @@ -Name: python-libxml2 -Version: 2.9.10 -Release: 0 -Summary: Python Bindings for libxml2 -License: MIT -Group: Development/Python -Url: http://xmlsoft.org -Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: libxml2-devel -BuildRequires: python-devel -BuildRequires: python-xml -Requires: libxml2 = %{version} -Obsoletes: libxml2-python < %{version} -Provides: libxml2-python = %{version} - -%description -The libxml2-python package contains a module that permits applications -written in the Python programming language to use the interface -supplied by the libxml2 library to manipulate XML files. - -This library allows manipulation of XML files. It includes support for -reading, modifying, and writing XML and HTML files. There is DTD -support that includes parsing and validation even with complex DTDs, -either at parse time or later once the document has been modified. - -%prep -%setup -q -n libxml2-%{version} - -%build -export CFLAGS="%{optflags} -fno-strict-aliasing" -%autogen -%configure \ - --with-fexceptions \ - --with-history \ - --enable-ipv6 \ - --with-sax1 \ - --with-regexps \ - --with-threads \ - --with-reader \ - --with-http - -# use libxml2 as built by libxml2 source package -mkdir .libs -cp -v %{_libdir}/libxml2.la . -make -C python %{?_smp_mflags} - -%install -make -C python install \ - DESTDIR=%{buildroot} \ - pythondir=%{py_sitedir} \ - PYTHON_SITE_PACKAGES=%{py_sitedir} -chmod a-x python/tests/*.py -# Unwanted doc stuff -rm -fr %{buildroot}%{_datadir}/doc -rm -f python/tests/Makefile* -# #223696 -rm -f %{buildroot}%{py_sitedir}/*.{la,a} - -%files -%defattr(-, root, root) -%license Copyright -%doc python/libxml2class.txt -%doc python/tests -%{py_sitedir}/* - -%changelog -- 2.7.4