- Fix syntax required for OBS source validator

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1498
This commit is contained in:
Thomas Blume 2024-02-27 10:47:44 +00:00 committed by Git OBS Bridge
parent 639acacb5d
commit 5dda6c5753
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 26 09:18:00 UTC 2024 - Antonio Feijoo <antonio.feijoo@suse.com>
- Fix syntax required for OBS source validator
-------------------------------------------------------------------
Fri Feb 23 09:09:57 UTC 2024 - Franck Bui <fbui@suse.com>

View File

@ -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}