Skip to content

Commit

Permalink
MD-1717: changes for C3 on RHEL8 - version 5.3 of lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Cranny committed May 13, 2020
1 parent 1e2d365 commit f3889f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion pkg/Makefile.bidi
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
PROJ= liblpm
LUA_VERSION := 5.3

all: rpm

Expand All @@ -13,6 +14,8 @@ clean:

specmunge:
git checkout SPECS/$(PROJ).spec
sed -i -e "/%define version/c\%define version $$(cat version.txt)" -e '/BuildRequires:.*make/a BuildRequires: libasan\nBuildRequires: libubsan' SPECS/$(PROJ).spec
sed -i -e "/%define version/c\%define version $$(cat version.txt)" \
-e '/BuildRequires:.*make/a BuildRequires: libasan\nBuildRequires: libubsan' \
-e "/%define luaver/c\%define luaver $(LUA_VERSION)" SPECS/$(PROJ).spec

.PHONY: all rpm clean specmunge
2 changes: 1 addition & 1 deletion pkg/SPECS/liblpm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name: liblpm
Version: %{version}
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Longest Prefix Match (LPM) library
Group: System Environment/Libraries
License: BSD
Expand Down

0 comments on commit f3889f2

Please sign in to comment.