Resolves: #1687574 - avoid build failure in case we have working ypcat

This commit is contained in:
Kamil Dudka 2019-03-12 09:56:05 +01:00
parent 6ff894c80f
commit 711462cd2d

View File

@ -1,7 +1,7 @@
Summary: Powerful interactive shell Summary: Powerful interactive shell
Name: zsh Name: zsh
Version: 5.7.1 Version: 5.7.1
Release: 2%{?dist} Release: 3%{?dist}
License: MIT License: MIT
URL: http://zsh.sourceforge.net/ URL: http://zsh.sourceforge.net/
Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
@ -73,6 +73,9 @@ sed -e 's|^\.NOTPARALLEL|#.NOTPARALLEL|' -i 'Config/defs.mk.in'
# make loading of module's dependencies work again (#1277996) # make loading of module's dependencies work again (#1277996)
export LIBLDFLAGS='-z lazy' export LIBLDFLAGS='-z lazy'
# avoid build failure in case we have working ypcat (#1687574)
export zsh_cv_sys_nis='no'
%configure \ %configure \
--enable-etcdir=%{_sysconfdir} \ --enable-etcdir=%{_sysconfdir} \
--with-tcsetpgrp \ --with-tcsetpgrp \
@ -151,6 +154,9 @@ fi
%doc Doc/*.html %doc Doc/*.html
%changelog %changelog
* Tue Mar 12 2019 Kamil Dudka <kdudka@redhat.com> - 5.7.1-3
- avoid build failure in case we have working ypcat (#1687574)
* Fri Mar 8 2019 Tim Landscheidt <tim@tim-landscheidt.de> - 5.7.1-2 * Fri Mar 8 2019 Tim Landscheidt <tim@tim-landscheidt.de> - 5.7.1-2
- Remove obsolete requirements for %%post/%%preun scriptlets - Remove obsolete requirements for %%post/%%preun scriptlets