Seperating python-xml package from python-libs package
Change-Id: Id48969173f52631d5d5c327415a5da226946c33d
Reviewed-on: http://photon-jenkins.eng.vmware.com/89
Reviewed-by: Sharath George
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
| ... | ... |
@@ -32,6 +32,7 @@ Group: Development/Languages |
| 32 | 32 |
Requires: gobject-introspection |
| 33 | 33 |
BuildRequires: python2-devel |
| 34 | 34 |
BuildRequires: python2-libs |
| 35 |
+BuildRequires: python-xml |
|
| 35 | 36 |
Requires: python2 |
| 36 | 37 |
%description python |
| 37 | 38 |
This package contains a Python package for handling the introspection |
| ... | ... |
@@ -45,6 +46,7 @@ Requires: glib-devel |
| 45 | 45 |
Requires: python2 |
| 46 | 46 |
Requires: python2-devel |
| 47 | 47 |
Requires: python2-libs |
| 48 |
+Requires: python-xml |
|
| 48 | 49 |
|
| 49 | 50 |
%description devel |
| 50 | 51 |
Libraries and headers for gobject-introspection. |
| ... | ... |
@@ -22,6 +22,7 @@ BuildRequires: subversion-devel >= 1.8.13 |
| 22 | 22 |
BuildRequires: cyrus-sasl >= 2.1.26 |
| 23 | 23 |
BuildRequires: python2 >= 2.6 |
| 24 | 24 |
BuildRequires: python2-libs |
| 25 |
+BuildRequires: python-xml |
|
| 25 | 26 |
BuildRequires: python2-devel |
| 26 | 27 |
Requires: apr >= 1.5.2 |
| 27 | 28 |
Requires: apr-util >= 1.5.4 |
| ... | ... |
@@ -11,6 +11,7 @@ Source0: https://projects.archlinux.org/mkinitcpio.git/snapshot/%{name}-%{ver
|
| 11 | 11 |
%define sha1 mkinitcpio=0e124990118d170f6852efe46d889b5adae6dfd6 |
| 12 | 12 |
BuildRequires: asciidoc |
| 13 | 13 |
BuildRequires: python2-libs |
| 14 |
+BuildRequires: python-xml |
|
| 14 | 15 |
BuildRequires: docbook-xsl |
| 15 | 16 |
BuildRequires: libxml2-devel |
| 16 | 17 |
BuildRequires: libxslt |
| ... | ... |
@@ -19,6 +19,7 @@ BuildRequires: openssl-devel |
| 19 | 19 |
BuildRequires: python2 >= 2.7.0 |
| 20 | 20 |
BuildRequires: python2-devel |
| 21 | 21 |
BuildRequires: python2-libs |
| 22 |
+BuildRequires: python-xml |
|
| 22 | 23 |
BuildRequires: python-setuptools |
| 23 | 24 |
|
| 24 | 25 |
Requires: libcap-ng |
| ... | ... |
@@ -26,6 +27,7 @@ Requires: openssl |
| 26 | 26 |
Requires: PyYAML |
| 27 | 27 |
Requires: python2 |
| 28 | 28 |
Requires: python2-libs |
| 29 |
+Requires: python-xml |
|
| 29 | 30 |
Requires: python-configobj |
| 30 | 31 |
Requires: python-jsonpatch |
| 31 | 32 |
Requires: python-prettytable |
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
Summary: A high-level scripting language |
| 2 | 2 |
Name: python2 |
| 3 | 3 |
Version: 2.7.9 |
| 4 |
-Release: 3%{?dist}
|
|
| 4 |
+Release: 4%{?dist}
|
|
| 5 | 5 |
License: PSF |
| 6 | 6 |
URL: http://www.python.org/ |
| 7 | 7 |
Group: System Environment/Programming |
| ... | ... |
@@ -47,6 +47,14 @@ The python interpreter can be embedded into applications wanting to |
| 47 | 47 |
use python as an embedded scripting language. The python-libs package |
| 48 | 48 |
provides the libraries needed for this. |
| 49 | 49 |
|
| 50 |
+%package -n python-xml |
|
| 51 |
+Summary: XML libraries for python runtime |
|
| 52 |
+Group: Applications/System |
|
| 53 |
+Requires: python2-libs = %{version}-%{release}
|
|
| 54 |
+ |
|
| 55 |
+%description -n python-xml |
|
| 56 |
+The python-xml package provides the libraries needed for XML manipulation. |
|
| 57 |
+ |
|
| 50 | 58 |
%package devel |
| 51 | 59 |
Summary: The libraries and header files needed for Python development. |
| 52 | 60 |
Group: Development/Libraries |
| ... | ... |
@@ -158,11 +166,16 @@ rm -rf %{buildroot}/*
|
| 158 | 158 |
%exclude %{_libdir}/python2.7/sqlite3/test
|
| 159 | 159 |
%exclude %{_libdir}/python2.7/idlelib/idle_test
|
| 160 | 160 |
%exclude %{_libdir}/python2.7/test
|
| 161 |
-#%exclude %{_libdir}/python2.7/unittest
|
|
| 162 | 161 |
%exclude %{_libdir}/python2.7/lib-dynload/_ctypes_test.so
|
| 163 | 162 |
%exclude %{_libdir}/python2.7/config
|
| 164 | 163 |
%exclude %{_libdir}/python2.7/config/*
|
| 165 | 164 |
%exclude %{_libdir}/libpython2.7.so
|
| 165 |
+%exclude %{_libdir}/python2.7/xml
|
|
| 166 |
+%exclude %{_libdir}/python2.7/lib-dynload/pyexpat.so
|
|
| 167 |
+ |
|
| 168 |
+%files -n python-xml |
|
| 169 |
+%{_libdir}/python2.7/xml
|
|
| 170 |
+%{_libdir}/python2.7/lib-dynload/pyexpat.so
|
|
| 166 | 171 |
|
| 167 | 172 |
%files devel |
| 168 | 173 |
%defattr(-,root,root) |
| ... | ... |
@@ -186,9 +199,14 @@ rm -rf %{buildroot}/*
|
| 186 | 186 |
%{_bindir}/idle*
|
| 187 | 187 |
|
| 188 | 188 |
%changelog |
| 189 |
+* Thu Oct 29 2015 Mahmoud Bassiouny <mbassiouny@vmware.com> 2.7.9-4 |
|
| 190 |
+- Seperate python-xml package from python-libs package |
|
| 191 |
+ |
|
| 189 | 192 |
* Fri Jun 19 2015 Alexey Makhalov <amakhalov@vmware.com> 2.7.9-3 |
| 190 | 193 |
- Provide /bin/python |
| 194 |
+ |
|
| 191 | 195 |
* Wed Jun 3 2015 Divya Thaluru <dthaluru@vmware.com> 2.7.9-2 |
| 192 | 196 |
- Adding coreutils package to run time required package |
| 197 |
+ |
|
| 193 | 198 |
* Mon Apr 6 2015 Divya Thaluru <dthaluru@vmware.com> 2.7.9-1 |
| 194 | 199 |
- Initial build. First version |
| ... | ... |
@@ -9,7 +9,7 @@ |
| 9 | 9 |
"nspr", "libxml2-devel", "hawkey-devel", "lua", "libarchive", "nss", "rpm", "librepo", |
| 10 | 10 |
"librepo-devel", "dracut", "cracklib", "ncurses", "zlib", "file", "elfutils-libelf", |
| 11 | 11 |
"libsoup", "device-mapper-libs", "hawkey", "readline", "libsoup-devel", "device-mapper", |
| 12 |
- "mkinitcpio", "python2-libs", "dracut-tools", "libgsystem", "nettle-devel", "libhif", |
|
| 12 |
+ "mkinitcpio", "python2-libs", "python-xml", "dracut-tools", "libgsystem", "nettle-devel", "libhif", |
|
| 13 | 13 |
"libtasn1-devel", "libarchive-devel", "cracklib-dicts", "findutils", "efivar", "grub2", |
| 14 | 14 |
"cpio", "shadow", "dbus", "python-requests", "pkg-config", "dosfstools", "sed", "json-glib", |
| 15 | 15 |
"python-hawkey", "libhif-devel", "grub2-efi", "linux", "cracklib-python", "gpgme-devel", |
| ... | ... |
@@ -3,7 +3,7 @@ |
| 3 | 3 |
"pkg-config", "bash", "bzip2", "shadow", "procps-ng", "iana-etc", "coreutils", "bc", "libtool", "net-tools", |
| 4 | 4 |
"findutils", "xz", "iproute2", "util-linux", "kmod", "linux", "ca-certificates", "curl", "iptables", "Linux-PAM", |
| 5 | 5 |
"systemd", "dbus", "file", "e2fsprogs", "rpm", |
| 6 |
- "openssh", "gdbm", "python2", |
|
| 6 |
+ "openssh", "gdbm", "python2", "python2-libs", "python-xml", |
|
| 7 | 7 |
"photon-release", |
| 8 | 8 |
"sed", "grep", "cpio", "gzip", "vim", "db", "tdnf", |
| 9 | 9 |
"open-vm-tools", |
| ... | ... |
@@ -3,7 +3,7 @@ |
| 3 | 3 |
"pkg-config", "bash", "bzip2", "shadow", "procps-ng", "iana-etc", "coreutils", "bc", "libtool", "net-tools", |
| 4 | 4 |
"findutils", "xz", "iproute2", "util-linux", "kmod", "linux-esx", "ca-certificates", "curl", "iptables", "Linux-PAM", |
| 5 | 5 |
"systemd", "dbus", "file", "e2fsprogs", "rpm", |
| 6 |
- "openssh", "gdbm", "python2", |
|
| 6 |
+ "openssh", "gdbm", "python2", "python2-libs", "python-xml", |
|
| 7 | 7 |
"photon-release", |
| 8 | 8 |
"sed", "grep", "cpio", "gzip", "vim", "db", "tdnf", |
| 9 | 9 |
"open-vm-tools", |
| ... | ... |
@@ -2,7 +2,7 @@ |
| 2 | 2 |
"packages": ["gc", "libunistring", "libffi", "libltdl", "gmp", "guile", "openssl", |
| 3 | 3 |
"autogen", "ncurses", "ca-certificates", "libtasn1", "e2fsprogs", "nettle", |
| 4 | 4 |
"bzip2", "e2fsprogs-devel", "xz", "readline", "glibc", "sqlite-autoconf", |
| 5 |
- "bash", "python2", "nspr", "gnutls", "filesystem", "libgcc", "krb5", |
|
| 5 |
+ "bash", "python2", "python2-libs", "python-xml", "nspr", "gnutls", "filesystem", "libgcc", "krb5", |
|
| 6 | 6 |
"libassuan", "libxml2", "expat", "gdbm", "openssl-devel", "popt", "curl", |
| 7 | 7 |
"nss", "gpgme", "systemd", "libsolv", "coreutils", "lua", "libgpg-error", |
| 8 | 8 |
"elfutils-libelf", "libcap", "glib", "glib-networking", "file", "Linux-PAM", |