Hi,

Am Freitag, 8. April 2011, 15:12:19 schrieb Michael Calmer:
> 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?

Attached is a new versoin of this patch, but without the Requires: rhn-
virtualization.

-- 
MFG

        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 31124cc61c32c66f71f1842e212349936cbfac14 Mon Sep 17 00:00:00 2001
From: Michael Calmer <m...@suse.de>
Date: Fri, 15 Apr 2011 11:50:44 +0200
Subject: [PATCH 10/13] build spacewalk-koan on SUSE

- BuildRequire rhn-client-tools to provide directories
  for filelist check in OBS
---
 client/tools/spacewalk-koan/spacewalk-koan.spec |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/client/tools/spacewalk-koan/spacewalk-koan.spec b/client/tools/spacewalk-koan/spacewalk-koan.spec
index 4af05c1..6bc2241 100644
--- a/client/tools/spacewalk-koan/spacewalk-koan.spec
+++ b/client/tools/spacewalk-koan/spacewalk-koan.spec
@@ -12,7 +12,10 @@ BuildArch:      noarch
 BuildRequires:  python
 Requires:       python >= 1.5
 Requires:       koan >= 1.4.3
-
+%if 0%{?suse_version}
+# provide directories for filelist check in OBS
+BuildRequires: rhn-client-tools
+%endif
 Conflicts: rhn-kickstart
 Conflicts: rhn-kickstart-common
 Conflicts: rhn-kickstart-virtualization
-- 
1.7.3.4

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

Reply via email to