diff --git a/ocaml.spec b/ocaml.spec index 5645ce7c7678849776187678862d5afe15950313..9d5f6cb9d5b609a384befee1b0254d67954694d4 100644 --- a/ocaml.spec +++ b/ocaml.spec @@ -4,7 +4,7 @@ Name: ocaml Version: 5.3.0 -Release: 2 +Release: 3 Summary: OCaml compiler and programming environment License: LGPL-2.1-only URL: https://www.ocaml.org @@ -23,6 +23,7 @@ BuildRequires: util-linux chrpath autoconf annobin make Requires: gcc util-linux %{_vendor}-rpm-config Requires: %{name}-srpm-macros = %{version}-%{release} +Requires: %{name}-rpm-macros = %{version}-%{release} Provides: bundled(md5-plumb) ocaml(runtime) = %{version} Provides: ocaml(compiler) = %{version} @@ -69,7 +70,6 @@ Help files for %{name} License: LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception AND BSD-3-Clause Summary: RPM macros for building OCaml packages BuildArch: noarch -Requires: ocaml = %{version}-%{release} Requires: python3 @@ -80,7 +80,6 @@ This package contains macros that are useful for building OCaml RPMs. License: GPL-2.0-or-later Summary: OCaml architecture macros BuildArch: noarch -Requires: ocaml = %{version}-%{release} %description srpm-macros @@ -290,6 +289,9 @@ install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_rpmconfigdir}/%{_vendor} %{_mandir}/man3/* %changelog +* Thu Apr 24 2025 wangkai <13474090681@163.com> - 5.3.0-3 +- Fix requires + * Wed Apr 23 2025 wangkai <13474090681@163.com> - 5.3.0-2 - Add version limit for ocaml-srpm-macros