|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
%define MAJver %(echo %version | cut -d. -f1)
|
|
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
|
Name: clang
|
|
|
|
|
Version: 18.1.6
|
|
|
|
|
Version: 19.1.6
|
|
|
|
|
Release: 1mamba
|
|
|
|
|
Summary: C language family frontend for LLVM
|
|
|
|
|
Group: Development/Languages
|
|
|
|
@ -14,8 +14,6 @@ Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{
|
|
|
|
|
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/clang-tools-extra-%{version}.src.tar.xz
|
|
|
|
|
Source2: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/cmake-%{version}.src.tar.xz
|
|
|
|
|
Source3: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/third-party-%{version}.src.tar.xz
|
|
|
|
|
Patch0: clang-16.0.4-arm-add-latomic.patch
|
|
|
|
|
Patch1: clang-15.0.6-arm-add-latomic.patch
|
|
|
|
|
License: NCSA
|
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
@ -80,13 +78,6 @@ mv clang-tools-extra-%{version}.src clang-tools-extra
|
|
|
|
|
mv cmake-%{version}.src cmake
|
|
|
|
|
mv third-party-%{version}.src third-party
|
|
|
|
|
|
|
|
|
|
%ifarch arm
|
|
|
|
|
%patch 0 -p1
|
|
|
|
|
cd clang
|
|
|
|
|
%patch 1 -p1
|
|
|
|
|
cd ..
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
#:<< __EOF
|
|
|
|
|
mkdir -p build
|
|
|
|
@ -129,8 +120,6 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
|
|
|
|
|
%clean
|
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
@ -150,6 +139,10 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
|
|
|
|
|
%{_bindir}/scan-view
|
|
|
|
|
# FIXME: should be libexec64 on 64 bits archs
|
|
|
|
|
%{_prefix}/libexec/*
|
|
|
|
|
%dir %{_prefix}/lib/libear
|
|
|
|
|
%{_prefix}/lib/libear/*
|
|
|
|
|
%dir %{_prefix}/lib/libscanbuild
|
|
|
|
|
%{_prefix}/lib/libscanbuild/*
|
|
|
|
|
%dir %{_datadir}/clang/
|
|
|
|
|
%{_datadir}/clang/*
|
|
|
|
|
%dir %{_datadir}/scan-build
|
|
|
|
@ -163,10 +156,6 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_libdir}/libclang*.so.*
|
|
|
|
|
%dir %{_libdir}/libear
|
|
|
|
|
%{_libdir}/libear/*
|
|
|
|
|
%dir %{_libdir}/libscanbuild
|
|
|
|
|
%{_libdir}/libscanbuild/*
|
|
|
|
|
%doc clang/LICENSE.TXT
|
|
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
@ -194,6 +183,33 @@ rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
|
|
|
|
|
%{_datadir}/doc/Clang/clang/html/.buildinfo
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Dec 18 2024 Automatic Build System <autodist@openmamba.org> 19.1.6-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Wed Dec 04 2024 Automatic Build System <autodist@openmamba.org> 19.1.5-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Wed Nov 20 2024 Automatic Build System <autodist@openmamba.org> 19.1.4-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Fri Nov 01 2024 Automatic Build System <autodist@openmamba.org> 19.1.3-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Wed Oct 16 2024 Automatic Build System <autodist@openmamba.org> 19.1.2-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Sat Oct 05 2024 Automatic Build System <autodist@openmamba.org> 19.1.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Sun Sep 22 2024 Automatic Build System <autodist@openmamba.org> 19.1.0-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Tue Jun 25 2024 Automatic Build System <autodist@openmamba.org> 18.1.8-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Sat Jun 08 2024 Automatic Build System <autodist@openmamba.org> 18.1.7-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|
* Mon May 20 2024 Automatic Build System <autodist@openmamba.org> 18.1.6-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
|
|