diff --git a/.gitignore b/.gitignore index d23f491..e99e739 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /arc-swap-1.2.0.crate /arc-swap-1.3.0.crate /arc-swap-1.5.0.crate +/arc-swap-1.5.1.crate diff --git a/rust-arc-swap.spec b/rust-arc-swap.spec index 149fc7d..c809cae 100644 --- a/rust-arc-swap.spec +++ b/rust-arc-swap.spec @@ -1,26 +1,23 @@ -# Generated by rust2rpm 18 -# * adaptive-barrier is not packaged yet +# Generated by rust2rpm 22 +# * missing dev-dependency: adaptive-barrier %bcond_with check %global debug_package %{nil} %global crate arc-swap -Name: rust-%{crate} -Version: 1.5.0 +Name: rust-arc-swap +Version: 1.5.1 Release: %autorelease Summary: Atomically swappable Arc # Upstream license specification: Apache-2.0/MIT -License: ASL 2.0 or MIT +License: Apache-2.0 OR MIT URL: https://crates.io/crates/arc-swap Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Atomically swappable Arc.} @@ -33,13 +30,16 @@ 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-APACHE LICENSE-MIT -%doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%doc %{crate_instdir}/TODO +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,11 +47,11 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+experimental-strategies-devel Summary: %{summary} @@ -59,11 +59,11 @@ BuildArch: noarch %description -n %{name}+experimental-strategies-devel %{_description} -This package contains library source intended for building other packages -which use "experimental-strategies" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "experimental-strategies" feature of the "%{crate}" crate. %files -n %{name}+experimental-strategies-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+internal-test-strategies-devel Summary: %{summary} @@ -71,11 +71,11 @@ BuildArch: noarch %description -n %{name}+internal-test-strategies-devel %{_description} -This package contains library source intended for building other packages -which use "internal-test-strategies" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "internal-test-strategies" feature of the "%{crate}" crate. %files -n %{name}+internal-test-strategies-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -83,11 +83,11 @@ BuildArch: noarch %description -n %{name}+serde-devel %{_description} -This package contains library source intended for building other packages -which use "serde" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+weak-devel Summary: %{summary} @@ -95,11 +95,11 @@ BuildArch: noarch %description -n %{name}+weak-devel %{_description} -This package contains library source intended for building other packages -which use "weak" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "weak" feature of the "%{crate}" crate. %files -n %{name}+weak-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 6133eeb..84dc59a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (arc-swap-1.5.0.crate) = b668a75b2ac77a9d2df3f29b70c8c22e5a961cd2478cd76b6d313e0e1ff809508887451b895f057d160860daa4b02cb74616ab8daa34d163ef3f42a009842031 +SHA512 (arc-swap-1.5.1.crate) = 8636149e92c068d5ff5352a19c9973e7bf2aba68b9363c783178903a8665f6edabbd30c25ad7992646635efe5830d67c958f8d41b44a4ed1fe5698628b41c074