spec: make sure version string starts with version number

This is SAP requirement, but at the same time we make it compatible with
RHEL-8.

Related: #2049054
This commit is contained in:
Michal Sekletar 2021-10-01 18:37:05 +02:00 committed by Michal Sekletár
parent 12239cde92
commit 07a470e853

View File

@ -21,7 +21,7 @@
Name: systemd
Url: https://www.freedesktop.org/wiki/Software/systemd
Version: 250
Release: 1%{?dist}
Release: 2%{?dist}
# For a breakdown of the licensing, see README
License: LGPLv2+ and MIT and GPLv2+
Summary: System and Service Manager
@ -453,7 +453,7 @@ CONFIGURE_OPTS=(
%endif
-Db_ndebug=false
-Dman=true
-Dversion-tag=v%{version}-%{release}
-Dversion-tag=%{version}-%{release}
%if 0%{?fedora}
-Dfallback-hostname=fedora
%else
@ -879,6 +879,9 @@ getent passwd systemd-oom &>/dev/null || useradd -r -l -g systemd-oom -d / -s /s
%files standalone-sysusers -f .file-list-standalone-sysusers
%changelog
* Tue Feb 01 2022 Michal Sekletar <msekleta@redhat.com> - 250-2
- spec: make sure version string starts with version number (#2049054)
* Mon Jan 31 2022 Jan Macku <jamacku@redhat.com> - 250-1
- Rebase to v250 (#2047768)