On Fri, Apr 15, 2011 at 01:42:10PM +0200, Michael Calmer wrote: > Hi, > > Am Montag, 11. April 2011, 16:58:21 schrieb Miroslav Suchý: > > On 04/08/2011 02:59 PM, Michael Calmer wrote: > > > Hi, > > > > > > here is the patch to build rhn-custom-info on openSUSE. > > > > > > 0008-build-rhn-custom-info-on-SUSE.patch: > > > - only some specfile modifications > > > > %else > > +%if 0%{?suse_version} > > +Requires: zypp-plugin-spacewalk > > +%else > > > > I would much rather prefer usage of %elif here. > > Hmm, rpm do not support %elif. It does not in OBS and we looked in the > upstream code and also there is elif not implemented. > > > +%dir %{_datadir}/rhn > > > > Again. rhn-custom-info requires yum-rhn-plugin, which requires > > rhn-client-tools, which own this directory. So this should not be there. > > Ok, here is a modified version of the patch.
Pushed to master as fcb043e5c59703a7803be5af2920b95041571db4 and tagged as rhn-custom-info-5.4.12-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