diff --git a/rust-cargo-c.spec b/rust-cargo-c.spec index 8a5af61..2c56b8e 100644 --- a/rust-cargo-c.spec +++ b/rust-cargo-c.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global crate cargo-c @@ -19,9 +19,6 @@ Source: %{crates_source %{crate} %{upstream_version}} Patch0: cargo-c-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -30,7 +27,6 @@ Helper program to build and install c-like libraries.} %description %{_description} -%if ! %{__cargo_skip_build} %package -n %{crate} Summary: %{summary} # ASL 2.0 @@ -53,7 +49,6 @@ License: MIT and ASL 2.0 and MPLv2.0 %{_bindir}/cargo-capi %{_bindir}/cargo-cinstall %{_bindir}/cargo-cbuild -%endif %package devel Summary: %{summary} @@ -61,8 +56,8 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel %license LICENSE @@ -75,8 +70,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml