diff --git a/ocaml.spec b/ocaml.spec index abea4baedd842d14944929db86b3b602ff2b6281..4a14b18670cec5a7b3d80a58f8cd935859feec4a 100644 --- a/ocaml.spec +++ b/ocaml.spec @@ -13,7 +13,7 @@ Name: ocaml Version: 4.13.1 -Release: 4 +Release: 5 Summary: OCaml compiler and programming environment License: LGPL-2.1-only URL: http://www.ocaml.org @@ -27,7 +27,7 @@ Patch0004: 0004-Update-dependencies.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} @@ -102,7 +102,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 @@ -202,7 +202,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 @@ -235,6 +235,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/ocaml/eventlog_metadata %{_mandir}/man3/* %changelog +* Thu Feb 2 2023 LeonWang - 4.13.1-5 +- Fix rpm-config hard code problem + * Thu Jan 19 2023 xingxing - 4.13.1-4 - Update dependencies