SHA256
1
0
forked from pool/samba

Accepting request 655866 from network:samba:STABLE

OBS-URL: https://build.opensuse.org/request/show/655866
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/samba?expand=0&rev=244
This commit is contained in:
Dominique Leuenberger 2019-01-05 13:39:45 +00:00 committed by Git OBS Bridge
commit 4179c21dd6
5 changed files with 95 additions and 15 deletions

View File

@ -11,6 +11,7 @@ libsamba-errors0
libsamba-hostconfig0 libsamba-hostconfig0
libsamba-passdb0 libsamba-passdb0
obsoletes "libpdb0-<targettype> < <version>" obsoletes "libpdb0-<targettype> < <version>"
libsamba-policy0-python3
libsamba-policy0 libsamba-policy0
libsamba-util0 libsamba-util0
libsamdb0 libsamdb0
@ -27,4 +28,6 @@ samba-client
supplements "packageand(samba-client:glibc-<targettype>)" supplements "packageand(samba-client:glibc-<targettype>)"
-/usr/lib/samba -/usr/lib/samba
samba-libs samba-libs
samba-libs-python3
samba-libs-python
samba-ad-dc samba-ad-dc

View File

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

View File

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Nov 29 15:54:27 UTC 2018 - David Mulder <dmulder@suse.com>
- Remove python2 build dependency from samba-libs; (bsc#1116900);
-------------------------------------------------------------------
Wed Nov 28 09:35:06 UTC 2018 - Samuel Cabrero <scabrero@suse.de>
- Update update-apparmor-samba-profile script to ignore the shares's
paths containing substitution variables in any place, not only at the
beginning of the path.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 19 12:28:56 UTC 2018 - Samuel Cabrero <scabrero@suse.de> Mon Nov 19 12:28:56 UTC 2018 - Samuel Cabrero <scabrero@suse.de>

View File

@ -168,7 +168,7 @@ BuildRequires: krb5-devel
%else %else
%define build_make_smp_mflags %{?jobs:-j%jobs} %define build_make_smp_mflags %{?jobs:-j%jobs}
%endif %endif
Version: 4.9.3+git.113.3f6a4cdc269 Version: 4.9.3+git.121.c328d5e9101
Release: 0 Release: 0
Url: https://www.samba.org/ Url: https://www.samba.org/
Obsoletes: samba-32bit < %{version} Obsoletes: samba-32bit < %{version}
@ -318,11 +318,31 @@ Requires: krb5
%if 0%{?suse_version} > 1210 && 0%{?suse_version} < 1315 %if 0%{?suse_version} > 1210 && 0%{?suse_version} < 1315
Requires: libfam0-gamin Requires: libfam0-gamin
%endif %endif
Requires: samba-libs-python = %{version}
%description libs %description libs
The samba-libs package contains the libraries needed by programs that The samba-libs package contains the libraries needed by programs that
link against the SMB, RPC and other protocols provided by the Samba suite. link against the SMB, RPC and other protocols provided by the Samba suite.
%package libs-python3
Summary: Python3 dependencies of samba-libs
License: GPL-3.0-or-later
Group: Development/Libraries/C and C++
Requires: python3
Provides: samba-libs-python
%description libs-python3
Dependencies of samba-libs that require python3.
%package libs-python
Summary: Python2 dependencies of samba-libs
License: GPL-3.0-or-later
Group: Development/Libraries/C and C++
Requires: python
%description libs-python
Dependencies of samba-libs that require python2.
%package pidl %package pidl
Summary: Perl IDL compiler Summary: Perl IDL compiler
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -345,6 +365,7 @@ Requires: python-ldb
Requires: python-talloc Requires: python-talloc
Requires: python-tdb Requires: python-tdb
Requires: python-tevent Requires: python-tevent
Requires: libsamba-policy0 = %{version}
%endif %endif
%description python %description python
@ -360,6 +381,7 @@ Requires: python3-ldb
Requires: python3-talloc Requires: python3-talloc
Requires: python3-tdb Requires: python3-tdb
Requires: python3-tevent Requires: python3-tevent
Requires: libsamba-policy0-python3 = %{version}
%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
@ -703,20 +725,46 @@ License: GPL-3.0-or-later
Group: System/Libraries Group: System/Libraries
%description -n libsamba-policy0 %description -n libsamba-policy0
This subpackage contains the library for policy management. This subpackage contains the python2 library for policy management.
%package -n libsamba-policy0-python3
Summary: Active Directory Group Policy library
License: GPL-3.0-or-later
Group: System/Libraries
%description -n libsamba-policy0-python3
This subpackage contains the python3 library for policy management.
%package -n libsamba-policy-devel %package -n libsamba-policy-devel
Summary: Development files for the Samba AD Group Policy library Summary: Development files for the Samba AD Group Policy library
License: GPL-3.0-or-later License: GPL-3.0-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libsamba-policy0 = %{version} Requires: libsamba-policy-python-devel = %{version}
%description -n libsamba-policy-devel %description -n libsamba-policy-devel
This subpackage contains libraries and header files for developing This subpackage contains libraries and header files for developing
applications that want to make use of libsamba-policy. applications that want to make use of libsamba-policy.
%package -n libsamba-policy-python3-devel
Summary: Development files for the Samba AD Group Policy library
License: GPL-3.0-or-later
Group: Development/Libraries/C and C++
Requires: libsamba-policy0-python3 = %{version}
Provides: libsamba-policy-python-devel
%description -n libsamba-policy-python3-devel
This subpackage contains libraries and header files for developing
applications that want to make use of libsamba-policy.
%package -n libsamba-policy-python-devel
Summary: Development files for the Samba AD Group Policy library
License: GPL-3.0-or-later
Group: Development/Libraries/C and C++
Requires: libsamba-policy0 = %{version}
%description -n libsamba-policy-python-devel
This subpackage contains libraries and header files for developing
applications that want to make use of libsamba-policy.
%package -n libsamba-util0 %package -n libsamba-util0
Summary: Samba utility function library Summary: Samba utility function library
@ -1509,6 +1557,10 @@ fi
%postun -n libsamba-hostconfig0 -p /sbin/ldconfig %postun -n libsamba-hostconfig0 -p /sbin/ldconfig
%post -n libsamba-passdb0 -p /sbin/ldconfig %post -n libsamba-passdb0 -p /sbin/ldconfig
%postun -n libsamba-passdb0 -p /sbin/ldconfig %postun -n libsamba-passdb0 -p /sbin/ldconfig
%if %{with_python3}
%post -n libsamba-policy0-python3 -p /sbin/ldconfig
%postun -n libsamba-policy0-python3 -p /sbin/ldconfig
%endif
%if %{with_python} %if %{with_python}
%post -n libsamba-policy0 -p /sbin/ldconfig %post -n libsamba-policy0 -p /sbin/ldconfig
%postun -n libsamba-policy0 -p /sbin/ldconfig %postun -n libsamba-policy0 -p /sbin/ldconfig
@ -1950,14 +2002,6 @@ exit 0
%{_libdir}/samba/libsamba-security-samba4.so %{_libdir}/samba/libsamba-security-samba4.so
%{_libdir}/samba/libsamba-sockets-samba4.so %{_libdir}/samba/libsamba-sockets-samba4.so
%{_libdir}/samba/libsamba3-util-samba4.so %{_libdir}/samba/libsamba3-util-samba4.so
%if %{with_python}
%{_libdir}/samba/libsamba-python-samba4.so
%{_libdir}/samba/libsamba-net-samba4.so
%endif
%if %{with_python3}
%{_libdir}/samba/libsamba-net.%{py3_soflags_dash}-samba4.so
%{_libdir}/samba/libsamba-python.%{py3_soflags_dash}-samba4.so
%endif
%{_libdir}/samba/libsamdb-common-samba4.so %{_libdir}/samba/libsamdb-common-samba4.so
%{_libdir}/samba/libsecrets3-samba4.so %{_libdir}/samba/libsecrets3-samba4.so
%{_libdir}/samba/libserver-id-db-samba4.so %{_libdir}/samba/libserver-id-db-samba4.so
@ -1993,6 +2037,18 @@ exit 0
%{_libdir}/samba/pdb/smbpasswd.so %{_libdir}/samba/pdb/smbpasswd.so
%{_libdir}/samba/pdb/tdbsam.so %{_libdir}/samba/pdb/tdbsam.so
%files libs-python3
%if %{with_python3}
%{_libdir}/samba/libsamba-net.%{py3_soflags_dash}-samba4.so
%{_libdir}/samba/libsamba-python.%{py3_soflags_dash}-samba4.so
%endif
%files libs-python
%if %{with_python}
%{_libdir}/samba/libsamba-python-samba4.so
%{_libdir}/samba/libsamba-net-samba4.so
%endif
%if %{with_pidl} %if %{with_pidl}
%files pidl %files pidl
%defattr(-,root,root) %defattr(-,root,root)
@ -2381,18 +2437,27 @@ exit 0
%if %{with_python} %if %{with_python}
%_libdir/libsamba-policy.so.0* %_libdir/libsamba-policy.so.0*
%endif %endif
%files -n libsamba-policy0-python3
%defattr(-,root,root)
%if %{with_python3} %if %{with_python3}
%_libdir/libsamba-policy.%{py3_soflags_dash}.so.0* %_libdir/libsamba-policy.%{py3_soflags_dash}.so.0*
%endif %endif
%files -n libsamba-policy-devel %files -n libsamba-policy-devel
%defattr(-,root,root) %defattr(-,root,root)
%if %{with_python}
%dir %_includedir/samba-4.0/ %dir %_includedir/samba-4.0/
%_includedir/samba-4.0/policy.h %_includedir/samba-4.0/policy.h
%files -n libsamba-policy-python-devel
%defattr(-,root,root)
%if %{with_python}
%_libdir/libsamba-policy.so %_libdir/libsamba-policy.so
%_libdir/pkgconfig/samba-policy.pc %_libdir/pkgconfig/samba-policy.pc
%endif %endif
%files -n libsamba-policy-python3-devel
%defattr(-,root,root)
%if %{with_python3} %if %{with_python3}
%_libdir/libsamba-policy.%{py3_soflags_dash}.so %_libdir/libsamba-policy.%{py3_soflags_dash}.so
%_libdir/pkgconfig/samba-policy.%{py3_soflags}.pc %_libdir/pkgconfig/samba-policy.%{py3_soflags}.pc