Browse code

Separating libxml2 python modules from the main package.

Mahmoud Bassiouny authored on 2015/07/07 08:56:20
Showing 4 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Docbook-xml-4.5
2 2
 Name:		docbook-xml
3 3
 Version:	4.5
4
-Release:	2%{?dist}
4
+Release:	3%{?dist}
5 5
 License:	MIT
6 6
 URL:		http://www.docbook.org
7 7
 Source0:	http://www.docbook.org/xml/4.5/%{name}-%{version}.zip
... ...
@@ -9,7 +9,9 @@ Group:		Development/Tools
9 9
 Vendor:		VMware, Inc.
10 10
 Distribution: 	Photon
11 11
 Requires: 	libxml2
12
+Requires:   libxml2-python
12 13
 BuildRequires: 	libxml2
14
+BuildRequires:  libxml2-python
13 15
 BuildRequires: 	unzip
14 16
 %description
15 17
 The DocBook XML DTD-4.5 package contains document type definitions for 
... ...
@@ -131,6 +133,8 @@ rm /etc/xml/docbook
131 131
 /usr/share/xml/docbook/%{name}-%{version}
132 132
 /etc/xml
133 133
 %changelog
134
+*   Mon Jul 6 2015 Mahmoud Bassiouny <mbassiouny@vmware.com> 4.5.1-3
135
+-   Updated dependencies.
134 136
 *   Wed May 20 2015 Touseef Liaqat <tliaqat@vmware.com> 4.5.1-2
135 137
 -   Updated group.
136 138
 *	Mon Nov 24 2014 Divya Thaluru <dthaluru@vmware.com> 4.5-1
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Libxml2-2.9.1
2 2
 Name:		libxml2
3 3
 Version:	2.9.1
4
-Release:	2%{?dist}
4
+Release:	3%{?dist}
5 5
 License:	MIT
6 6
 URL:		http://xmlsoft.org/
7 7
 Group:		System Environment/General Libraries
... ...
@@ -16,6 +16,17 @@ Provides:	pkgconfig(libxml-2.0)
16 16
 %description
17 17
 The libxml2 package contains libraries and utilities used for parsing XML files. 
18 18
 
19
+%package python
20
+Summary:    The libxml2 python module
21
+Group:      Development/Languages/Python
22
+Requires:   libxml2
23
+Requires:   python2
24
+Requires:   python2-libs
25
+
26
+%description python
27
+The libxml2 python module
28
+
29
+
19 30
 %package devel
20 31
 Summary:    Libraries and header files for libxml
21 32
 Requires:	%{name} = %{version}
... ...
@@ -48,7 +59,6 @@ rm -rf %{buildroot}/*
48 48
 %defattr(-,root,root)
49 49
 %{_docdir}/*
50 50
 %{_libdir}/libxml*
51
-%{_libdir}/python*
52 51
 %{_libdir}/xml2Conf.sh
53 52
 %{_bindir}/*
54 53
 %{_datadir}/aclocal/*
... ...
@@ -56,12 +66,18 @@ rm -rf %{buildroot}/*
56 56
 %{_mandir}/man1/*
57 57
 %{_mandir}/man3/*
58 58
 
59
+%files python
60
+%defattr(-,root,root)
61
+%{_libdir}/python*
62
+
59 63
 %files devel
60 64
 %defattr(-,root,root)
61 65
 %{_includedir}/*
62 66
 %{_libdir}/pkgconfig/libxml-2.0.pc
63 67
 
64 68
 %changelog
69
+*   Thu Jul 2 2015 Mahmoud Bassiouny <mbassiouny@vmware.com> 2.9.1-3
70
+-   Seperate the python module from the main library
65 71
 *	Thu Jun 11 2015 Alexey Makhalov <amakhalov@vmware.com> 2.9.1-2
66 72
 -	Moved 'Provides: pkgconfig(...)' into base package
67 73
 *	Mon Oct 13 2014 Divya Thaluru <dthaluru@vmware.com> 2.9.1-1
... ...
@@ -3,7 +3,7 @@
3 3
                 "pkg-config", "ncurses", "readline", "bash", "bzip2", "cracklib", "cracklib-dicts", "shadow", "procps-ng", "iana-etc", "coreutils", "bc", "libtool", "inetutils",
4 4
                 "findutils", "xz", "grub", "iproute2", "util-linux", "openssl", "kmod", "linux", "ca-certificates", "curl", "iptables", "Linux-PAM",
5 5
                 "attr", "libcap", "systemd", "expat", "dbus", "file", "e2fsprogs", "elfutils-libelf", "lua", "popt", "sqlite-autoconf", "nspr", "nss", "rpm",
6
-                "openssh", "libffi", "gdbm", "python2", "python2-libs", "pcre", "glib", "libxml2",
6
+                "openssh", "libffi", "gdbm", "python2", "python2-libs", "pcre", "glib", "libxml2", "libxml2-python",
7 7
                 "photon-release",
8 8
                 "sed", "grep", "cpio", "gzip", "nano", "db", "libsolv", "libgpg-error", "hawkey", "libassuan", "gpgme", "librepo", "tdnf",
9 9
                 "libdnet", "xerces-c", "xml-security-c", "libmspack", "open-vm-tools",
... ...
@@ -3,7 +3,7 @@
3 3
                 "pkg-config", "ncurses", "readline", "bash", "bzip2", "cracklib", "cracklib-dicts", "shadow", "procps-ng", "iana-etc", "coreutils", "bc", "libtool", "inetutils",
4 4
                 "findutils", "xz", "grub", "iproute2", "util-linux", "openssl", "kmod", "linux", "ca-certificates", "curl", "iptables", "Linux-PAM",
5 5
                 "attr", "libcap", "systemd", "expat", "dbus", "file", "e2fsprogs", "elfutils-libelf", "lua", "popt", "sqlite-autoconf", "nspr", "nss", "rpm",
6
-                "openssh", "libffi", "gdbm", "python2", "python2-libs", "pcre", "glib", "libxml2",
6
+                "openssh", "libffi", "gdbm", "python2", "python2-libs", "pcre", "glib", "libxml2", "libxml2-python",
7 7
                 "photon-release",
8 8
                 "sed", "grep", "cpio", "gzip", "vim", "db", "libsolv", "libgpg-error", "hawkey", "libassuan", "gpgme", "librepo", "tdnf",
9 9
                 "libdnet", "xerces-c", "xml-security-c", "libmspack", "open-vm-tools",