Re: [Spacewalk-devel] [PATCH] build rhnpush on openSUSE
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
Re: [Spacewalk-devel] [PATCH] build rhnpush on openSUSE
On Fri, Apr 15, 2011 at 01:45:32PM +0200, Michael Calmer wrote: 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 Pushed to master as 68a62d0c98976d3224ac3fb4edf53260259f6e9b and tagged as rhnpush-5.5.26-1. Thanks, -- Jan Pazdziora Principal Software Engineer, Satellite Engineering, Red Hat ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
[Spacewalk-devel] [PATCH] build rhnpush on openSUSE
Hi, here is the patch to build rhnpush on openSUSE. 0009-build-rhnpush-on-SUSE.patch: - only some specfile modifications -- 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 ae5b4c241c5937c0560f7cca3b190e4b1b32e00f Mon Sep 17 00:00:00 2001 From: Michael Calmer m...@suse.de Date: Mon, 4 Apr 2011 16:26:21 +0200 Subject: [PATCH 09/17] build rhnpush on SUSE - modify the specfile --- client/tools/rhnpush/rhnpush.spec |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/client/tools/rhnpush/rhnpush.spec b/client/tools/rhnpush/rhnpush.spec index 43f0008..b81784e 100644 --- a/client/tools/rhnpush/rhnpush.spec +++ b/client/tools/rhnpush/rhnpush.spec @@ -19,6 +19,7 @@ Requires: up2date Requires: rhn-client-tools %endif BuildRequires: docbook-utils, gettext +BuildRequires: python-devel Summary: Package uploader for the Red Hat Network Satellite Server @@ -46,6 +47,8 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) +%dir %{rhnroot} +%dir %{_sysconfdir}/sysconfig/rhn %dir %{rhnroot}/rhnpush %{rhnroot}/rhnpush/* %attr(755,root,root) %{_bindir}/rhnpush -- 1.7.3.4 ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel