diff --git a/.gitignore b/.gitignore index 58acdbf..66c0401 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,5 @@ /parking_lot-0.11.0.crate /parking_lot-0.11.1.crate /parking_lot-0.11.2.crate +/parking_lot-0.12.0.crate +/parking_lot-0.12.1.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf deleted file mode 100644 index a94dc77..0000000 --- a/.rust2rpm.conf +++ /dev/null @@ -1,5 +0,0 @@ -[DEFAULT] -unwanted-features = - nightly - stdweb - wasm-bindgen diff --git a/rust-parking_lot.spec b/rust-parking_lot.spec index 7a11106..7954d45 100644 --- a/rust-parking_lot.spec +++ b/rust-parking_lot.spec @@ -1,25 +1,22 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate parking_lot Name: rust-%{crate} -Version: 0.11.2 +Version: 0.12.1 Release: %autorelease Summary: Compact and efficient implementations of standard synchronization primitives -# Upstream license specification: Apache-2.0/MIT -License: ASL 2.0 or MIT +# Upstream license specification: MIT OR Apache-2.0 +License: MIT or ASL 2.0 URL: https://crates.io/crates/parking_lot Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: More compact and efficient implementations of the standard synchronization @@ -34,12 +31,14 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md README.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 +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,10 +47,10 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which -use "the default" feature of the "%{crate}" crate. +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}+arc_lock-devel Summary: %{summary} @@ -60,10 +59,10 @@ BuildArch: noarch %description -n %{name}+arc_lock-devel %{_description} This package contains library source intended for building other packages which -use "the arc_lock" feature of the "%{crate}" crate. +use the "arc_lock" feature of the "%{crate}" crate. %files -n %{name}+arc_lock-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+deadlock_detection-devel Summary: %{summary} @@ -72,10 +71,34 @@ BuildArch: noarch %description -n %{name}+deadlock_detection-devel %{_description} This package contains library source intended for building other packages which -use "the deadlock_detection" feature of the "%{crate}" crate. +use the "deadlock_detection" feature of the "%{crate}" crate. %files -n %{name}+deadlock_detection-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+hardware-lock-elision-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+hardware-lock-elision-devel %{_description} + +This package contains library source intended for building other packages which +use the "hardware-lock-elision" feature of the "%{crate}" crate. + +%files -n %{name}+hardware-lock-elision-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+nightly-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nightly-devel %{_description} + +This package contains library source intended for building other packages which +use the "nightly" feature of the "%{crate}" crate. + +%files -n %{name}+nightly-devel +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+owning_ref-devel Summary: %{summary} @@ -84,10 +107,10 @@ BuildArch: noarch %description -n %{name}+owning_ref-devel %{_description} This package contains library source intended for building other packages which -use "the owning_ref" feature of the "%{crate}" crate. +use the "owning_ref" feature of the "%{crate}" crate. %files -n %{name}+owning_ref-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+send_guard-devel Summary: %{summary} @@ -96,10 +119,10 @@ BuildArch: noarch %description -n %{name}+send_guard-devel %{_description} This package contains library source intended for building other packages which -use "the send_guard" feature of the "%{crate}" crate. +use the "send_guard" feature of the "%{crate}" crate. %files -n %{name}+send_guard-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -108,10 +131,10 @@ BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which -use "the serde" feature of the "%{crate}" crate. +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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index bc499c4..7781596 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (parking_lot-0.11.2.crate) = 526b176363dffa59501c18324bb723a3846ef5b0ff9bf1d890e40ad10e7023284f7c8012eda87520eaa94515ee828d9ef52692a9ed590a55e176383d6d472f9e +SHA512 (parking_lot-0.12.1.crate) = 07327d3b737a913508dffb66023766348ce7f9d555c224a099cabb05baefd16a28e15fec638e3a148a5169dbd980c4541b0f8820ae9d06dfe0704482838fbd5c