Accepting request 982791 from home:scabrero:branches:network:ldap

- Use pam rpm macros to avoid hardcoding the directory names;
  (bsc#1191047);
- Do not take ownership of %_pam_confdir directory, it is owned by
  pam package

OBS-URL: https://build.opensuse.org/request/show/982791
OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=267
This commit is contained in:
Jan Engelhardt 2022-06-15 12:27:00 +00:00 committed by Git OBS Bridge
parent 6cd61d4c3d
commit 3bf976bbd1
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Jun 15 11:28:35 UTC 2022 - Samuel Cabrero <scabrero@suse.de>
- Use pam rpm macros to avoid hardcoding the directory names;
(bsc#1191047);
- Do not take ownership of %_pam_confdir directory, it is owned by
pam package
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 13 14:48:28 UTC 2022 - Jan Engelhardt <jengelh@inai.de> Mon Jun 13 14:48:28 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -383,7 +383,7 @@ autoreconf -fiv
--with-syslog=journald \ --with-syslog=journald \
--with-pid-path="%_rundir" \ --with-pid-path="%_rundir" \
--enable-nsslibdir="/%_lib" \ --enable-nsslibdir="/%_lib" \
--enable-pammoddir="/%_lib/security" \ --enable-pammoddir="%_pam_moduledir" \
--with-ldb-lib-dir="%ldbdir" \ --with-ldb-lib-dir="%ldbdir" \
--with-selinux=yes \ --with-selinux=yes \
--with-subid \ --with-subid \
@ -576,8 +576,7 @@ fi
%config(noreplace) %_sysconfdir/sssd/sssd.conf %config(noreplace) %_sysconfdir/sssd/sssd.conf
%config(noreplace) %_sysconfdir/logrotate.d/sssd %config(noreplace) %_sysconfdir/logrotate.d/sssd
%dir %_sysconfdir/sssd/conf.d %dir %_sysconfdir/sssd/conf.d
%dir %_sysconfdir/pam.d/ %config(noreplace) %_pam_confdir/sssd-shadowutils
%config(noreplace) %_sysconfdir/pam.d/sssd-shadowutils
%dir %_datadir/%name/ %dir %_datadir/%name/
%_datadir/%name/cfg_rules.ini %_datadir/%name/cfg_rules.ini
%_datadir/%name/sssd.api.conf %_datadir/%name/sssd.api.conf
@ -588,8 +587,8 @@ fi
# sssd-client # sssd-client
# #
/%_lib/libnss_sss.so.2 /%_lib/libnss_sss.so.2
/%_lib/security/pam_sss.so %_pam_moduledir/pam_sss.so
/%_lib/security/pam_sss_gss.so %_pam_moduledir/pam_sss_gss.so
%_libdir/krb5/ %_libdir/krb5/
%_libdir/%name/modules/sssd_krb5_localauth_plugin.so %_libdir/%name/modules/sssd_krb5_localauth_plugin.so
%_libdir/%name/modules/sssd_krb5_idp_plugin.so %_libdir/%name/modules/sssd_krb5_idp_plugin.so