Add llvm-static(major) provides to the -static subpackage

This is similar to how other subpackages have llvm(major),
llvm-devel(major) and llvm-test(major) provides.
This commit is contained in:
Kalev Lember 2021-03-10 12:47:19 +01:00
parent cdd5e565ec
commit 238c272915
1 changed files with 6 additions and 1 deletions

View File

@ -11,7 +11,7 @@
%global llvm_libdir %{_libdir}/%{name} %global llvm_libdir %{_libdir}/%{name}
%global build_llvm_libdir %{buildroot}%{llvm_libdir} %global build_llvm_libdir %{buildroot}%{llvm_libdir}
%global rc_ver 2 %global rc_ver 2
%global baserelease 5 %global baserelease 6
%global llvm_srcdir llvm-%{version}%{?rc_ver:rc%{rc_ver}}.src %global llvm_srcdir llvm-%{version}%{?rc_ver:rc%{rc_ver}}.src
%global maj_ver 12 %global maj_ver 12
%global min_ver 0 %global min_ver 0
@ -143,6 +143,8 @@ Shared libraries for the LLVM compiler infrastructure.
Summary: LLVM static libraries Summary: LLVM static libraries
Conflicts: %{name}-devel < 8 Conflicts: %{name}-devel < 8
Provides: llvm-static(major) = %{maj_ver}
%description static %description static
Static libraries for the LLVM compiler infrastructure. Static libraries for the LLVM compiler infrastructure.
@ -545,6 +547,9 @@ fi
%endif %endif
%changelog %changelog
* Wed Mar 10 2021 Kalev Lember <klember@redhat.com> - 12.0.0-0.6.rc2
- Add llvm-static(major) provides to the -static subpackage
* Tue Mar 09 2021 sguelton@redhat.com - 12.0.0-0.5.rc2 * Tue Mar 09 2021 sguelton@redhat.com - 12.0.0-0.5.rc2
- rebuilt - rebuilt