SHA256
1
0
forked from pool/sssd

Accepting request 984101 from home:schubi2

- Moved logrotate files from user specif directory /etc/logrotate.d
  to vendor specif directory /usr/etc/logrotate.d.

OBS-URL: https://build.opensuse.org/request/show/984101
OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=268
This commit is contained in:
Jan Engelhardt 2022-06-21 08:13:19 +00:00 committed by Git OBS Bridge
parent 3bf976bbd1
commit 4ac5b75ba3
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 21 06:43:27 UTC 2022 - Stefan Schubert <schubi@suse.com>
- Moved logrotate files from user specif directory /etc/logrotate.d
to vendor specif 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
%config %_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/