Split off llvm-cmake-utils package
This commit is contained in:
parent
ba5f101283
commit
236eac9d27
21
llvm.spec
21
llvm.spec
@ -37,12 +37,14 @@
|
|||||||
%global pkg_bindir %{install_bindir}
|
%global pkg_bindir %{install_bindir}
|
||||||
%global pkg_includedir %{_includedir}/%{name}
|
%global pkg_includedir %{_includedir}/%{name}
|
||||||
%global pkg_libdir %{install_libdir}
|
%global pkg_libdir %{install_libdir}
|
||||||
|
%global pkg_datadir %{install_prefix}/share
|
||||||
%else
|
%else
|
||||||
%global pkg_name llvm
|
%global pkg_name llvm
|
||||||
%global install_prefix /usr
|
%global install_prefix /usr
|
||||||
%global install_libdir %{_libdir}
|
%global install_libdir %{_libdir}
|
||||||
%global pkg_bindir %{_bindir}
|
%global pkg_bindir %{_bindir}
|
||||||
%global pkg_libdir %{install_libdir}
|
%global pkg_libdir %{install_libdir}
|
||||||
|
%global pkg_datadir %{_datadir}
|
||||||
%global exec_suffix %{nil}
|
%global exec_suffix %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -75,7 +77,7 @@
|
|||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: The Low Level Virtual Machine
|
Summary: The Low Level Virtual Machine
|
||||||
|
|
||||||
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
||||||
@ -187,6 +189,13 @@ Provides: llvm-static(major) = %{maj_ver}
|
|||||||
%description static
|
%description static
|
||||||
Static libraries for the LLVM compiler infrastructure.
|
Static libraries for the LLVM compiler infrastructure.
|
||||||
|
|
||||||
|
%package cmake-utils
|
||||||
|
Summary: CMake utilities shared across LLVM subprojects
|
||||||
|
|
||||||
|
%description cmake-utils
|
||||||
|
CMake utilities shared across LLVM subprojects.
|
||||||
|
This is for internal use by LLVM packages only.
|
||||||
|
|
||||||
%if %{without compat_build}
|
%if %{without compat_build}
|
||||||
|
|
||||||
%package test
|
%package test
|
||||||
@ -418,7 +427,8 @@ rm %{buildroot}%{_bindir}/llvm-config%{exec_suffix}
|
|||||||
# ghost presence
|
# ghost presence
|
||||||
touch %{buildroot}%{_bindir}/llvm-config%{exec_suffix}
|
touch %{buildroot}%{_bindir}/llvm-config%{exec_suffix}
|
||||||
|
|
||||||
cp -Rv ../cmake/Modules/* %{buildroot}%{pkg_libdir}/cmake/llvm
|
mkdir -p %{buildroot}%{pkg_datadir}/llvm/cmake
|
||||||
|
cp -Rv ../cmake/* %{buildroot}%{pkg_datadir}/llvm/cmake
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Disable check section on arm due to some kind of memory related failure.
|
# Disable check section on arm due to some kind of memory related failure.
|
||||||
@ -540,6 +550,10 @@ fi
|
|||||||
%{_libdir}/%{name}/lib/*.a
|
%{_libdir}/%{name}/lib/*.a
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%files cmake-utils
|
||||||
|
%license LICENSE.TXT
|
||||||
|
%{pkg_datadir}/llvm/cmake
|
||||||
|
|
||||||
%if %{without compat_build}
|
%if %{without compat_build}
|
||||||
|
|
||||||
%files test
|
%files test
|
||||||
@ -563,6 +577,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 09 2023 Nikita Popov <npopov@redhat.com> - 16.0.5-2
|
||||||
|
- Split off llvm-cmake-utils package
|
||||||
|
|
||||||
* Mon Jun 05 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.5-1
|
* Mon Jun 05 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.5-1
|
||||||
- Update to LLVM 16.0.5
|
- Update to LLVM 16.0.5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user