From caf152fad87c46f3a91cd03143ab8f4dc95b8515 Mon Sep 17 00:00:00 2001 From: anolis-bot Date: Mon, 31 Aug 2026 11:04:21 +0800 Subject: [PATCH] fix(yaml-cpp): update dependency version format The change updates the format of the Requires field in the spec file to use %{version}-%{release} instead of %{EVR}, ensuring more precise version matching for dependencies. Assisted-by: qwen:qwen3.7-max --- yaml-cpp.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yaml-cpp.spec b/yaml-cpp.spec index 9f78260..f05dd9d 100644 --- a/yaml-cpp.spec +++ b/yaml-cpp.spec @@ -25,7 +25,7 @@ yaml-cpp is a YAML parser and emitter in C++ written around the YAML 1.2 spec. %package devel Summary: Development files for %{name} -Requires: %{name} = %{EVR} +Requires: %{name} = %{version}-%{release} Requires: libstdc++-devel %description devel @@ -34,7 +34,7 @@ developing applications that use %{name}. %package static Summary: Static library for %{name} -Requires: %{name}-devel = %{EVR} +Requires: %{name}-devel = %{version}-%{release} %description static The %{name}-static package contains the static library for %{name}. -- Gitee