On Dienstag, 4. November 2014, 11:54:32 wrote Jean Delvare:
Hi all,
I have a package which builds fine for all SUSE targets in OBS, but fails for Redhat-like distributions with the following error:
error: line 68: Unknown tag: Recommends: procmail
I seem to understand that Redhat's rpm does not support the "Recommends" tag, is that right? I would like to know what is the
right. except you use latest upstream rpm on redhat.
proper way to deal with this. I could not find anything related to this topic in the packager's guidelines.
The first thing I would try is:
%if 0%{?suse_version} > 0 Recommends: procmail %endif
Is that the right approach? Or is there a different tag I should use for non-SUSE targets?
looks good to me.
Either way, I am surprised that OBS does not handle this all by itself, as this seems to be a fairly generic problem.
but what should the build script do? Just drop the line? Others want to have it as Require instead, since the default is to install it... -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org