Accepting request 534110 from home:computersalat:devel:mail

fix build for SLE(nothing provides libnsl-devel)

OBS-URL: https://build.opensuse.org/request/show/534110
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=281
This commit is contained in:
Christian Wittmer 2017-10-15 23:10:09 +00:00 committed by Git OBS Bridge
parent 862bfafd53
commit af685a8a5f
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Oct 15 22:47:29 UTC 2017 - chris@computersalat.de
- fix build for SLE
* nothing provides libnsl-devel
* add bcond_with libnsl
-------------------------------------------------------------------
Wed Oct 4 10:58:28 UTC 2017 - varkoly@suse.com

View File

@ -18,8 +18,10 @@
%if 0%{?suse_version} >= 1320 || ( 0%{?suse_version} == 1315 && 0%{?is_opensuse} )
%bcond_without lmdb
%bcond_without libnsl
%else
%bcond_with lmdb
%bcond_with libnsl
%endif
#
@ -91,7 +93,9 @@ BuildRequires: libopenssl-devel
BuildRequires: lmdb-devel
%endif
BuildRequires: libicu-devel
%if %{with libnsl}
BuildRequires: libnsl-devel
%endif
BuildRequires: mysql-devel
BuildRequires: openldap2-devel
BuildRequires: pcre-devel