From 0d8cf8624ae66c19bad554c0207a2fd42341652b Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Oct 26 2024 01:30:35 +0000 Subject: clean up things no longer needed Vendor dir is built in and the steps to build are simpler Signed-off-by: Dennis Gilmore --- diff --git a/SPECS/conmon-rs.spec b/SPECS/conmon-rs.spec index da4a5bd..d918243 100644 --- a/SPECS/conmon-rs.spec +++ b/SPECS/conmon-rs.spec @@ -19,7 +19,6 @@ Summary: Container monitor in Rust License: ASL 2.0 and BSD and ISC and MIT URL: https://github.com/containers/conmon-rs Source0: https://github.com/containers/conmon-rs/releases/download/v%{version}/%{bin_name}-v%{version}.tar.gz -# Only for CentOS/RHEL builds BuildRequires: capnproto BuildRequires: cargo BuildRequires: git-core @@ -38,16 +37,6 @@ ExclusiveArch: %{rust_arches} %prep %autosetup -n %{bin_name}-v%{version} -%if "0%{?rhel}" -%cargo_prep -V 1 -%else -%cargo_prep -%endif - -%if !"0%{?rhel}" -%generate_buildrequires -%cargo_generate_buildrequires -%endif %build %{__make} release