Compare commits

...

6 Commits

View File

@ -2,7 +2,7 @@
%define MAJver %(echo %version | cut -d. -f1)
%define majver %(echo %version | cut -d. -f1-2)
Name: clang
Version: 17.0.4
Version: 18.1.3
Release: 1mamba
Summary: C language family frontend for LLVM
Group: Development/Languages
@ -28,7 +28,8 @@ BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: llvm = %{version}
BuildRequires: llvm >= 14.0.3-3mamba
BuildRequires: python-recommonmark-py310
BuildRequires: python-recommonmark-py3
BuildRequires: python-myst_parser-py3
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
@ -94,7 +95,6 @@ cd build
cmake .. -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DBUILD_SHARED_LIBS=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DCLANG_LINK_CLANG_DYLIB=ON \
-DCLANG_DEFAULT_CXX_STDLIB=libstdc++ \
@ -102,6 +102,7 @@ cmake .. -G Ninja \
-DLLVM_ENABLE_RTTI=ON \
%endif
-DLLVM_INCLUDE_DOCS=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_INCLUDE_TESTS=OFF \
-DLLVM_BUILD_DOCS=ON \
-DLLVM_ENABLE_SPHINX=ON \
@ -140,22 +141,13 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
%{_bindir}/clang
%{_bindir}/clang++
%{_bindir}/clang-*
#%{_bindir}/clangd
%{_bindir}/diagtool
#%{_bindir}/find-all-symbols
%{_bindir}/git-clang-format
%{_bindir}/hmaptool
%{_bindir}/intercept-build
#%{_bindir}/modularize
#%{_bindir}/pp-trace
#%{_bindir}/run-clang-tidy
%{_bindir}/scan-build
%{_bindir}/scan-build-py
%{_bindir}/scan-view
#%dir %{_prefix}/lib/libear
#%{_prefix}/lib/libear/*
#%dir %{_prefix}/lib/libscanbuild
#%{_prefix}/lib/libscanbuild/*
# FIXME: should be libexec64 on 64 bits archs
%{_prefix}/libexec/*
%dir %{_datadir}/clang/
@ -166,7 +158,6 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
%{_datadir}/scan-view/*
%{_mandir}/man1/clang.1*
%{_mandir}/man1/diagtool.1*
#%{_mandir}/man1/extraclangtools.1*
%{_mandir}/man1/scan-build.1*
%files -n lib%{name}
@ -176,7 +167,6 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
%{_libdir}/libear/*
%dir %{_libdir}/libscanbuild
%{_libdir}/libscanbuild/*
#%{_libdir}/libfindAllSymbols.so.*
%doc clang/LICENSE.TXT
%files -n lib%{name}-devel
@ -185,10 +175,8 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
%{_includedir}/clang-c/*.h
%dir %{_includedir}/clang
%{_includedir}/clang/*
#%dir %{_includedir}/clang-tidy
#%{_includedir}/clang-tidy/*
%{_libdir}/libclang*.a
%{_libdir}/libclang*.so
#%{_libdir}/libfindAllSymbols.so
%dir %{_libdir}/clang
%dir %{_libdir}/clang/*
%dir %{_libdir}/clang/*/include
@ -204,12 +192,27 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
%dir %{_docdir}/Clang/clang/html
%{_datadir}/doc/Clang/clang/html/*
%{_datadir}/doc/Clang/clang/html/.buildinfo
#%dir %{_docdir}/Clang/clang-tools
#%dir %{_docdir}/Clang/clang-tools/html
#%{_datadir}/doc/Clang/clang-tools/html/*
#%{_datadir}/doc/Clang/clang-tools/html/.buildinfo
%changelog
* Fri Apr 12 2024 Automatic Build System <autodist@openmamba.org> 18.1.3-1mamba
- automatic version update by autodist
* Thu Mar 21 2024 Automatic Build System <autodist@openmamba.org> 18.1.2-1mamba
- automatic version update by autodist
* Thu Mar 14 2024 Automatic Build System <autodist@openmamba.org> 18.1.1-1mamba
- automatic version update by autodist
* Thu Jan 18 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 17.0.6-2mamba
- removed BUILD_SHARED_LIBS=ON see https://github.com/llvm/llvm-project/issues/46461
- added -DLLVM_LINK_LLVM_DYLIB=ON
* Sat Dec 02 2023 Automatic Build System <autodist@mambasoft.it> 17.0.6-1mamba
- automatic version update by autodist
* Wed Nov 15 2023 Automatic Build System <autodist@mambasoft.it> 17.0.5-1mamba
- automatic version update by autodist
* Fri Nov 03 2023 Automatic Build System <autodist@mambasoft.it> 17.0.4-1mamba
- automatic version update by autodist