Enable avahi support on post-12.2 systems.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=447
This commit is contained in:
Lars Müller 2015-01-14 12:38:58 +00:00 committed by Git OBS Bridge
parent fdc8fa7283
commit a7b3ca17cc
4 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:c73596b6d2f31cac1469e56359424526f342e4f4dc23cd1613f4235db92666d9 oid sha256:a1d19f1357be061cd1176364f2e6c5f7716d3ed5311d0f26d17db2c4286af84e
size 329066 size 328975

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 13 13:28:31 UTC 2015 - mpluskal@suse.com
- Enable avahi support on post-12.2 systems.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 13 13:01:11 UTC 2015 - lmuelle@suse.com Tue Jan 13 13:01:11 UTC 2015 - lmuelle@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package samba # spec file for package samba
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -118,6 +118,7 @@ BuildRequires: dbus-1-devel
BuildRequires: libxslt-tools BuildRequires: libxslt-tools
%endif %endif
%if 0%{?suse_version} > 1220 %if 0%{?suse_version} > 1220
BuildRequires: libavahi-devel
BuildRequires: systemd BuildRequires: systemd
BuildRequires: systemd-devel BuildRequires: systemd-devel
%endif %endif
@ -145,7 +146,7 @@ BuildRequires: systemd-devel
%else %else
%define build_make_smp_mflags %{?jobs:-j%jobs} %define build_make_smp_mflags %{?jobs:-j%jobs}
%endif %endif
%define SOURCE_TIMESTAMP 3345 %define SOURCE_TIMESTAMP 3346
%define BRANCH %{version} %define BRANCH %{version}
%global with_mitkrb5 1 %global with_mitkrb5 1
%global with_dc 0 %global with_dc 0
@ -1200,6 +1201,7 @@ CONFIGURE_OPTIONS="\
--with-quotas \ --with-quotas \
--with-syslog \ --with-syslog \
%if 0%{?suse_version} > 1220 %if 0%{?suse_version} > 1220
--enable-avahi \
--with-systemd \ --with-systemd \
%endif %endif
--with-utmp \ --with-utmp \

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:383f692e69f35e528a544964c13016b91639c53425f657a928376a090d7eb310 oid sha256:866a645731f364b4ebde5efeadd60801850b306abd4a5570cbabef29f33cb2d3
size 54565 size 54529