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

pvital at linux.vnet.ibm.com pvital at linux.vnet.ibm.com
Thu Feb 4 18:56:42 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 +++++-----
 3 files changed, 7 insertions(+), 7 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
-- 
2.5.0




More information about the Kimchi-devel mailing list