From 3cf45106c8bc5a050901851be6b2ac85b6f5c571 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Mar 07 2024 12:34:12 +0000 Subject: Fix release specification We can't use %autorelease in Hyperscale backports as we want releases in the form of ".". --- diff --git a/systemd.spec b/systemd.spec index 3f4d80f..821fa86 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.4} -Release: %{?release_override:%{release_override}%{?dist}}%{!?release_override:%autorelease} +Release: %{?release_override}%{!?release_override:1.1}%{?dist} %global stable %(c="%version"; [ "$c" = "${c#*.*}" ]; echo $?)