From 291b1963154d3726e3f1c5a95522d21122e1e443 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Fri, 27 Sep 2024 17:19:55 +0200 Subject: [PATCH] Add conflicts with next major version of non-compat package --- clang18.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/clang18.spec b/clang18.spec index f22cf09..a416f51 100644 --- a/clang18.spec +++ b/clang18.spec @@ -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} @@ -737,6 +738,9 @@ LD_LIBRARY_PATH=%{buildroot}/%{install_libdir} %{__ninja} check-all -C %{__cmake %endif %changelog +* Fri Sep 27 2024 Timm Bäder - 18.1.7-6 +- Add conflicts with next major version of non-compat package + * Mon Jun 10 2024 Tom Stellard - 18.1.7-1 - 18.1.7 Release