Skip to content

Commit f96eff6

Browse files
committed
rpmspec: Use explicit value for PYTHONARCHDIR
With the recent update[1] to waf 2.1.5 in upstream Samba, PYTHONARCHDIR is incorrectly set for Python >= 3.10 causing failures during the build process. Issue[2] is under scrutiny and in the meantime override the value by explicit mention with '--pythonarchdir' during configure. [1] https://gitlab.com/samba-team/samba/-/merge_requests/4040 [2] https://gitlab.com/ita1024/waf/-/issues/2472
1 parent d01cc20 commit f96eff6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packaging/samba-master.spec.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,7 @@ export python_LDFLAGS="$(echo ${LDFLAGS} | sed -e 's/-Wl,-z,defs//g')"
11751175
--with-lockdir=/var/lib/samba/lock \
11761176
--with-statedir=/var/lib/samba \
11771177
--with-cachedir=/var/lib/samba \
1178+
--pythonarchdir=%{python3_sitearch} \
11781179
--disable-rpath-install \
11791180
--with-shared-modules=%{_samba_modules} \
11801181
--bundled-libraries=%{_samba_libraries} \

0 commit comments

Comments
 (0)