[SSSD] Problems with SSSD RPM subpackage ordering

Jan Pazdziora jpazdziora at redhat.com
Wed Nov 12 13:48:28 UTC 2014


On Wed, Nov 12, 2014 at 03:37:42PM +0200, Alexander Bokovoy wrote:
> >
> >Also, does anyone spot an issue with our Requires? I couldn't see any,
> >but maybe I just overlooked it..
>
> If you are requiring a package to be installed before this one is
> installed, it should be in PreReq:, not in Requires:.
> 
> %package krb5-common
> Summary: SSSD helpers needed for Kerberos and GSSAPI authentication
> Group: Applications/System
> License: GPLv3+
> Conflicts: sssd < %{version}-%{release}
> Requires: cyrus-sasl-gssapi
> PreReq: sssd-common = %{version}-%{release}

I think Requires(pre) is the recommended syntax these days. It helps
people remember that they can also use it for other scriptlet times if
they need to.

-- 
Jan Pazdziora
Principal Software Engineer, Identity Management Engineering, Red Hat



More information about the sssd-devel mailing list