diff --git a/anda/langs/rust/ouch/ouch-fix-metadata-auto.diff b/anda/langs/rust/ouch/ouch-fix-metadata-auto.diff index 4b23e58e2d..69692d0fe1 100644 --- a/anda/langs/rust/ouch/ouch-fix-metadata-auto.diff +++ b/anda/langs/rust/ouch/ouch-fix-metadata-auto.diff @@ -1,8 +1,17 @@ ---- ouch-0.5.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ ouch-0.5.1/Cargo.toml 2023-12-10T09:36:31.446957+00:00 -@@ -176,5 +176,3 @@ - ] - use_zstd_thin = ["zstd/thin"] +--- ouch-0.6.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ ouch-0.6.0/Cargo.toml 2025-04-20T17:51:00.814645+00:00 +@@ -223,9 +223,6 @@ + [build-dependencies.clap_mangen] + version = "0.2.24" -[target."cfg(not(unix))".dependencies.is_executable] -version = "1.0.1" +- + [profile.fast] + opt-level = 2 + lto = false +@@ -238,3 +235,4 @@ + lto = true + codegen-units = 1 + strip = true ++ diff --git a/anda/langs/rust/ouch/rust-ouch.spec b/anda/langs/rust/ouch/rust-ouch.spec index 22bfff1c79..73300e87ef 100644 --- a/anda/langs/rust/ouch/rust-ouch.spec +++ b/anda/langs/rust/ouch/rust-ouch.spec @@ -1,5 +1,5 @@ -# Generated by rust2rpm 25 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global crate ouch @@ -25,11 +25,14 @@ and directories.} %package -n %{crate} Summary: %{summary} +License: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND (BSD-3-Clause AND MIT) AND (BSD-3-Clause OR MIT) AND CC0-1.0 AND LGPL-3.0-only AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT) AND Zlib +# LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE +%license LICENSE.dependencies %doc CHANGELOG.md %doc CONTRIBUTING.md %doc README.md @@ -40,7 +43,8 @@ Summary: %{summary} %cargo_prep_online %build -%cargo_build +%{cargo_license_summary_online} +%{cargo_license_online} > LICENSE.dependencies %install %cargo_install