[SSSD] sssd.spec for SLES

Sergei V. Kovylov serejka at gmail.com
Thu Dec 10 10:26:11 UTC 2009


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 at gmail.com>:
> Ok, i'll do this.
>
> 2009/12/9 Sumit Bose <sbose at 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 at lists.fedorahosted.org
>> https://fedorahosted.org/mailman/listinfo/sssd-devel
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sssd_spec_sles.patch
Type: text/x-patch
Size: 7749 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20091210/0ad2b6c1/attachment.bin>


More information about the sssd-devel mailing list