Mark lld-test < 15.0.7 as obsolete

This time move the `Obsoletes:` tag out of the `%description` and into
the main package section.

Resolves: rhbz#2165573
This commit is contained in:
Konrad Kleine 2023-01-31 15:38:36 +01:00
parent fe7efab404
commit 5e8c2083d6

View File

@ -13,7 +13,7 @@
Name: %{pkg_name}
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
Release: 3%{?dist}
Release: 4%{?dist}
Summary: The LLVM Linker
License: NCSA
@ -51,6 +51,8 @@ Requires(preun): %{_sbindir}/update-alternatives
Requires: %{name}-libs = %{version}-%{release}
Obsoletes: lld-test < 15.0.7
%description
The LLVM project linker.
@ -71,7 +73,6 @@ Summary: LLD shared libraries
%description libs
Shared libraries for LLD.
Obsoletes: lld-test < 15.0.7
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
@ -150,6 +151,9 @@ fi
%changelog
* Tue Jan 31 2023 Konrad Kleine <kkleine@redhat.com> - 15.0.7-4
- Fixup for obsoleting lld-test < 15.0.7
* Mon Jan 30 2023 Konrad Kleine <kkleine@redhat.com> - 15.0.7-3
- Obsolete lld-test < 15.0.7