Hi all.
Here is a patch to create sssd/contrib/suse/sssd.spec.in for SLES build.
It's been tested under SLES10SP1 and SLES10SP2.
The only problem is to make main ./configure process use --with-os for
correct detection of spec .
2009/12/9 Sergei V. Kovylov <serejka(a)gmail.com>:
Ok, i'll do this.
2009/12/9 Sumit Bose <sbose(a)redhat.com>:
> 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
> _______________________________________________
> sssd-devel mailing list
> sssd-devel(a)lists.fedorahosted.org
>
https://fedorahosted.org/mailman/listinfo/sssd-devel
>