diff --git a/curl.spec b/curl.spec index 7a4c7d6ed3b984c5e86f6cacee16d9cd111a5dd2..77fa6e43293d328aa9104868e08fdc6690ec7b13 100644 --- a/curl.spec +++ b/curl.spec @@ -1,4 +1,4 @@ -%define anolis_release 3 +%define anolis_release 4 Summary: A utility for getting files from remote servers (FTP, HTTP, and others) Name: curl Epoch: 1 @@ -9,7 +9,7 @@ Source0: https://curl.se/download/%{name}-%{version}.tar.xz # Upstream patch -Provides: curl-full = %{version}-%{release} +Provides: curl-full = %{epoch}:%{version}-%{release} Provides: webclient URL: https://curl.se/ BuildRequires: automake @@ -103,7 +103,7 @@ Summary: A library for getting files from web servers Requires: libpsl >= %{installed_version_of libpsl} Requires: libssh >= %{installed_version_of libssh} Requires: openssl-libs >= %{installed_version_of openssl-libs} -Provides: libcurl-full = %{version}-%{release} +Provides: libcurl-full = %{epoch}:%{version}-%{release} Requires: libnghttp2 >= %{installed_version_of libnghttp2} %description -n libcurl @@ -116,9 +116,9 @@ resume, http proxy tunneling and more. %package -n libcurl-devel Summary: Files needed for building applications with libcurl -Requires: libcurl = %{version}-%{release} +Requires: libcurl = %{epoch}:%{version}-%{release} -Provides: curl-devel = %{version}-%{release} +Provides: curl-devel = %{epoch}:%{version}-%{release} Obsoletes: curl-devel < %{version}-%{release} %description -n libcurl-devel @@ -128,7 +128,7 @@ documentation of the library, too. %package -n curl-minimal Summary: Conservatively configured build of curl for minimal installations -Provides: curl = %{version}-%{release} +Provides: curl = %{epoch}:%{version}-%{release} Conflicts: curl RemovePathPostfixes: .minimal @@ -144,7 +144,7 @@ be installed. %package -n libcurl-minimal Summary: Conservatively configured build of libcurl for minimal installations Requires: openssl-libs >= %{installed_version_of openssl-libs} -Provides: libcurl = %{version}-%{release} +Provides: libcurl = %{epoch}:%{version}-%{release} Conflicts: libcurl RemovePathPostfixes: .minimal # needed for RemovePathPostfixes to work with shared libraries @@ -158,7 +158,7 @@ be installed. %package doc Summary: Doc files for curl -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{epoch}:%{version}-%{release} BuildArch: noarch %description doc @@ -367,6 +367,9 @@ rm -rf ${RPM_BUILD_ROOT}%{_datadir}/fish %doc docs/TheArtOfHttpScripting.md %changelog +* Mon Jun 24 2024 yanyihao - 8.4.0-4 +- fix conflict when both install libcurl and libcurl-devel + * Tue May 14 2024 yangxinyu - 8.4.0-3 - fix cve-2024-2398