[SSSD] sssd.spec for SLES

Sumit Bose sbose at redhat.com
Wed Dec 9 13:28:26 UTC 2009


On Wed, Dec 09, 2009 at 02:21:05PM +0300, Sergei V. Kovylov wrote:
> Here you may find a patch for sssd.spec file which provide correct
> build sssd for SLES (testes on SLES10SP1).
> In brief:
> There are 3 essences:
> redhat
> fedora
> sles
> which are detected by  /etc/<vendor release file> existence (ex.
> /etc/SuSE-release) in spec and all necessary actions are doing along
> the OS detection.
> Additionally for SLES there is "--without-selinux" flag while
> configuring, as SLES doesn't support SELinux.

Thank you for the patch. Can you please provide the spec file for the
SLES build as a separate file in sssd/contrib/suse/sssd.spec.in ? See
https://fedorahosted.org/pipermail/sssd-devel/2009-December/001786.html
for the reasoning.

I would also recommend not to use the /etc/*-release files to check for
the distribution, but rely on the variables defined by rpm. I have made
the experience that, e.g. the openSUSE build system does not always
install /etc/SuSE-release for SUSE builds. But there is a nice overview
of the variables defined by various distributions in
http://en.opensuse.org/Build_Service/cross_distribution_package_how_to

bye,
Sumit



More information about the sssd-devel mailing list