Hi,

here is the patch to build spacewalk-koan on openSUSE.

0011-build-spacewalk-koan-on-SUSE.patch:
- modify the specfile
- require virtualization packages
  It seems, that code of spacewalk-koan import modules from 
  rhn-virtualization. So I added these requires to the specfile.

  Is there a special reason why it is not there, or simply forgot to add this
  requirement?

-- 
Regards,

        Michael Calmer

--------------------------------------------------------------------------
Michael Calmer
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
T: +49 (0) 911 74053 0
F: +49 (0) 911 74053575  - e-mail: michael.cal...@suse.com
--------------------------------------------------------------------------
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
From 30054d1b13c57c4693f565d99437c2466838e635 Mon Sep 17 00:00:00 2001
From: Michael Calmer <m...@suse.de>
Date: Tue, 5 Apr 2011 11:00:39 +0200
Subject: [PATCH 11/17] build spacewalk-koan on SUSE

- modify the specfile
- require virtualization packages
---
 client/tools/spacewalk-koan/spacewalk-koan.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/client/tools/spacewalk-koan/spacewalk-koan.spec b/client/tools/spacewalk-koan/spacewalk-koan.spec
index d184849..0124dec 100644
--- a/client/tools/spacewalk-koan/spacewalk-koan.spec
+++ b/client/tools/spacewalk-koan/spacewalk-koan.spec
@@ -12,6 +12,8 @@ BuildArch:      noarch
 BuildRequires:  python
 Requires:       python >= 1.5
 Requires:       koan >= 1.4.3
+Requires:       rhn-virtualization-common
+Requires:       rhn-virtualization-host
 
 Conflicts: rhn-kickstart
 Conflicts: rhn-kickstart-common
@@ -47,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_sbindir}/*
 %{_datadir}/rhn/spacewalkkoan/
 %{_datadir}/rhn/actions/
+%dir %{_datadir}/rhn
+%dir %{_sysconfdir}/sysconfig/rhn
+%dir %{_sysconfdir}/sysconfig/rhn/clientCaps.d
 
 %changelog
 * Wed Feb 02 2011 Tomas Lestach <tlest...@redhat.com> 0.2.16-1
-- 
1.7.3.4

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to