summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Jennings <mej@lanl.gov>2020-02-28 12:37:13 -0700
committerMichael Jennings <mej@lanl.gov>2020-02-28 12:37:13 -0700
commit92df7e62e1b85cf1698e4f6f4e6c4933c115b13a (patch)
tree1477c850327bf8c765423c5c8f66c34924b67494
parent9f1e27591d9f03d78af7ac3a9343a3782de0f2f4 (diff)
Fix build on RHEL8
-rw-r--r--configure.ac11
-rw-r--r--libast.spec4
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 @@
29# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 29# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30# 30#
31 31
32AC_INIT(configure.ac) 32AC_INIT([LibAST], [0.8])
33AM_INIT_AUTOMAKE([libast], [0.8]) 33AC_CONFIG_SRCDIR([configure.ac])
34AM_INIT_AUTOMAKE
35
34AC_DEFINE_UNQUOTED(LIBAST_VERSION, "$VERSION", [Version]) 36AC_DEFINE_UNQUOTED(LIBAST_VERSION, "$VERSION", [Version])
35AC_CONFIG_MACRO_DIR([.]) 37AC_CONFIG_MACRO_DIR([.])
36 38
37AC_CONFIG_HEADERS([config.h include/libast/sysdefs.h]) 39AC_CONFIG_HEADERS([config.h include/libast/sysdefs.h])
38AC_CONFIG_FILES([include/libast/types.h Makefile include/Makefile 40AC_CONFIG_FILES([include/libast/types.h Makefile include/Makefile
39 include/libast/Makefile src/Makefile test/Makefile 41 src/Makefile test/Makefile libast-config])
40 libast-config])
41 42
42dnl# Set some basic variables 43dnl# Set some basic variables
43AUTHORS="Michael Jennings (mej@eterm.org and mej@lbl.gov)" 44AUTHORS="Michael Jennings (mej@eterm.org and mej@lanl.gov)"
44AC_SUBST(AUTHORS) 45AC_SUBST(AUTHORS)
45AC_DEFINE_UNQUOTED(AUTHORS, "$AUTHORS", [Authors]) 46AC_DEFINE_UNQUOTED(AUTHORS, "$AUTHORS", [Authors])
46 47
diff --git a/libast.spec b/libast.spec
index 196be51..66c92ff 100644
--- a/libast.spec
+++ b/libast.spec
@@ -1,11 +1,11 @@
1%define __os_install_post /usr/lib/rpm/brp-compress 1%define __os_install_post /usr/lib/rpm/brp-compress
2%if %{!?optflags:1}0 2%if %{!?optflags:1}0
3%define optflags ${RPM_OPT_FLAGS:--O0 -g3} 3%{expand:%%define optflags %{!?el8:${RPM_OPT_FLAGS:--O0 -g3}}%{?el8:-O2 -ggdb3 -fPIC}}
4%endif 4%endif
5 5
6Summary: Library of Assorted Spiffy Things 6Summary: Library of Assorted Spiffy Things
7Name: libast 7Name: libast
8Version: 0.7.1 8Version: 0.8
9#Release: 1 9#Release: 1
10Release: 0.%(date '+%Y%m%d') 10Release: 0.%(date '+%Y%m%d')
11Group: System Environment/Libraries 11Group: System Environment/Libraries