Add conflicts with next major version of non-compat package
This commit is contained in:
parent
b95ccf48cd
commit
f2ab4754f5
@ -75,7 +75,7 @@
|
||||
|
||||
Name: %pkg_name
|
||||
Version: %{clang_version}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}}
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: A C language family front-end for LLVM
|
||||
|
||||
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
||||
@ -123,6 +123,7 @@ BuildRequires: ninja-build
|
||||
|
||||
%if %{with compat_build}
|
||||
%global llvm_pkg_name llvm%{maj_ver}
|
||||
Conflicts: clang < %{lua: return tonumber(macros['maj_ver']) + 1}
|
||||
%else
|
||||
%global llvm_pkg_name llvm
|
||||
BuildRequires: %{llvm_pkg_name}-test = %{version}
|
||||
@ -730,6 +731,9 @@ LD_LIBRARY_PATH=%{buildroot}/%{install_libdir} %{__ninja} check-all -C %{__cmake
|
||||
|
||||
%endif
|
||||
%changelog
|
||||
* Fri Sep 27 2024 Timm Bäder <tbaeder@redhat.com> - 18.1.7-6
|
||||
- Add conflicts with next major version of non-compat package
|
||||
|
||||
* Mon Jun 10 2024 Tom Stellard <tstellar@redhat.com> - 18.1.7-1
|
||||
- 18.1.7 Release
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user