Accepting request 932977 from devel:tools:compiler
- Add FileCheck into the devel package, as is required for testing Rust (boo#1192629) OBS-URL: https://build.opensuse.org/request/show/932977 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm13?expand=0&rev=3
This commit is contained in:
commit
b014702989
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 12 13:30:15 UTC 2021 - Alberto Planas Dominguez <aplanas@suse.com>
|
||||||
|
|
||||||
|
- Add FileCheck into the devel package, as is required for testing
|
||||||
|
Rust (boo#1192629)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 2 21:18:57 UTC 2021 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
Tue Nov 2 21:18:57 UTC 2021 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
@ -853,6 +853,9 @@ cd ..
|
|||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
|
# Install FileCheck needed for testing Rust boo#1192629
|
||||||
|
install -m 0755 build/bin/FileCheck %{buildroot}%{_bindir}/FileCheck
|
||||||
|
|
||||||
# Remove files that won't be needed anymore.
|
# Remove files that won't be needed anymore.
|
||||||
# This reduces the total amount of disk space used during build. (bnc#1074625)
|
# This reduces the total amount of disk space used during build. (bnc#1074625)
|
||||||
find ./build \( -name '*.o' -or -name '*.a' \) -delete
|
find ./build \( -name '*.o' -or -name '*.a' \) -delete
|
||||||
@ -938,7 +941,7 @@ mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
|
|||||||
mv %{buildroot}%{_datadir}/clang/bash-autocomplete.sh %{buildroot}%{_datadir}/bash-completion/completions/clang
|
mv %{buildroot}%{_datadir}/clang/bash-autocomplete.sh %{buildroot}%{_datadir}/bash-completion/completions/clang
|
||||||
|
|
||||||
rm %{buildroot}%{_mandir}/man1/{,clang-,lldb-,mlir-}tblgen.1
|
rm %{buildroot}%{_mandir}/man1/{,clang-,lldb-,mlir-}tblgen.1
|
||||||
rm %{buildroot}%{_mandir}/man1/{FileCheck,llvm-locstats}.1
|
rm %{buildroot}%{_mandir}/man1/llvm-locstats.1
|
||||||
chmod -x %{buildroot}%{_mandir}/man1/scan-build.1
|
chmod -x %{buildroot}%{_mandir}/man1/scan-build.1
|
||||||
|
|
||||||
%if %{with lldb_python}
|
%if %{with lldb_python}
|
||||||
@ -1923,6 +1926,7 @@ fi
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%license CREDITS.TXT LICENSE.TXT
|
%license CREDITS.TXT LICENSE.TXT
|
||||||
|
%{_bindir}/FileCheck
|
||||||
%{_bindir}/llvm-config
|
%{_bindir}/llvm-config
|
||||||
%{_libdir}/libLLVM.so
|
%{_libdir}/libLLVM.so
|
||||||
%{_libdir}/libLLVMTableGen.so
|
%{_libdir}/libLLVMTableGen.so
|
||||||
@ -1930,6 +1934,7 @@ fi
|
|||||||
%{_includedir}/llvm/
|
%{_includedir}/llvm/
|
||||||
%{_includedir}/llvm-c/
|
%{_includedir}/llvm-c/
|
||||||
%{_libdir}/cmake/llvm
|
%{_libdir}/cmake/llvm
|
||||||
|
%{_mandir}/man1/FileCheck.1%{ext_man}
|
||||||
%{_mandir}/man1/llvm-config.1%{ext_man}
|
%{_mandir}/man1/llvm-config.1%{ext_man}
|
||||||
%{_rpmconfigdir}/macros.d/macros.llvm
|
%{_rpmconfigdir}/macros.d/macros.llvm
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user