From b7cc1a47149a7b13c080605e9acbfc177c5fb604 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Sun, 24 Nov 2019 00:24:23 +0300 Subject: [PATCH] Fix symlink (2) Fixes 4001a7c17a42598dce5b30f8c9e7e4f581df2c3a and c9832df6eb7ebecb39de9d625bbd031c3668938e --- samba.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samba.spec b/samba.spec index 715b784..f3b78ec 100644 --- a/samba.spec +++ b/samba.spec @@ -89,7 +89,7 @@ Summary: Samba SMB server Name: samba Version: 4.10.10 -Release: 7 +Release: 8 Epoch: 1 License: GPLv3+ Group: System/Servers @@ -1489,7 +1489,7 @@ sed -i -e 's,@ROSA_PLATFORM@,%{rosa_release},g' %{buildroot}/%{_sysconfdir}/%{na sed -i -e 's,@smb_usershare_dir@,%{smb_usershare_dir},g' %{buildroot}/%{_sysconfdir}/%{name}/smb.conf mkdir -p %{buildroot}/%{_libdir}/cups/backend -ln -sr %{buildroot}%{_libexecdir}/samba/smbspool_krb5_wrapper %{buildroot}%{_libdir}/cups/backend/smb +( cd %{buildroot}%{_libdir}/cups/backend ; ln -s %{_libexecdir}/samba/smbspool_krb5_wrapper smb ) echo 127.0.0.1 localhost > %{buildroot}/%{_sysconfdir}/%{name}/lmhosts