diff --git a/krb5.spec b/krb5.spec index 203527b..4eb03e8 100644 --- a/krb5.spec +++ b/krb5.spec @@ -16,7 +16,7 @@ Summary: The Kerberos network authentication system. Name: krb5 Version: 1.6.3 -Release: 13%{?dist} +Release: 14%{?dist} # Maybe we should explode from the now-available-to-everybody tarball instead? # http://web.mit.edu/kerberos/dist/krb5/1.6/krb5-1.6.2-signed.tar Source0: krb5-%{version}.tar.gz @@ -232,6 +232,10 @@ to obtain initial credentials from a KDC using a private key and a certificate. %changelog +* Sat Jun 14 2008 Tom "spot" Callaway 1.6.3-14 +- generate src/include/krb5/krb5.h before building +- fix conditional for sparcv9 + * Wed Apr 16 2008 Nalin Dahyabhai 1.6.3-13 - ftp: use the correct local filename during mget when the 'case' option is enabled (#442713) @@ -1418,7 +1422,7 @@ done cd src INCLUDES=-I%{_includedir}/et # Get LFS support on systems that need it which aren't already 64-bit. -%ifarch %{ix86} s390 ppc sparc +%ifarch %{ix86} s390 ppc sparcv9 DEFINES="-D_FILE_OFFSET_BITS=64" ; export DEFINES %endif # Enable or disable the PKINIT plugin. The configure script only checks for @@ -1462,6 +1466,10 @@ CPPFLAGS="`echo $DEFINES $INCLUDES`" --with-pam \ --with-pam-login-service=%{login_pam_service} \ --with-selinux +# Generate krb5/krb5.h +pushd include +make krb5/krb5.h +popd # Now build it. make