mej pushed a commit to branch master.

http://git.enlightenment.org/misc/libast.git/commit/?id=92df7e62e1b85cf1698e4f6f4e6c4933c115b13a

commit 92df7e62e1b85cf1698e4f6f4e6c4933c115b13a
Author: Michael Jennings <m...@lanl.gov>
Date:   Fri Feb 28 12:37:13 2020 -0700

    Fix build on RHEL8
---
 configure.ac | 11 ++++++-----
 libast.spec  |  4 ++--
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/configure.ac b/configure.ac
index 167ed0d..3478a2f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,18 +29,19 @@
 # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #
 
-AC_INIT(configure.ac)
-AM_INIT_AUTOMAKE([libast], [0.8])
+AC_INIT([LibAST], [0.8])
+AC_CONFIG_SRCDIR([configure.ac])
+AM_INIT_AUTOMAKE
+
 AC_DEFINE_UNQUOTED(LIBAST_VERSION, "$VERSION", [Version])
 AC_CONFIG_MACRO_DIR([.])
 
 AC_CONFIG_HEADERS([config.h include/libast/sysdefs.h])
 AC_CONFIG_FILES([include/libast/types.h Makefile include/Makefile
-                 include/libast/Makefile src/Makefile test/Makefile
-                 libast-config])
+                 src/Makefile test/Makefile libast-config])
 
 dnl# Set some basic variables
-AUTHORS="Michael Jennings (m...@eterm.org and m...@lbl.gov)"
+AUTHORS="Michael Jennings (m...@eterm.org and m...@lanl.gov)"
 AC_SUBST(AUTHORS)
 AC_DEFINE_UNQUOTED(AUTHORS, "$AUTHORS", [Authors])
 
diff --git a/libast.spec b/libast.spec
index 196be51..66c92ff 100644
--- a/libast.spec
+++ b/libast.spec
@@ -1,11 +1,11 @@
 %define __os_install_post /usr/lib/rpm/brp-compress
 %if %{!?optflags:1}0
-%define optflags ${RPM_OPT_FLAGS:--O0 -g3}
+%{expand:%%define optflags %{!?el8:${RPM_OPT_FLAGS:--O0 -g3}}%{?el8:-O2 -ggdb3 
-fPIC}}
 %endif
 
 Summary: Library of Assorted Spiffy Things
 Name: libast
-Version: 0.7.1
+Version: 0.8
 #Release: 1
 Release: 0.%(date '+%Y%m%d')
 Group: System Environment/Libraries

-- 


Reply via email to