SHA256
1
0
forked from pool/samba

Accepting request 947215 from home:scabrero:branches:network:samba:STABLE

- Use pkgconfig(krb5) as dependency for the -devel package: allow
  OBS to pick the right flavor of krb5-devel (full vs mini).
- Do not require the 'krb5' symbol by samba-client-libs: this
  package has an automatic dependency due to linkage on
  libgssapi_krb5.so.2. Automatic deps are always better.
- Do not require the 'krb5' symbol from samba-libs: samba-libs
  requires samba-client-libs, which in turn requires krb5
  libraries. Samba-libs itself has no need for krb5 (but get it
  indirectly anyway).

OBS-URL: https://build.opensuse.org/request/show/947215
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=657
This commit is contained in:
2022-01-18 12:53:25 +00:00
committed by Git OBS Bridge
parent da1b1cf876
commit f2db233692
4 changed files with 18 additions and 7 deletions

View File

@@ -205,7 +205,7 @@ BuildRequires: liburing-devel
%else
%define build_make_smp_mflags %{?jobs:-j%jobs}
%endif
Version: 4.15.3+git.217.e1ef4460515
Version: 4.15.3+git.219.40cc1cd8591
Release: 0
URL: https://www.samba.org/
Obsoletes: samba-32bit < %{version}
@@ -320,7 +320,7 @@ Requires: samba-winbind-libs
%if %{with_dc}
Requires: samba-ad-dc-libs
%if %{with_mit_dc}
Requires: krb5-devel
Requires: pkgconfig(krb5)
%endif
%endif
Provides: samba-core-devel = %{version}
@@ -388,7 +388,6 @@ the man pages.
Summary: Samba client libraries
License: GPL-3.0-or-later
Group: Development/Libraries/C and C++
Requires: krb5
Provides: libsmbclient0 = %{version}
Obsoletes: libsmbclient0 < %{version}
Provides: libndr2 = %{version}
@@ -438,7 +437,6 @@ programs.
Summary: Samba libraries
License: GPL-3.0-or-later
Group: Development/Libraries/C and C++
Requires: krb5
Requires: samba-client-libs = %{version}
Recommends: samba-libs-python3 = %{version}
Provides: libdcerpc-samr0 = %{version}