1 |
# Generated by rust2rpm 21 |
# Generated by rust2rpm 21 |
2 |
%bcond_without check |
%bcond_without check |
3 |
|
%global debug_package %{nil} |
4 |
|
|
5 |
%global crate parking_lot |
%global crate parking_lot |
6 |
|
|
7 |
Name: rust-%{crate} |
Name: rust-%{crate} |
8 |
Version: 0.11.2 |
Version: 0.12.1 |
9 |
Release: %mkrel 2 |
Release: %mkrel 1 |
10 |
Summary: More compact and efficient implementations of the standard synchronization primitives |
Summary: Compact and efficient implementations of standard synchronization primitives |
11 |
Group: Development/Other |
Group: Development/Other |
12 |
|
|
13 |
# Upstream license specification: Apache-2.0/MIT |
# Upstream license specification: MIT OR Apache-2.0 |
14 |
License: ASL 2.0 or MIT |
License: MIT or ASL 2.0 |
15 |
URL: https://crates.io/crates/parking_lot |
URL: https://crates.io/crates/parking_lot |
16 |
Source: %{crates_source} |
Source: %{crates_source} |
17 |
|
|
18 |
ExclusiveArch: %{rust_arches} |
ExclusiveArch: %{rust_arches} |
|
BuildArch: noarch |
|
19 |
|
|
20 |
BuildRequires: rust-packaging >= 21 |
BuildRequires: rust-packaging >= 21 |
21 |
BuildRequires: crate(instant/default) >= 0.1.9 |
BuildRequires: crate(lock_api/default) >= 0.4.6 |
22 |
BuildRequires: crate(lock_api/default) >= 0.4.5 |
BuildRequires: crate(parking_lot_core/default) >= 0.9.0 |
|
BuildRequires: crate(parking_lot_core/default) >= 0.8.4 |
|
23 |
%if %{with check} |
%if %{with check} |
24 |
BuildRequires: crate(bincode/default) >= 1.3.3 |
BuildRequires: crate(bincode/default) >= 1.3.3 |
25 |
BuildRequires: crate(rand/default) >= 0.8.3 |
BuildRequires: crate(rand/default) >= 0.8.3 |
33 |
|
|
34 |
%package devel |
%package devel |
35 |
Summary: %{summary} |
Summary: %{summary} |
|
Group: Development/Other |
|
36 |
BuildArch: noarch |
BuildArch: noarch |
37 |
|
|
38 |
%description devel %{_description} |
%description devel %{_description} |
49 |
|
|
50 |
%package -n %{name}+default-devel |
%package -n %{name}+default-devel |
51 |
Summary: %{summary} |
Summary: %{summary} |
|
Group: Development/Other |
|
52 |
BuildArch: noarch |
BuildArch: noarch |
53 |
|
|
54 |
%description -n %{name}+default-devel %{_description} |
%description -n %{name}+default-devel %{_description} |
61 |
|
|
62 |
%package -n %{name}+arc_lock-devel |
%package -n %{name}+arc_lock-devel |
63 |
Summary: %{summary} |
Summary: %{summary} |
|
Group: Development/Other |
|
64 |
BuildArch: noarch |
BuildArch: noarch |
65 |
|
|
66 |
%description -n %{name}+arc_lock-devel %{_description} |
%description -n %{name}+arc_lock-devel %{_description} |
73 |
|
|
74 |
%package -n %{name}+deadlock_detection-devel |
%package -n %{name}+deadlock_detection-devel |
75 |
Summary: %{summary} |
Summary: %{summary} |
|
Group: Development/Other |
|
76 |
BuildArch: noarch |
BuildArch: noarch |
77 |
|
|
78 |
%description -n %{name}+deadlock_detection-devel %{_description} |
%description -n %{name}+deadlock_detection-devel %{_description} |
83 |
%files -n %{name}+deadlock_detection-devel |
%files -n %{name}+deadlock_detection-devel |
84 |
%ghost %{crate_instdir}/Cargo.toml |
%ghost %{crate_instdir}/Cargo.toml |
85 |
|
|
86 |
|
%package -n %{name}+hardware-lock-elision-devel |
87 |
|
Summary: %{summary} |
88 |
|
BuildArch: noarch |
89 |
|
|
90 |
|
%description -n %{name}+hardware-lock-elision-devel %{_description} |
91 |
|
|
92 |
|
This package contains library source intended for building other packages which |
93 |
|
use the "hardware-lock-elision" feature of the "%{crate}" crate. |
94 |
|
|
95 |
|
%files -n %{name}+hardware-lock-elision-devel |
96 |
|
%ghost %{crate_instdir}/Cargo.toml |
97 |
|
|
98 |
%package -n %{name}+nightly-devel |
%package -n %{name}+nightly-devel |
99 |
Summary: %{summary} |
Summary: %{summary} |
|
Group: Development/Other |
|
100 |
BuildArch: noarch |
BuildArch: noarch |
101 |
|
|
102 |
%description -n %{name}+nightly-devel %{_description} |
%description -n %{name}+nightly-devel %{_description} |
109 |
|
|
110 |
%package -n %{name}+owning_ref-devel |
%package -n %{name}+owning_ref-devel |
111 |
Summary: %{summary} |
Summary: %{summary} |
|
Group: Development/Other |
|
112 |
BuildArch: noarch |
BuildArch: noarch |
113 |
|
|
114 |
%description -n %{name}+owning_ref-devel %{_description} |
%description -n %{name}+owning_ref-devel %{_description} |
121 |
|
|
122 |
%package -n %{name}+send_guard-devel |
%package -n %{name}+send_guard-devel |
123 |
Summary: %{summary} |
Summary: %{summary} |
|
Group: Development/Other |
|
124 |
BuildArch: noarch |
BuildArch: noarch |
125 |
|
|
126 |
%description -n %{name}+send_guard-devel %{_description} |
%description -n %{name}+send_guard-devel %{_description} |
133 |
|
|
134 |
%package -n %{name}+serde-devel |
%package -n %{name}+serde-devel |
135 |
Summary: %{summary} |
Summary: %{summary} |
|
Group: Development/Other |
|
136 |
BuildArch: noarch |
BuildArch: noarch |
137 |
|
|
138 |
%description -n %{name}+serde-devel %{_description} |
%description -n %{name}+serde-devel %{_description} |
143 |
%files -n %{name}+serde-devel |
%files -n %{name}+serde-devel |
144 |
%ghost %{crate_instdir}/Cargo.toml |
%ghost %{crate_instdir}/Cargo.toml |
145 |
|
|
|
%package -n %{name}+stdweb-devel |
|
|
Summary: %{summary} |
|
|
Group: Development/Other |
|
|
BuildArch: noarch |
|
|
|
|
|
%description -n %{name}+stdweb-devel %{_description} |
|
|
|
|
|
This package contains library source intended for building other packages which |
|
|
use the "stdweb" feature of the "%{crate}" crate. |
|
|
|
|
|
%files -n %{name}+stdweb-devel |
|
|
%ghost %{crate_instdir}/Cargo.toml |
|
|
|
|
|
%package -n %{name}+wasm-bindgen-devel |
|
|
Summary: %{summary} |
|
|
Group: Development/Other |
|
|
BuildArch: noarch |
|
|
|
|
|
%description -n %{name}+wasm-bindgen-devel %{_description} |
|
|
|
|
|
This package contains library source intended for building other packages which |
|
|
use the "wasm-bindgen" feature of the "%{crate}" crate. |
|
|
|
|
|
%files -n %{name}+wasm-bindgen-devel |
|
|
%ghost %{crate_instdir}/Cargo.toml |
|
|
|
|
146 |
%prep |
%prep |
147 |
%autosetup -n %{crate}-%{version_no_tilde} -p1 |
%autosetup -n %{crate}-%{version_no_tilde} -p1 |
148 |
%cargo_prep |
%cargo_prep |
149 |
|
|
150 |
|
%generate_buildrequires |
151 |
|
%cargo_generate_buildrequires |
152 |
|
|
153 |
%build |
%build |
154 |
%cargo_build |
%cargo_build |
155 |
|
|