!68 Sync master release
From: @wk333 Reviewed-by: @lyn1001 Signed-off-by: @lyn1001
This commit is contained in:
commit
777a3d02be
15
ocaml.spec
15
ocaml.spec
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: ocaml
|
Name: ocaml
|
||||||
Version: 4.14.1
|
Version: 4.14.1
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: OCaml compiler and programming environment
|
Summary: OCaml compiler and programming environment
|
||||||
License: LGPL-2.1-only
|
License: LGPL-2.1-only
|
||||||
URL: http://www.ocaml.org
|
URL: http://www.ocaml.org
|
||||||
@ -14,12 +14,12 @@ Source0: https://github.com/ocaml/ocaml/archive/refs/tags/%{name}-%{versi
|
|||||||
Patch0001: 0001-Don-t-add-rpaths-to-libraries.patch
|
Patch0001: 0001-Don-t-add-rpaths-to-libraries.patch
|
||||||
Patch0002: 0002-configure-Allow-user-defined-C-compiler-flags.patch
|
Patch0002: 0002-configure-Allow-user-defined-C-compiler-flags.patch
|
||||||
Patch0003: 0003-configure-Remove-incorrect-assumption-about-cross-co.patch
|
Patch0003: 0003-configure-Remove-incorrect-assumption-about-cross-co.patch
|
||||||
Patch0004: 0004-add-loongarch64-native-support.patch
|
Patch0004: 0004-add-loongarch64-native-support.patch
|
||||||
|
|
||||||
BuildRequires: gcc binutils-devel ncurses-devel gdbm-devel gawk perl-interpreter
|
BuildRequires: gcc binutils-devel ncurses-devel gdbm-devel gawk perl-interpreter
|
||||||
BuildRequires: util-linux chrpath autoconf annobin make
|
BuildRequires: util-linux chrpath autoconf annobin make
|
||||||
|
|
||||||
Requires: gcc util-linux openEuler-rpm-config
|
Requires: gcc util-linux %{_vendor}-rpm-config
|
||||||
|
|
||||||
Provides: bundled(md5-plumb) ocaml(runtime) = %{version}
|
Provides: bundled(md5-plumb) ocaml(runtime) = %{version}
|
||||||
Provides: ocaml(compiler) = %{version}
|
Provides: ocaml(compiler) = %{version}
|
||||||
@ -107,7 +107,7 @@ make -j1 all ||:
|
|||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
perl -pi -e "s|^%{buildroot}||" %{buildroot}%{_libdir}/ocaml/ld.conf
|
perl -pi -e "s|^%{buildroot}||" %{buildroot}%{_libdir}/ocaml/ld.conf
|
||||||
|
|
||||||
echo %{version} > %{buildroot}%{_libdir}/ocaml/openEuler-ocaml-release
|
echo %{version} > %{buildroot}%{_libdir}/ocaml/%{_vendor}-ocaml-release
|
||||||
|
|
||||||
chrpath --delete %{buildroot}%{_libdir}/ocaml/stublibs/*.so
|
chrpath --delete %{buildroot}%{_libdir}/ocaml/stublibs/*.so
|
||||||
|
|
||||||
@ -206,7 +206,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/ocaml/eventlog_metadata
|
|||||||
%dir %{_libdir}/ocaml/threads
|
%dir %{_libdir}/ocaml/threads
|
||||||
%{_libdir}/ocaml/threads/*.cmi
|
%{_libdir}/ocaml/threads/*.cmi
|
||||||
%{_libdir}/ocaml/threads/*.cma
|
%{_libdir}/ocaml/threads/*.cma
|
||||||
%{_libdir}/ocaml/openEuler-ocaml-release
|
%{_libdir}/ocaml/%{_vendor}-ocaml-release
|
||||||
|
|
||||||
|
|
||||||
#ocamldoc
|
#ocamldoc
|
||||||
@ -241,9 +241,12 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/ocaml/eventlog_metadata
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jun 07 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 4.14.1-2
|
* Fri Jun 07 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 4.14.1-3
|
||||||
- Add LoongArch native support for ocaml
|
- Add LoongArch native support for ocaml
|
||||||
|
|
||||||
|
* Mon Apr 15 2024 yueyuankun <yueyuankun@kylinos.cn> - 4.14.1-2
|
||||||
|
- Replace openEuler with vendor macros
|
||||||
|
|
||||||
* Fri Feb 2 2024 Jingwiw <wangjingwei@iscas.ac.cn> - 4.14.1-1
|
* Fri Feb 2 2024 Jingwiw <wangjingwei@iscas.ac.cn> - 4.14.1-1
|
||||||
- Upgrade version to 4.14.1
|
- Upgrade version to 4.14.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user