summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bcc-bpf.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/bcc-bpf.spec b/bcc-bpf.spec
index 175fd03..2bec582 100644
--- a/bcc-bpf.spec
+++ b/bcc-bpf.spec
@@ -85,7 +85,10 @@ Standalone tool to run BCC tracers written in Lua
%build
install -d build
cd build
-%cmake ..
+%cmake \
+ -DREVISION=%{version} \
+ -DREVISION_LAST=%{version} \
+ ..
%{__make}
%install