From 660004694df448e84042f5f92ec8c0f39ea83fb8 Mon Sep 17 00:00:00 2001 From: ocs-bot Date: Mon, 8 Jul 2024 09:27:33 +0800 Subject: [PATCH 1/3] Rebuilt for rust-packaging --- mdevctl.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mdevctl.spec b/mdevctl.spec index 32749ff..b126a48 100644 --- a/mdevctl.spec +++ b/mdevctl.spec @@ -4,7 +4,7 @@ Summary: A mediated device management utility for Linux Name: mdevctl Version: 1.2.0 -Release: 5%{?dist} +Release: 6%{?dist} License: LGPLv2 URL: https://crates.io/crates/mdevctl Source0: https://github.com/mdevctl/mdevctl/archive/refs/tags/mdevctl-%{version}.tar.gz @@ -60,6 +60,10 @@ EOF %{_datadir}/bash-completion/completions/lsmdev %changelog +* Mon Jul 08 2024 Rebuild Robot - 1.2.0-6 +- [Type] bugfix +- [DESC] Rebuilt for rust-packaging + * Fri Sep 08 2023 OpenCloudOS Release Engineering - 1.2.0-5 - Rebuilt for OpenCloudOS Stream 23.09 -- Gitee From 9d9846c3a2361b51c7dc5e28194184db4a75c055 Mon Sep 17 00:00:00 2001 From: gordonwwang Date: Mon, 8 Jul 2024 12:42:08 +0800 Subject: [PATCH 2/3] update rust macros --- mdevctl.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdevctl.spec b/mdevctl.spec index b126a48..bb2b4d4 100644 --- a/mdevctl.spec +++ b/mdevctl.spec @@ -13,7 +13,7 @@ Source1: mdevctl-1.2.0-vendor.tar.bz2 ExclusiveArch: %{rust_arches} -BuildRequires: make systemd rust-packaging python3-docutils cargo +BuildRequires: make systemd rust-toolset python3-docutils cargo Requires(post,postun): %{_sbindir}/udevadm %description -- Gitee From 818e825f2c28d2bfca8aa666b6d76e220757908f Mon Sep 17 00:00:00 2001 From: gordonwwang Date: Mon, 8 Jul 2024 12:52:25 +0800 Subject: [PATCH 3/3] use cargo_prep --- mdevctl.spec | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/mdevctl.spec b/mdevctl.spec index bb2b4d4..45f2419 100644 --- a/mdevctl.spec +++ b/mdevctl.spec @@ -25,14 +25,7 @@ vfio-mdev for assignment to virtual machines. %prep %autosetup -p1 -tar jxf %{SOURCE1} -mkdir .cargo -cat > .cargo/config <