From d79a5eaf7286f878bec33512dfced4aa982a5d5d Mon Sep 17 00:00:00 2001 From: wk333 <13474090681@163.com> Date: Thu, 24 Apr 2025 09:17:17 +0800 Subject: [PATCH] Fix requires --- ocaml.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ocaml.spec b/ocaml.spec index 5645ce7..9d5f6cb 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 -- Gitee