]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Discard 'K5DIR' reporting.
authornkadel <nkadel@gmail.com>
Sun, 16 Nov 2014 23:18:51 +0000 (18:18 -0500)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 9 Feb 2018 22:58:32 +0000 (09:58 +1100)
It does not work inside 'mock' build environment.

contrib/redhat/openssh.spec

index a66502e9fd41cbdafccfb2ebb189550555d7261e..80a09ec30193e7b7d1c5697f4a2f6ec9b2e727e9 100644 (file)
@@ -193,11 +193,6 @@ environment.
 CFLAGS="$RPM_OPT_FLAGS -Os"; export CFLAGS
 %endif
 
-%if %{kerberos5}
-K5DIR=`rpm -ql krb5-devel | grep 'include/krb5\.h' | sed 's,\/include\/krb5.h,,'`
-echo K5DIR=$K5DIR
-%endif
-
 %configure \
        --sysconfdir=%{_sysconfdir}/ssh \
        --libexecdir=%{_libexecdir}/openssh \
@@ -417,6 +412,7 @@ fi
 - Add 'dist' option to 'ver' so package names reflect OS at build time
 - Always include x11-ssh-askpass tarball in SRPM
 - Add openssh-x11-aspass BuildRequires for libXT-devel, imake, gtk2-devel
+- Discard 'K5DIR' reporting, not usable inside 'mock' for RHEL 5 compatibility
 - Discard obsolete '--with-rsh' configure option
 - Update openssl-devel dependency to 0.9.8f, as found in autoconf