diff --git a/ocaml.spec b/ocaml.spec index 2a9252f26efb11ac0ff89a6d1cb673be6995639d..1b7cb7cf2f6bc954d2116927747ad33fcc446fdc 100644 --- a/ocaml.spec +++ b/ocaml.spec @@ -13,7 +13,7 @@ Name: ocaml Version: 4.14.1 -Release: 1 +Release: 2 Summary: OCaml compiler and programming environment License: LGPL-2.1-only URL: http://www.ocaml.org @@ -26,7 +26,7 @@ Patch0003: 0003-configure-Remove-incorrect-assumption-about-cross-co.patch BuildRequires: gcc binutils-devel ncurses-devel gdbm-devel gawk perl-interpreter 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: ocaml(compiler) = %{version} @@ -114,7 +114,7 @@ make -j1 all ||: make install DESTDIR=$RPM_BUILD_ROOT 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 @@ -213,7 +213,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/ocaml/eventlog_metadata %dir %{_libdir}/ocaml/threads %{_libdir}/ocaml/threads/*.cmi %{_libdir}/ocaml/threads/*.cma -%{_libdir}/ocaml/openEuler-ocaml-release +%{_libdir}/ocaml/%{_vendor}-ocaml-release #ocamldoc @@ -248,6 +248,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/ocaml/eventlog_metadata %{_mandir}/man3/* %changelog +* Mon Apr 15 2024 yueyuankun - 4.14.1-2 +- Replace openEuler with vendor macros + * Fri Feb 2 2024 Jingwiw - 4.14.1-1 - Upgrade version to 4.14.1