On Wed, Nov 12, 2014 at 02:48:28PM +0100, Jan Pazdziora wrote:
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.
Hmm, doesn't Requires(pre) specify what is required for the %pre
scriptlet?
But thank you both! Sumit also found out that there might be a loop between
/usr/lib/sssd/libsss_ldap_common.so and
/usr/lib/sssd/libsss_krb5_common.so ...