From 9a06dbaf41646d4a6a531259b42aa2850f02d0a8 Mon Sep 17 00:00:00 2001 From: liquor <1692257904@qq.com> Date: Sat, 19 Sep 2020 10:00:11 +0800 Subject: [PATCH] install default sssd.conf file --- sssd.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sssd.spec b/sssd.spec index d387085..00cc5c2 100644 --- a/sssd.spec +++ b/sssd.spec @@ -1,6 +1,6 @@ Name: sssd Version: 2.2.3 -Release: 2 +Release: 3 Summary: System Security Services Daemon License: GPLv3+ and LGPLv3+ URL: https://pagure.io/SSSD/sssd/ @@ -215,6 +215,9 @@ sed -i -e 's:/usr/bin/python:/usr/bin/python3:' src/tools/sss_obfuscate %make_install /usr/lib/rpm/find-lang.sh $RPM_BUILD_ROOT sssd +# install default sssd.conf file +install -m600 src/examples/sssd-example.conf $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.conf + mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d install -m644 src/examples/logrotate $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/sssd @@ -379,7 +382,7 @@ done %attr(700,root,root) %dir %{_sysconfdir}/sssd %attr(711,root,root) %dir %{_sysconfdir}/sssd/conf.d %attr(711,root,root) %dir %{_sysconfdir}/sssd/pki -%ghost %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sssd/sssd.conf +%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sssd/sssd.conf %dir %{_sysconfdir}/logrotate.d %config(noreplace) %{_sysconfdir}/logrotate.d/sssd %config(noreplace) /etc/ld.so.conf.d/* @@ -576,6 +579,9 @@ fi %{_libdir}/%{name}/modules/libwbclient.so %changelog +* Sat Sep 19 2020 Liquor - 2.2.3-3 +- install default sssd.conf file + * Sat Aug 1 2020 Liquor - 2.2.3-2 - Fix build failure against samba 4.12.5 -- Gitee