diff --git a/pkg/Makefile.bidi b/pkg/Makefile.bidi index 465b163..4523c73 100644 --- a/pkg/Makefile.bidi +++ b/pkg/Makefile.bidi @@ -1,4 +1,5 @@ PROJ= liblpm +LUA_VERSION := 5.3 all: rpm @@ -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 diff --git a/pkg/SPECS/liblpm.spec b/pkg/SPECS/liblpm.spec index 8ed4f8f..5c6b630 100644 --- a/pkg/SPECS/liblpm.spec +++ b/pkg/SPECS/liblpm.spec @@ -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