From 7cdd25b7d8a5f64b86e9d32e4b59986b068a7639 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:07:56 +0100 Subject: [PATCH] install tmpfiles.d/nscd.conf [release 2.30-6mamba;Tue Dec 10 2019] --- glibc.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/glibc.spec b/glibc.spec index 7b4ad71..80b4988 100644 --- a/glibc.spec +++ b/glibc.spec @@ -84,7 +84,7 @@ Name: glibc Version: 2.30 -Release: 5mamba +Release: 6mamba Summary: The GNU libc libraries Group: System/Libraries Vendor: openmamba @@ -556,6 +556,7 @@ install -d %{buildroot}/var/log/nscd install -D -m644 %{SOURCE4} %{buildroot}%{_sysconfdir}/logrotate.d/nscd install -D -m644 %{SOURCE5} %{buildroot}%{_sysconfdir}/nscd.conf install -D -m644 nscd/nscd.service %{buildroot}%{_unitdir}/nscd.service +install -D -m644 nscd/nscd.tmpfiles %{buildroot}%{_tmpfilesdir}/nscd.conf %else rm -rf %{buildroot}%{_sysconfdir} rm -rf %{buildroot}%{_infodir} @@ -671,6 +672,9 @@ fi : %post -n nscd +if [ $1 -ge 1 ]; then + %tmpfiles_create nscd.conf +fi %systemd_post nscd : @@ -812,6 +816,7 @@ fi %config(noreplace) %{_sysconfdir}/logrotate.d/nscd %config(noreplace) %{_sysconfdir}/nscd.conf %{_unitdir}/nscd.service +%{_tmpfilesdir}/nscd.conf %{_sbindir}/nscd %attr(0755,nscd,nscd) /var/log/nscd @@ -836,6 +841,9 @@ fi %endif %changelog +* Tue Dec 10 2019 Silvan Calarco 2.30-6mamba +- install tmpfiles.d/nscd.conf + * Thu Dec 05 2019 Silvan Calarco 2.30-5mamba - x86: rebuilt with gcc with cet support to fix 'ld-linux.so.2: corrupt GNU_PROPERTY_TYPE (5) size: 0'