diff --git a/0001-Fix-make-dist-builds-with-automake-1.15.patch b/0001-Fix-make-dist-builds-with-automake-1.15.patch new file mode 100644 index 0000000..d51a507 --- /dev/null +++ b/0001-Fix-make-dist-builds-with-automake-1.15.patch @@ -0,0 +1,30 @@ +From upstream patch id 1eebbcf85c230cedf2eae06afd6254a5fed1d879 +From: Simo Sorce +Date: Thu, 8 Jan 2015 12:34:37 -0500 +Subject: [PATCH] Fix make dist builds with automake 1.15 + +Do this by removing directives that we do not really depend on. +--- +diff --git a/configure.ac b/configure.ac +index b5485069d505a785d8d21a497bd4f2565d0535d0..589fd2e4cf33ded87c3a68405478c7022bbd9f6c 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -11,15 +11,11 @@ m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], + + CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" + +-AC_CONFIG_SRCDIR([BUILD.txt]) +-AC_CONFIG_AUX_DIR([build]) +- + AM_INIT_AUTOMAKE([-Wall foreign subdir-objects tar-pax]) + AM_PROG_CC_C_O + AM_PROG_AR + AC_PROG_INSTALL + LT_INIT([disable-static]) +-AC_CONFIG_MACRO_DIR([m4]) + + AC_SUBST([PRERELEASE_VERSION], + PRERELEASE_VERSION_NUMBER) +-- +2.1.0 + diff --git a/gssntlmssp.spec b/gssntlmssp.spec index 5904c12..3afcf29 100644 --- a/gssntlmssp.spec +++ b/gssntlmssp.spec @@ -26,6 +26,7 @@ BuildRequires: openssl-devel BuildRequires: pkgconfig(wbclient) Patch01: 0001-Names-with-a-.-in-the-domain-are-enteprise-names.patch +Patch02: 0001-Fix-make-dist-builds-with-automake-1.15.patch %description A GSSAPI Mechanism that implements NTLMSSP @@ -42,6 +43,7 @@ Adds a header file with definition for custom GSSAPI extensions for NTLMSSP %prep %setup -q %patch01 -p1 +%patch02 -p1 %build autoreconf -fiv @@ -72,6 +74,9 @@ make test_gssntlmssp %{_includedir}/gssapi/gssapi_ntlmssp.h %changelog +* Thu Jan 08 2015 Simo Sorce - 0.5.0-4 +- Fix build failure in rawhide due to automake 1.15 change in behavior + * Wed Jan 07 2015 Simo Sorce - 0.5.0-4 - fix bug #1178686