From a2624d6db80ebd739024b3aed71c466eecf42496 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 6 Dec 2024 19:25:17 +0100 Subject: [PATCH] samba-server: call tmpfiles_create in post script to fix file not existing when called in pre script [release 4.21.2-2mamba;Fri Dec 06 2024] --- samba.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/samba.spec b/samba.spec index a0c2cad..a02254b 100644 --- a/samba.spec +++ b/samba.spec @@ -1,6 +1,6 @@ Name: samba Version: 4.21.2 -Release: 1mamba +Release: 2mamba Summary: Samba provides seamless file and print services to SMB/CIFS clients Group: System/Servers Vendor: openmamba @@ -315,10 +315,10 @@ mkdir %{buildroot}%{_localstatedir}/lib/samba/usershares %pre server %sysusers_create_package samba-server %{SOURCE2} -%tmpfiles_create samba.conf : %post server +%tmpfiles_create samba.conf if [ $1 -gt 1 ]; then # remove UTF-8 unix charset definition (leave default) to fix smb4k sed -i "/unix charset = LOCALE/d" %{_sysconfdir}/samba/smb.conf @@ -588,6 +588,9 @@ fi %{_mandir}/man8/winbindd.* %changelog +* Fri Dec 06 2024 Silvan Calarco 4.21.2-2mamba +- samba-server: call tmpfiles_create in post script to fix file not existing when called in pre script + * Tue Nov 26 2024 Automatic Build System 4.21.2-1mamba - automatic version update by autodist