Hi,

Am Montag, 11. April 2011, 17:18:13 schrieb Miroslav Suchý:
> On 04/08/2011 03:01 PM, Michael Calmer wrote:
> > Hi,
> > 
> > here is the patch to build rhnpush on openSUSE.
> > 
> > 0009-build-rhnpush-on-SUSE.patch:
> > - only some specfile modifications
> 
> Applied only first part. And next time I would to see instead of
> - modify the specfile
> some better explanation why this is done. Well I from first line I know
> that it is because Suse build, but why? Do you receive some error in
> OBS. Do you get some Traceback. Or is it some kind of policy (link)?...
> 
> The rest is as in previous commits. Directories are already owned by
> rhn-client-tools.

Here is the patch for the missing filelist issue with a short explanation
why we BuildRequire rhn-client-tools

-- 
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 7377dc046ff4a1bb2ad4eb480e5f0ba8ff40ccb6 Mon Sep 17 00:00:00 2001
From: Michael Calmer <m...@suse.de>
Date: Fri, 15 Apr 2011 10:30:07 +0200
Subject: [PATCH 08/13] build rhnpush on SUSE

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

diff --git a/client/tools/rhnpush/rhnpush.spec b/client/tools/rhnpush/rhnpush.spec
index 3d68847..220608c 100644
--- a/client/tools/rhnpush/rhnpush.spec
+++ b/client/tools/rhnpush/rhnpush.spec
@@ -18,6 +18,10 @@ Requires:      up2date
 %else
 Requires:      rhn-client-tools
 %endif
+%if 0%{?suse_version}
+# provides rhn directories for filelist check in OBS
+BuildRequires:      rhn-client-tools
+%endif
 BuildRequires: docbook-utils, gettext
 BuildRequires: python-devel
 
-- 
1.7.3.4

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

Reply via email to