Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package crmsh for openSUSE:Factory checked in at 2022-10-25 11:39:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crmsh (Old) and /work/SRC/openSUSE:Factory/.crmsh.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "crmsh" Tue Oct 25 11:39:46 2022 rev:264 rq:1031083 version:4.4.1+20221014.0b04f693 Changes: -------- --- /work/SRC/openSUSE:Factory/crmsh/crmsh.changes 2022-10-17 14:57:59.394126158 +0200 +++ /work/SRC/openSUSE:Factory/.crmsh.new.2275/crmsh.changes 2022-10-25 11:39:48.420522378 +0200 @@ -1,0 +2,5 @@ +Tue Oct 25 03:30:02 UTC 2022 - Nicholas Yang <nicholas.yang@suse.com> + +- Packaging: create /var/log/crmsh with tmpfiles.d (bsc#1204670) + +------------------------------------------------------------------- New: ---- crmsh.tmpfiles.d.conf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crmsh.spec ++++++ --- /var/tmp/diff_new_pack.pCdjeS/_old 2022-10-25 11:39:49.092523864 +0200 +++ /var/tmp/diff_new_pack.pCdjeS/_new 2022-10-25 11:39:49.100523882 +0200 @@ -40,6 +40,7 @@ Release: 0 URL: http://crmsh.github.io Source0: %{name}-%{version}.tar.bz2 +Source1: %{name}.tmpfiles.d.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} @@ -174,10 +175,15 @@ install -Dm0755 %{buildroot}%{_bindir}/crm %{buildroot}%{_sbindir}/crm rm %{buildroot}%{_bindir}/crm fi +install -d -m 0755 %{buildroot}%{_tmpfilesdir} +install -m 0644 %{SOURCE1} %{buildroot}%{_tmpfilesdir}/%{name}.conf %if 0%{?suse_version} %fdupes %{buildroot} %endif +%post +%tmpfiles_create %{_tmpfilesdir}/%{name}.conf + %if %{with regression_tests} # Run regression tests after installing the package # NB: this is called twice by OBS, that's why we touch the file @@ -212,6 +218,8 @@ %exclude %{_datadir}/%{name}/tests %exclude %{_datadir}/%{name}/scripts +%{_tmpfilesdir}/%{name}.conf + %doc %{_mandir}/man8/* %{crmsh_docdir}/COPYING %{crmsh_docdir}/AUTHORS ++++++ crmsh.tmpfiles.d.conf ++++++ d /var/log/crmsh 0775 hacluster haclient -