Adapt spec file for samba 4.21
From 4.21 onwards Samba no longer provides an independent libldb tarball. The library is now considered to be private and it has to be built from the samba package using a specific configure switch to expose it and the modules path has changed from /usr/lib64/ldb2/modules/ldb/ to /usr/lib64/samba/ldb. In the case of /usr/lib64/samba/ldb/memberof.so the directory /usr/lib64/samba/ldb is owned by libldb2 and sssd requires it, so the directory shouldn't be owned by sssd. But the case of /usr/lib64/samba/idmap/sss.so falls into the "Common directory for unrelated packages" exception from the packaging guidelines. In this case sssd should also own /usr/lib64/samba. Signed-off-by: Samuel Cabrero <scabrero@suse.de>
This commit is contained in:
parent
73fb2a82f6
commit
bb3f79a6c1
@ -654,7 +654,7 @@ fi
|
||||
%dir %_libdir/%name/modules/
|
||||
%_libdir/%name/modules/libsss_autofs.so
|
||||
%_libdir/libsss_sudo.so
|
||||
%ldbdir/
|
||||
%ldbdir/memberof.so
|
||||
%dir %_libexecdir/%name/
|
||||
%_libexecdir/%name/p11_child
|
||||
%_libexecdir/%name/sssd_autofs
|
||||
@ -832,7 +832,9 @@ fi
|
||||
%python3_sitelib/sssd/
|
||||
|
||||
%files winbind-idmap
|
||||
%_libdir/samba/
|
||||
%dir %_libdir/samba
|
||||
%dir %_libdir/samba/idmap
|
||||
%_libdir/samba/idmap/sss.so
|
||||
%_mandir/man8/idmap_sss.8*
|
||||
|
||||
%files -n libipa_hbac0
|
||||
|
Loading…
Reference in New Issue
Block a user