Hi, here is the patch to build rhn-custom-info on openSUSE.
0008-build-rhn-custom-info-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 f6aab93e04de6dbcb18bc27b2b75cc1f8b0cb1a7 Mon Sep 17 00:00:00 2001 From: Michael Calmer <m...@suse.de> Date: Mon, 4 Apr 2011 16:13:39 +0200 Subject: [PATCH 08/17] build rhn-custom-info on SUSE - modify the specfile --- client/tools/rhncustominfo/rhn-custom-info.spec | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/client/tools/rhncustominfo/rhn-custom-info.spec b/client/tools/rhncustominfo/rhn-custom-info.spec index e6adbf5..f1638e5 100644 --- a/client/tools/rhncustominfo/rhn-custom-info.spec +++ b/client/tools/rhncustominfo/rhn-custom-info.spec @@ -21,8 +21,12 @@ Requires: rhnlib %if 0%{?rhel} >= 5 || 0%{?fedora} >= 1 Requires: yum-rhn-plugin %else +%if 0%{?suse_version} +Requires: zypp-plugin-spacewalk +%else Requires: up2date %endif +%endif %description Allows for the setting and listing of custom key/value pairs for @@ -46,6 +50,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) +%dir %{_datadir}/rhn %{_bindir}/rhn-custom-info %dir %{_datadir}/rhn/custominfo %{_datadir}/rhn/custominfo/rhn-custom-info.py* -- 1.7.3.4
_______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel