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

Fixup samba spec file for python3

OBS-URL: https://build.opensuse.org/request/show/590413
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=591
This commit is contained in:
Samuel Cabrero 2018-03-26 11:09:50 +00:00 committed by Git OBS Bridge
parent 57dbe355e9
commit 9217577d0b

View File

@ -357,7 +357,7 @@ and Wireshark to parse IDL and similar protocols
%package python %package python
Summary: Samba Python libraries Summary: Samba Python libraries
License: GPL-3.0+ License: GPL-3.0+
Group: Applications/System Group: Development/Libraries/Python
%if %{with_python} %if %{with_python}
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: python-ldb Requires: python-ldb
@ -370,11 +370,10 @@ Requires: python-tevent
The samba-python package contains the Python libraries needed by programs The samba-python package contains the Python libraries needed by programs
that use SMB, RPC and other Samba provided protocols in Python programs. that use SMB, RPC and other Samba provided protocols in Python programs.
%if %{with_python3}
%package python3 %package python3
Summary: Samba Python3 libraries Summary: Samba Python3 libraries
License: GPL-3.0+ License: GPL-3.0+
Group: Applications/System Group: Development/Libraries/Python
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: python3-ldb Requires: python3-ldb
Requires: python3-talloc Requires: python3-talloc
@ -384,7 +383,6 @@ Requires: python3-tevent
%description python3 %description python3
The samba-python3 package contains the Python libraries needed by programs The samba-python3 package contains the Python libraries needed by programs
that use SMB, RPC and other Samba provided protocols in Python3 programs. that use SMB, RPC and other Samba provided protocols in Python3 programs.
%endif
%package test %package test
Summary: Testing tools for Samba servers and clients Summary: Testing tools for Samba servers and clients