|
|
@ -1,28 +1,24 @@
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate parking_lot_core
|
|
|
|
%global crate parking_lot_core
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-parking_lot_core
|
|
|
|
Version: 0.9.3
|
|
|
|
Version: 0.9.10
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Advanced API for creating custom synchronization primitives
|
|
|
|
Summary: Advanced API for creating custom synchronization primitives
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT OR Apache-2.0
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
|
|
|
URL: https://crates.io/crates/parking_lot_core
|
|
|
|
URL: https://crates.io/crates/parking_lot_core
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
# * drop Windows- and Redox OS-specific dependencies
|
|
|
|
Patch: parking_lot_core-fix-metadata-auto.diff
|
|
|
|
Patch0: parking_lot_core-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Advanced API for creating custom synchronization primitives.}
|
|
|
|
An advanced API for creating custom synchronization primitives.}
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
@ -113,7 +109,7 @@ use the "thread-id" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|