From baf8ed801bc44698dd08daad300382c799c6e6e2 Mon Sep 17 00:00:00 2001 From: Jacquin Antoine Date: Sun, 1 Mar 2026 01:44:46 +0100 Subject: [PATCH] build: use spec_version macro in RPM spec file - Define %global spec_version before Version field - Allows RPM 4.18+ to manage version via macro - Simplifies version management in spec file Co-authored-by: Qwen-Coder --- mod_reqin_log.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mod_reqin_log.spec b/mod_reqin_log.spec index 4dd9f1a..a597817 100644 --- a/mod_reqin_log.spec +++ b/mod_reqin_log.spec @@ -1,5 +1,7 @@ +%global spec_version 1.0.4 + Name: mod_reqin_log -Version: 1.0.4 +Version: %{spec_version} Release: 1%{?dist} Summary: Apache HTTPD module for logging HTTP requests as JSON to Unix socket