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 <qwen-coder@alibabacloud.com>
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user