From 5dda6c5753887912c5007cd3cd37fee8fc00cdae010b5019c65e9e69868da57c Mon Sep 17 00:00:00 2001 From: Thomas Blume Date: Tue, 27 Feb 2024 10:47:44 +0000 Subject: [PATCH] - Fix syntax required for OBS source validator OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1498 --- systemd.changes | 5 +++++ systemd.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/systemd.changes b/systemd.changes index 9117c91..2305699 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 26 09:18:00 UTC 2024 - Antonio Feijoo + +- Fix syntax required for OBS source validator + ------------------------------------------------------------------- Fri Feb 23 09:09:57 UTC 2024 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 307171a..d2b7b74 100644 --- a/systemd.spec +++ b/systemd.spec @@ -18,10 +18,6 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define systemd_version 255.3 -%define systemd_release 0 -%define archive_version +suse.15.g96edf7ad18 - %if 0%{?_build_in_place} # Allow users to specify the version and the release when building the rpm in # place. When not provided we look for the version in meson.version (introduced @@ -29,6 +25,11 @@ %define systemd_version %{?version_override}%{!?version_override:%(cat meson.version)} %define systemd_release %{?release_override}%{!?release_override:0} %define archive_version %{nil} +%else +# Fallback required for OBS source validator +%define systemd_version 255.3 +%define systemd_release 0 +%define archive_version +suse.15.g96edf7ad18 %endif %define systemd_major %{sub %systemd_version 1 3}