diff --git a/llvm-toolset-20.spec b/llvm-toolset-20.spec index 22e310c0e4c293eaf5245c714e2f60ca7908bf1f..2ea49e94781e19a03fcf210308e279d9a281893f 100644 --- a/llvm-toolset-20.spec +++ b/llvm-toolset-20.spec @@ -167,7 +167,7 @@ #region main package Name: llvm-toolset-%{maj_ver} Version: %{maj_ver}.%{min_ver}.%{patch_ver} -Release: 3 +Release: 4 Summary: The Low Level Virtual Machine License: NCSA @@ -622,6 +622,7 @@ The package contains the LLDB Python module. Summary: Multi-Level Intermediate Representation Overview License: Apache-2.0 WITH LLVM-exception URL: http://mlir.llvm.org +Provides: mlir(major) = %{maj_ver} %description -n %{pkg_name_mlir} The MLIR project is a novel approach to building reusable and extensible @@ -633,6 +634,7 @@ existing compilers together. %package -n %{pkg_name_mlir}-static Summary: MLIR static files Requires: %{pkg_name_mlir}%{?_isa} = %{version}-%{release} +Provides: mlir-static(major) = %{maj_ver} %description -n %{pkg_name_mlir}-static MLIR static files. @@ -641,6 +643,7 @@ MLIR static files. Summary: MLIR development files Requires: %{pkg_name_mlir}%{?_isa} = %{version}-%{release} Requires: %{pkg_name_mlir}-static%{?_isa} = %{version}-%{release} +Provides: mlir-devel(major) = %{maj_ver} %description -n %{pkg_name_mlir}-devel MLIR development files. @@ -2966,6 +2969,9 @@ fi #endregion files %changelog +* Wed Dec 10 2025 jchzhou - 20.1.8-4 +- Add unprefixed provides for mlir subpackages to address dependency issues + * Fri Dec 05 2025 jchzhou - 20.1.8-3 - Rename the 'sys_llvm' bcond to be unique for easier override in build environments