From 23a420e6eb1c0c0ba2935d5a53b57a0925cc6666 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Lauzier?= Date: Fri, 10 Dec 2021 02:31:51 -0500 Subject: [PATCH] Update spec for rust2rpm 20 --- rust-palette.spec | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/rust-palette.spec b/rust-palette.spec index 878b639..7a859c9 100644 --- a/rust-palette.spec +++ b/rust-palette.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} @@ -15,9 +15,6 @@ URL: https://crates.io/crates/palette Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -37,8 +34,8 @@ This package contains library source intended for building other packages which use "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE -%doc README.md build/svg_gradients_mpl.txt build/svg_colors.txt +%license LICENSE-APACHE LICENSE-MIT +%doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel