diff --git a/rust-temp-env.spec b/rust-temp-env.spec index 53bff16..d233920 100644 --- a/rust-temp-env.spec +++ b/rust-temp-env.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate temp-env Name: rust-temp-env -Version: 0.3.0 +Version: 0.3.2 Release: %autorelease Summary: Set environment variables temporarily @@ -13,9 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/temp-env Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Set environment variables temporarily.} @@ -49,6 +47,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+async_closure-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+async_closure-devel %{_description} + +This package contains library source intended for building other packages which +use the "async_closure" feature of the "%{crate}" crate. + +%files -n %{name}+async_closure-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep