SHA256
1
0
forked from pool/sssd

Accepting request 984190 from network:ldap

OBS-URL: https://build.opensuse.org/request/show/984190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sssd?expand=0&rev=119
This commit is contained in:
Dominique Leuenberger 2022-06-23 08:22:26 +00:00 committed by Git OBS Bridge
commit 9137f5e8c8
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Jun 21 10:19:54 UTC 2022 - Stefan Schubert <schubi@localhost>
- Removed %config flag for files in /usr directory.
-------------------------------------------------------------------
Tue Jun 21 06:43:27 UTC 2022 - Stefan Schubert <schubi@suse.com>
- Moved logrotate files from user-specific directory /etc/logrotate.d
to vendor-specific directory /usr/etc/logrotate.d.
-------------------------------------------------------------------
Wed Jun 15 11:28:35 UTC 2022 - Samuel Cabrero <scabrero@suse.de>

View File

@ -404,8 +404,13 @@ b="%buildroot"
mkdir -pv "$b/%_sysconfdir/sssd" "$b/%_sysconfdir/sssd/conf.d"
install -m600 src/examples/sssd-example.conf "$b/%_sysconfdir/sssd/sssd.conf"
install -d "$b/%_unitdir"
%if 0%{?suse_version} > 1500
install -d "$b/%_distconfdir/logrotate.d"
install -m644 src/examples/logrotate "$b/%_distconfdir/logrotate.d/sssd"
%else
install -d "$b/%_sysconfdir/logrotate.d"
install -m644 src/examples/logrotate "$b/%_sysconfdir/logrotate.d/sssd"
%endif
rm -Rfv "$b/%_initddir"
mkdir -pv "$b/%sssdstatedir/mc"
@ -574,7 +579,11 @@ fi
%attr(750,root,root) %dir %_localstatedir/log/%name/
%dir %_sysconfdir/sssd/
%config(noreplace) %_sysconfdir/sssd/sssd.conf
%if 0%{?suse_version} > 1500
%_distconfdir/logrotate.d/sssd
%else
%config(noreplace) %_sysconfdir/logrotate.d/sssd
%endif
%dir %_sysconfdir/sssd/conf.d
%config(noreplace) %_pam_confdir/sssd-shadowutils
%dir %_datadir/%name/