From 0840341199e83d4ac4b04f33162b2f3547c04ae6 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 19 Jun 2023 12:55:52 +0200 Subject: [PATCH] fix building outside of git repository --- synce4l.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/synce4l.spec b/synce4l.spec index aeb4d5d..4b153e4 100644 --- a/synce4l.spec +++ b/synce4l.spec @@ -23,6 +23,8 @@ supported hardware by processing Ethernet Synchronization Messaging Channel %prep %autosetup +# Fix building outside of git repository +sed -i 's|\(^VERSION := \).*|\1%{version}|' Makefile %build %{make_build} \