[Kimchi-devel] [PATCH 1/3] Raw volumes validation: update contrib and README

pvital at linux.vnet.ibm.com pvital at linux.vnet.ibm.com
Tue Sep 15 17:30:17 UTC 2015


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

Update Fedora and Suse spec files, Debian control file and README.md
to add python-magic requirement.

Signed-off-by: Paulo Vital <pvital at linux.vnet.ibm.com>
---
 contrib/DEBIAN/control.in     |  3 ++-
 contrib/kimchi.spec.fedora.in |  1 +
 contrib/kimchi.spec.suse.in   |  1 +
 docs/README.md                | 11 +++++------
 4 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/contrib/DEBIAN/control.in b/contrib/DEBIAN/control.in
index a288e9b..1211f1f 100644
--- a/contrib/DEBIAN/control.in
+++ b/contrib/DEBIAN/control.in
@@ -28,7 +28,8 @@ Depends: python-cherrypy3 (>= 3.2.0),
          python-guestfs,
          python-ldap,
          libguestfs-tools,
-         spice-html5
+         spice-html5,
+         python-magic
 Build-Depends: libxslt,
                openssl,
                python-lxml
diff --git a/contrib/kimchi.spec.fedora.in b/contrib/kimchi.spec.fedora.in
index 183fd43..8463930 100644
--- a/contrib/kimchi.spec.fedora.in
+++ b/contrib/kimchi.spec.fedora.in
@@ -33,6 +33,7 @@ Requires:	iscsi-initiator-utils
 Requires:	python-ldap
 Requires:	python-libguestfs
 Requires:	libguestfs-tools
+Requires:	python-magic
 BuildRequires:	libxslt
 BuildRequires:	openssl
 BuildRequires:	python-lxml
diff --git a/contrib/kimchi.spec.suse.in b/contrib/kimchi.spec.suse.in
index 54228ae..b6f00d4 100644
--- a/contrib/kimchi.spec.suse.in
+++ b/contrib/kimchi.spec.suse.in
@@ -33,6 +33,7 @@ Requires:	nginx
 Requires:	open-iscsi
 Requires:	python-libguestfs
 Requires:	guestfs-tools
+Requires:	python-magic
 BuildRequires:	libxslt-tools
 BuildRequires:	openssl
 BuildRequires:	python-lxml
diff --git a/docs/README.md b/docs/README.md
index 034a591..541b4c8 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -55,7 +55,7 @@ Install Dependencies
                         python-ipaddr python-ldap python-lxml nfs-utils \
                         iscsi-initiator-utils libxslt pyparted nginx \
                         python-libguestfs libguestfs-tools python-websockify \
-                        novnc spice-html5 python-configobj
+                        novnc spice-html5 python-configobj python-magic
 
      # If using RHEL, install the following additional packages:
      $ sudo yum install python-unittest2 python-ordereddict
@@ -87,7 +87,7 @@ channel at RHN Classic or Red Hat Satellite.
                            sosreport python-ipaddr python-ldap \
                            python-lxml nfs-common open-iscsi lvm2 xsltproc \
                            python-parted nginx python-guestfs libguestfs-tools \
-                           websockify novnc spice-html5
+                           websockify novnc spice-html5 python-magic
 
     Packages version requirement:
         python-jsonschema >= 1.3.0
@@ -106,7 +106,7 @@ channel at RHN Classic or Red Hat Satellite.
                           python-ipaddr python-ldap python-lxml nfs-client \
                           open-iscsi libxslt-tools python-xml python-parted \
                           nginx python-libguestfs python-configobj \
-                          guestfs-tools python-websockify novnc
+                          guestfs-tools python-websockify novnc python-magic
 
     Packages version requirement:
         python-psutil >= 0.6.0
@@ -117,9 +117,8 @@ channel at RHN Classic or Red Hat Satellite.
 *Note for openSUSE users*: Some of the above packages are located in different
 openSUSE repositories. See
 [this FAQ](http://download.opensuse.org/repositories/home:GRNET:synnefo/) for
-python-parted; and
-[this FAQ](http://download.opensuse.org/repositories/systemsmanagement:/spacewalk/)
-for python-ethtool to get the correct repository based on your openSUSE version. And
+python-parted, [this FAQ](http://download.opensuse.org/repositories/systemsmanagement:/spacewalk/)
+for python-ethtool, and [this FAQ](http://download.opensuse.org/repositories/home:/Simmphonie:/python/) for python-magic to get the correct repository based on your openSUSE version. And
 [this FAQ](http://en.opensuse.org/SDB:Add_package_repositories) for more
 information on how configure your system to access this repository.
 
-- 
2.4.3




More information about the Kimchi-devel mailing list