From 16a07f0cdcbc1c6bcc030082745a2ac2e58875b8 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Thu, 23 Oct 2025 21:31:59 +0800 Subject: [PATCH] add conflicts on older version of cargo-rpm-macros --- rust.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rust.spec b/rust.spec index f78c5a3..4c1a76d 100644 --- a/rust.spec +++ b/rust.spec @@ -25,7 +25,7 @@ Name: rust Version: 1.86.0 -Release: 7 +Release: 8 Summary: The Rust Programming Language License: Apache-2.0 OR MIT URL: https://www.rust-lang.org @@ -213,6 +213,7 @@ BuildRequires: git Requires: %{name} = %{version}-%{release} Obsoletes: cargo-vendor <= 0.1.23 Provides: cargo-vendor = %{version}-%{release} +Conflicts: cargo-rpm-macros < 1:23 %description -n cargo Cargo is a tool that allows Rust projects to declare their various dependencies and ensure that you'll always get a repeatable build. @@ -550,6 +551,9 @@ export %{rust_env} %{_mandir}/man1/cargo*.1* %changelog +* Thu Oct 23 2025 Funda Wang - 1.86.0-8 +- add conflicts on older version of cargo-rpm-macros + * Thu Sep 25 2025 swcompiler - 1.86.0-7 - Add support for Sw64 -- Gitee