From aa66a5ffb441d54c869cfc853f0a41a94a3ee79d Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Tue, 26 May 2026 12:27:14 -0500 Subject: [PATCH] fix: rust-ouch (#12644) (#12648) --- anda/langs/rust/ouch/rust-ouch.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/anda/langs/rust/ouch/rust-ouch.spec b/anda/langs/rust/ouch/rust-ouch.spec index 1abc9d750b..53a9b31389 100644 --- a/anda/langs/rust/ouch/rust-ouch.spec +++ b/anda/langs/rust/ouch/rust-ouch.spec @@ -1,6 +1,7 @@ # Generated by rust2rpm 27 %bcond check 1 +%global __brp_mangle_shebangs %{nil} %global crate ouch Name: rust-ouch @@ -12,10 +13,11 @@ License: MIT URL: https://crates.io/crates/ouch Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata -Patch: ouch-fix-metadata-auto.diff +%dnl Patch: ouch-fix-metadata-auto.diff BuildRequires: anda-srpm-macros cargo-rpm-macros >= 24 BuildRequires: gcc-c++ +BuildRequires: clang-devel %global _description %{expand: A command-line utility for easily compressing and decompressing files @@ -39,7 +41,7 @@ License: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR MI %{_bindir}/ouch %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version} %cargo_prep_online %build