Accepting request 597743 from home:jmcdough:enable-dc-sle15

re-enable python for SLE

OBS-URL: https://build.opensuse.org/request/show/597743
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=596
This commit is contained in:
David Mulder 2018-04-18 12:46:33 +00:00 committed by Git OBS Bridge
parent d5d8b11391
commit dae5dae1c2

View File

@ -28,20 +28,7 @@
%{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d}
%if 0%{?sle_version} >= 150000 && !0%{?is_opensuse}
# SLE15 dropped python2 (bsc#1082139)
# disabling all python things until full python3 port is done
# this removes:
# - contents of package samba-python
# - contents of package libsamba-policy0
# - contents of package libsamba-policy-devel
# - file libsamba-python-samba4.so from pkg samba-libs
# - file libsamba-net-samba4.so from pkg samba-libs
# - bin & manpage of smbtorture from pkg samba-test
%define with_python 0
%else
%define with_python 1
%endif
%if 0%{?sle_version} >= 150000 && !0%{?is_opensuse}
# SLE15 dropped perl-Parse-Yapp
@ -67,7 +54,7 @@
%global with_mitkrb5 1
%global with_dc 0
%if 0%{?suse_version} > 1320 && 0%{?is_opensuse}
%if 0%{?suse_version} > 1320
%ifnarch ppc
%global with_dc 1
%endif