Commit 89251d49 authored by Pavel Vainerman's avatar Pavel Vainerman

fixed bug for build with kerberos

parent 87cbdf9e
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Name: nxssh Name: nxssh
Version: 7.5 Version: 7.5
Release: alt0.2 Release: alt0.3
Summary: Openssh portable (etersoft edition) Summary: Openssh portable (etersoft edition)
Packager: Pavel Vainerman <pv@altlinux.ru> Packager: Pavel Vainerman <pv@altlinux.ru>
...@@ -24,8 +24,14 @@ Openssh portable (etersoft edition) ...@@ -24,8 +24,14 @@ Openssh portable (etersoft edition)
%setup %setup
%build %build
with_kerberos=
%if_enabled kerberos5
with_kerberos="--with-kerberos5"
%endif
%autoreconf %autoreconf
%configure --without-zlib-version-check %{subst_enable kerberos5} %configure --without-zlib-version-check ${with_kerberos}
%make_build || %make %make_build || %make
%install %install
...@@ -37,6 +43,9 @@ install -m755 nxssh nxsshd nxssh-keygen %buildroot%_bindir/ ...@@ -37,6 +43,9 @@ install -m755 nxssh nxsshd nxssh-keygen %buildroot%_bindir/
%changelog %changelog
* Wed Nov 01 2017 Pavel Vainerman <pv@altlinux.ru> 7.5-alt0.3
- fixed bug in spec file (--enable-kerberos5 --> --with-kerberos5)
* Mon Oct 30 2017 Pavel Vainerman <pv@altlinux.ru> 7.5-alt0.2 * Mon Oct 30 2017 Pavel Vainerman <pv@altlinux.ru> 7.5-alt0.2
- build with kerberos5 - build with kerberos5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment