rebuilt with prefix %{_libdir}/llvm16 [release 16.0.6-4mamba;Sat Nov 04 2023]
This commit is contained in:
parent
f52c8f33fa
commit
6ea55d4d66
65
llvm16.spec
65
llvm16.spec
@ -2,7 +2,7 @@
|
|||||||
%define majver %(echo %version | cut -d. -f1-2)
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
Name: llvm16
|
Name: llvm16
|
||||||
Version: 16.0.6
|
Version: 16.0.6
|
||||||
Release: 3mamba
|
Release: 4mamba
|
||||||
Summary: The Low Level Virtual Machine
|
Summary: The Low Level Virtual Machine
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -26,10 +26,6 @@ BuildRequires: libstdc++6-devel
|
|||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
BuildRequires: libzstd-devel
|
BuildRequires: libzstd-devel
|
||||||
BuildRequires: ocaml-bigarray-compat-devel
|
|
||||||
BuildRequires: ocaml-ctypes-devel
|
|
||||||
BuildRequires: ocaml-integers
|
|
||||||
BuildRequires: ocaml-runtime
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: ocaml >= 4.14.1
|
BuildRequires: ocaml >= 4.14.1
|
||||||
@ -102,10 +98,14 @@ This package includes the LLVM ocaml API documentation.
|
|||||||
|
|
||||||
%debug_package
|
%debug_package
|
||||||
|
|
||||||
|
# Don't clean build at the end
|
||||||
|
%global __spec_rmbuild_cmd /bin/true
|
||||||
|
|
||||||
|
%define _prefix /usr/%{_lib}/llvm16
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c -a0 -a1 -a2
|
%setup -q -c -a0 -a1 -a2
|
||||||
#% setup -q
|
#% setup -q -D -T
|
||||||
#-D -T
|
|
||||||
#:<< _EOF
|
#:<< _EOF
|
||||||
mv cmake-%{version}.src cmake
|
mv cmake-%{version}.src cmake
|
||||||
mv third-party-%{version}.src third-party
|
mv third-party-%{version}.src third-party
|
||||||
@ -186,12 +186,21 @@ cp %{SOURCE6} %{buildroot}%{_includedir}/llvm/Config/llvm-config.h
|
|||||||
rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
|
rm -f %{buildroot}%{_datadir}/doc/clang/html/.buildinfo
|
||||||
rm -f %{buildroot}%{_datadir}/doc/llvm/html/.buildinfo
|
rm -f %{buildroot}%{_datadir}/doc/llvm/html/.buildinfo
|
||||||
|
|
||||||
|
# Legacy package, remove ocaml
|
||||||
|
rm -rf %{buildroot}/usr/%{_lib}/ocaml
|
||||||
|
rm -rf %{buildroot}/usr/%{_lib}/%{name}/share/doc/LLVM/llvm/ocaml-html
|
||||||
|
|
||||||
|
# Create ld.so.conf.d entry
|
||||||
|
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||||
|
cat >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf << EOF
|
||||||
|
/usr/%{_lib}/%{name}/%{_lib}
|
||||||
|
EOF
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -229,6 +238,7 @@ rm -f %{buildroot}%{_datadir}/doc/llvm/html/.buildinfo
|
|||||||
|
|
||||||
%files -n lib%{name}
|
%files -n lib%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
%{_libdir}/libLLVM-*.so
|
%{_libdir}/libLLVM-*.so
|
||||||
%{_libdir}/libLTO.so.*
|
%{_libdir}/libLTO.so.*
|
||||||
%{_libdir}/libRemarks.so.*
|
%{_libdir}/libRemarks.so.*
|
||||||
@ -252,27 +262,30 @@ rm -f %{buildroot}%{_datadir}/doc/llvm/html/.buildinfo
|
|||||||
#%dir %{_datadir}/doc/llvm/html/
|
#%dir %{_datadir}/doc/llvm/html/
|
||||||
#%{_datadir}/doc/llvm/html/*
|
#%{_datadir}/doc/llvm/html/*
|
||||||
|
|
||||||
%files ocaml
|
#%files ocaml
|
||||||
%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
%{_libdir}/ocaml/llvm/*.cma
|
#%{_libdir}/ocaml/llvm/*.cma
|
||||||
%{_libdir}/ocaml/llvm/*.cmi
|
#%{_libdir}/ocaml/llvm/*.cmi
|
||||||
%{_libdir}/ocaml/llvm/*.cmt
|
#%{_libdir}/ocaml/llvm/*.cmt
|
||||||
%{_libdir}/ocaml/llvm/*.cmti
|
#%{_libdir}/ocaml/llvm/*.cmti
|
||||||
%{_libdir}/ocaml/llvm/*.mli
|
#%{_libdir}/ocaml/llvm/*.mli
|
||||||
%{_libdir}/ocaml/META.llvm*
|
#%{_libdir}/ocaml/META.llvm*
|
||||||
|
|
||||||
%files ocaml-devel
|
#%files ocaml-devel
|
||||||
%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
%{_libdir}/ocaml/llvm/*.a
|
#%{_libdir}/ocaml/llvm/*.a
|
||||||
%{_libdir}/ocaml/llvm/*.cmx*
|
#%{_libdir}/ocaml/llvm/*.cmx*
|
||||||
|
|
||||||
%files ocaml-apidocs
|
#%files ocaml-apidocs
|
||||||
%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
%dir %{_datadir}/doc/LLVM/llvm/ocaml-html
|
#%dir %{_datadir}/doc/LLVM/llvm/ocaml-html
|
||||||
%{_datadir}/doc/LLVM/llvm/ocaml-html/*
|
#%{_datadir}/doc/LLVM/llvm/ocaml-html/*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Nov 04 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 16.0.6-4mamba
|
||||||
|
- rebuilt with prefix %{_libdir}/llvm16
|
||||||
|
|
||||||
* Sat Oct 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 16.0.6-3mamba
|
* Sat Oct 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 16.0.6-3mamba
|
||||||
- legacy package
|
- legacy package
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user