From 5cb947748fbc2ae4497eb7061f4d4f50ea192e89 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Mon, 14 Oct 2024 10:08:31 +0800 Subject: [PATCH] add epoch to requires --- curl.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/curl.spec b/curl.spec index 77fa6e4..6f1e994 100644 --- a/curl.spec +++ b/curl.spec @@ -1,4 +1,4 @@ -%define anolis_release 4 +%define anolis_release 5 Summary: A utility for getting files from remote servers (FTP, HTTP, and others) Name: curl Epoch: 1 @@ -88,7 +88,7 @@ BuildRequires: valgrind %endif # using an older version of libcurl could result in CURLE_UNKNOWN_OPTION -Requires: libcurl >= %{version}-%{release} +Requires: libcurl >= %{epoch}:%{version}-%{release} %description curl is a command line tool for transferring data with URL syntax, supporting @@ -133,7 +133,7 @@ Conflicts: curl RemovePathPostfixes: .minimal # using an older version of libcurl could result in CURLE_UNKNOWN_OPTION -Requires: libcurl >= %{version}-%{release} +Requires: libcurl >= %{epoch}:%{version}-%{release} %description -n curl-minimal This is a replacement of the 'curl' package for minimal installations. It @@ -367,6 +367,9 @@ rm -rf ${RPM_BUILD_ROOT}%{_datadir}/fish %doc docs/TheArtOfHttpScripting.md %changelog +* Mon Oct 14 2024 mgb01105731 - 8.4.0-5 +- add epoch to requires + * Mon Jun 24 2024 yanyihao - 8.4.0-4 - fix conflict when both install libcurl and libcurl-devel -- Gitee