From 04d2d237eca31cdaa19dd8dbc3656d36456cd8de Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Feb 20 2024 15:03:36 +0000 Subject: Add midding %dist when overriding the release --- diff --git a/systemd.spec b/systemd.spec index 6378e24..b0e201f 100644 --- a/systemd.spec +++ b/systemd.spec @@ -42,7 +42,7 @@ Url: https://pagure.io/centos-sig-hyperscale/systemd # Allow users to specify the version and release when building the rpm by # setting the %version_override and %release_override macros. Version: %{?version_override}%{!?version_override:255.3} -Release: %{?release_override}%{!?release_override:%autorelease} +Release: %{?release_override:%{release_override}%{?dist}}%{!?release_override:%autorelease} %global stable %(c="%version"; [ "$c" = "${c#*.*}" ]; echo $?)