Accepting request 1039372 from home:dmulder:branches:network:samba:STABLE

- Introduce without-smb1-server spec flag; (bsc#1205104);

OBS-URL: https://build.opensuse.org/request/show/1039372
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=673
This commit is contained in:
Samuel Cabrero 2022-12-01 17:32:32 +00:00 committed by Git OBS Bridge
parent 0564bf00be
commit 4ebecf5ac8
4 changed files with 14 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:76377a32c1dce24741c22264cfdbc12d26baf300cd16807736a89313480e2314
size 34249964

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fb1c21abf0553f6cad87f38e1fb63a1d2f55ae41641358806d7714d74d9adfd5
size 34240839

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 1 16:43:05 UTC 2022 - David Mulder <dmulder@suse.com>
- Introduce without-smb1-server spec flag; (bsc#1205104);
-------------------------------------------------------------------
Tue Nov 15 17:14:58 UTC 2022 - Samuel Cabrero <scabrero@suse.de>

View File

@ -56,6 +56,9 @@
%{!?with_mit_dc: %define with_mit_dc 1}
%{!?with_dc: %define with_dc 1}
# Define whether smbd is built with SMB1 disabled
%{!?without_smb1_server: %define without_smb1_server 1}
Name: samba
BuildRequires: autoconf
BuildRequires: cups-devel
@ -145,7 +148,7 @@ BuildRequires: liburing-devel
%endif
BuildRequires: sysuser-tools
Version: 4.17.3+git.279.ff9bb8a298
Version: 4.17.3+git.283.2157972742b
Release: 0
URL: https://www.samba.org/
Obsoletes: samba-32bit < %{version}
@ -682,8 +685,10 @@ CONFIGURE_OPTIONS="\
--bundled-libraries=NONE,socket_wrapper,cmocka,${bundled_libraries_extra} \
--without-fam \
%if 0%{?suse_version} > 1500
%if %{without_smb1_server}
--without-smb1-server \
%endif
%endif
"
./configure ${CONFIGURE_OPTIONS}