[Kimchi-devel] [PATCH V2] [Kimchi] Add python-pillow as RPM dependency.

pvital at linux.vnet.ibm.com pvital at linux.vnet.ibm.com
Fri Feb 5 12:24:22 UTC 2016


From: Paulo Vital <pvital at linux.vnet.ibm.com>

Distros based on RPM replaced PIL (python-imaging) with Pillow (python-pillow).
This patch add Pillow as dependency to prevent Kimchi to not be loaded during
Wok startup.

Distros based on DEB still have python-imaging package as option to install.

Signed-off-by: Paulo Vital <pvital at linux.vnet.ibm.com>
---
 contrib/kimchi.spec.fedora.in |  2 +-
 contrib/kimchi.spec.suse.in   |  2 +-
 docs/fedora-deps.md           | 10 +++++-----
 docs/opensuse-deps.md         |  2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/contrib/kimchi.spec.fedora.in b/contrib/kimchi.spec.fedora.in
index cc69da2..c2111f9 100644
--- a/contrib/kimchi.spec.fedora.in
+++ b/contrib/kimchi.spec.fedora.in
@@ -17,7 +17,7 @@ Requires:	libvirt-daemon-config-network
 Requires:	python-websockify
 Requires:	python-configobj
 Requires:	novnc
-Requires:	python-imaging
+Requires:	python-pillow
 Requires:	pyparted
 Requires:	python-psutil >= 0.6.0
 Requires:	python-jsonschema >= 1.3.0
diff --git a/contrib/kimchi.spec.suse.in b/contrib/kimchi.spec.suse.in
index e9951b6..59207fd 100644
--- a/contrib/kimchi.spec.suse.in
+++ b/contrib/kimchi.spec.suse.in
@@ -17,7 +17,7 @@ Requires:	libvirt-daemon-config-network
 Requires:	python-websockify
 Requires:	python-configobj
 Requires:	novnc
-Requires:	python-imaging
+Requires:	python-pillow
 Requires:	python-parted
 Requires:	python-psutil >= 0.6.0
 Requires:	python-jsonschema >= 1.3.0
diff --git a/docs/fedora-deps.md b/docs/fedora-deps.md
index 505993f..ca24994 100644
--- a/docs/fedora-deps.md
+++ b/docs/fedora-deps.md
@@ -26,11 +26,11 @@ Runtime Dependencies
 --------------------

     $ sudo yum install libvirt-python libvirt libvirt-daemon-config-network \
-                        qemu-kvm python-ethtool sos python-ipaddr \
-                        nfs-utils iscsi-initiator-utils pyparted \
-                        python-libguestfs libguestfs-tools \
-                        python-websockify novnc spice-html5 \
-                        python-configobj python-magic python-paramiko
+                        qemu-kvm python-ethtool sos python-ipaddr nfs-utils \
+                        iscsi-initiator-utils pyparted python-libguestfs \
+                        libguestfs-tools python-websockify novnc spice-html5 \
+                        python-configobj python-magic python-paramiko \
+                        python-pillow

     # For RHEL systems, install the additional packages:
     $ sudo yum install python-ordereddict
diff --git a/docs/opensuse-deps.md b/docs/opensuse-deps.md
index d89cf3f..a8763b3 100644
--- a/docs/opensuse-deps.md
+++ b/docs/opensuse-deps.md
@@ -34,7 +34,7 @@ Runtime Dependencies
                             nfs-client open-iscsi python-parted \
                             python-libguestfs python-configobj guestfs-tools \
                             python-websockify novnc python-magic \
-                            python-paramiko
+                            python-paramiko python-pillow

 Packages required for UI development
 ------------------------------------
--
2.5.0




More information about the Kimchi-devel mailing list