From 7ccf94ab4c1e6593ad575c9358b75a3080298a19 Mon Sep 17 00:00:00 2001 From: Adrian Sevcenco Date: Sun, 7 Feb 2021 17:31:16 +0200 Subject: [PATCH 1/2] spec file:: bootstrap should be called for configure generation --- bootstrap.sh | 9 ++++----- tokenauthz.spec | 1 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 99f2e14..6ae5337 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,6 +1,5 @@ # Build steps necessary for autotools -/usr/bin/libtoolize --force -/usr/bin/aclocal -/usr/bin/automake --force-missing --add-missing -/usr/bin/autoconf -./configure +libtoolize --force +aclocal +automake --force-missing --add-missing +autoconf diff --git a/tokenauthz.spec b/tokenauthz.spec index c0db3d7..9dca666 100644 --- a/tokenauthz.spec +++ b/tokenauthz.spec @@ -30,6 +30,7 @@ The software and RPM packaging was provided by Andreas.Joachim.Peters@cern.ch [C %if 0%{?distribution} == 7 source /opt/rh/devtoolset-8/enable %endif +./bootstrap.sh ./configure --prefix=/usr --libdir=/usr/lib64 --includedir=/usr/include make %install From 1289201169f487438b15ea82814ae3c78263e8cb Mon Sep 17 00:00:00 2001 From: Adrian Sevcenco Date: Sun, 7 Feb 2021 18:03:37 +0200 Subject: [PATCH 2/2] Makefile.am files : satisfy some warnings --- AuthzXMLreader/Makefile.am | 2 +- Makefile.am | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/AuthzXMLreader/Makefile.am b/AuthzXMLreader/Makefile.am index ae4f0a0..fdbf2c4 100644 --- a/AuthzXMLreader/Makefile.am +++ b/AuthzXMLreader/Makefile.am @@ -6,7 +6,7 @@ ## Checked in by $Author: apeters $ ####################################################################### -INCLUDES = $(XML2_INCDIR) $(BASE_INCDIR) +AM_CPPFLAGS = $(XML2_INCDIR) $(BASE_INCDIR) lib_LTLIBRARIES = libAuthzXMLreader.la noinst_LTLIBRARIES =libConvAuthzXMLreader.la diff --git a/Makefile.am b/Makefile.am index 52e25a1..29b8404 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,6 +6,8 @@ ## Checked in by $Author: apeters $ ####################################################################### +ACLOCAL_AMFLAGS = -I m4 + SUBDIRS = AuthzXMLreader SealedEnvelope . CPPFLAGS = -I /usr/kerberos/include -I$(top_srcdir)/SealedEnvelope -I$(top_srcdir)/AuthzXMLreader \