From 0e03260b8e9bab8351cb88c349feec246f4077b4 Mon Sep 17 00:00:00 2001 From: jxy_git Date: Thu, 17 Apr 2025 15:37:21 +0800 Subject: [PATCH] Limit rust-packaging version (cherry picked from commit 2302f208cf12865c7aed4c7f3b926d363d51e1b7) --- nispor.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/nispor.spec b/nispor.spec index 4439090..721c2b9 100644 --- a/nispor.spec +++ b/nispor.spec @@ -2,14 +2,16 @@ %global __cargo_skip_build 0 Name: nispor Version: 1.0.1 -Release: 4 +Release: 5 Summary: Unified interface for Linux network state querying License: ASL 2.0 URL: https://github.com/nispor/nispor Source: https://github.com/nispor/nispor/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: Enable-debug-symbols.patch ExclusiveArch: aarch64 x86_64 riscv64 loongarch64 -BuildRequires: make pkg-config python3-devel rust-packaging systemd-devel openEuler-rpm-config +BuildRequires: make pkg-config python3-devel systemd-devel openEuler-rpm-config +BuildRequires: rust-packaging < 24 +Conflicts: cargo-rpm-macros %description Unified interface for Linux network state querying. @@ -100,6 +102,9 @@ rm -rf %{buildroot}%{cargo_registry}/%{name}-%{version}/ %{_libdir}/pkgconfig/nispor.pc %changelog +* Thu Apr 17 2025 jiangxinyu - 1.0.1-5 +- Limit rust-packaging version + * Wed Apr 17 2024 yanjianqing - 1.0.1-4 - Enable debug symbols -- Gitee