Add missing patch for new automake version

This commit is contained in:
John Dennis 2018-05-01 11:36:44 -04:00
parent 8a955c845b
commit 0b603cf9af
2 changed files with 18 additions and 0 deletions

16
automake-version.patch Normal file
View File

@ -0,0 +1,16 @@
diff --git a/autogen.sh b/autogen.sh
index 4fcacfc5..bf0e0d3a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -27,7 +27,10 @@ cd "$srcdir"
DIE=1
}
-if automake-1.15 --version < /dev/null > /dev/null 2>&1; then
+if automake-1.16 --version < /dev/null > /dev/null 2>&1; then
+ AUTOMAKE=automake-1.16
+ ACLOCAL=aclocal-1.16
+elif automake-1.15 --version < /dev/null > /dev/null 2>&1; then
AUTOMAKE=automake-1.15
ACLOCAL=aclocal-1.15
elif automake-1.14 --version < /dev/null > /dev/null 2>&1; then

View File

@ -24,6 +24,7 @@ patch1: java_binding_lasso_log.patch
patch2: cflags.patch
patch3: validate_idp_list_test.patch
patch4: xmlSecSoap.patch
patch5: automake-version.patch
%if %{with_wsf}
BuildRequires: cyrus-sasl-devel
@ -121,6 +122,7 @@ library.
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%build
./autogen.sh