diff --git a/.gitignore b/.gitignore index e280255..fa551de 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /fragile-0.3.0.crate /fragile-1.0.0.crate /fragile-1.1.0.crate +/fragile-1.2.0.crate diff --git a/rust-fragile.spec b/rust-fragile.spec index 51e04de..83a0cdc 100644 --- a/rust-fragile.spec +++ b/rust-fragile.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate fragile Name: rust-%{crate} -Version: 1.1.0 +Version: 1.2.0 Release: %autorelease Summary: Provides wrapper types for sending non-send values to other threads @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Provides wrapper types for sending non-send values to other threads.} @@ -33,9 +33,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +48,19 @@ 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 +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+slab-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+slab-devel %{_description} + +This package contains library source intended for building other packages which +use the "slab" feature of the "%{crate}" crate. + +%files -n %{name}+slab-devel +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 6052f2b..a5df1b4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fragile-1.1.0.crate) = dbb835aa85fa7153d284e2c3319aef639b62529b5d622a671bf9c8816048f2f44b143ec1e329b681fb850a00d6c2a296da3a44128db02b0d9422e66d6658637a +SHA512 (fragile-1.2.0.crate) = 2cc20896a2a8cc5225fbf796d4b1cd4b81529ce7c86aab52b91037248dab21161defebe9a26b6f55df3f76d711c5c2c4d6013ba813956db1e3cff245eedbad54