|
|
|
@ -1,5 +1,4 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
# * Tests are run in infrastructure
|
|
|
|
|
# Generated by rust2rpm-9-1.fc31
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
@ -7,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.1.8
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Single assignment cells and lazy static values without macros
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT OR Apache-2.0
|
|
|
|
@ -15,13 +14,14 @@ License: MIT or ASL 2.0
|
|
|
|
|
URL: https://crates.io/crates/once_cell
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * Exclude unnecessary files
|
|
|
|
|
# * Exclude unnecessary files, https://github.com/matklad/once_cell/pull/12
|
|
|
|
|
# * Update parking_lot to 0.8, https://github.com/matklad/once_cell/pull/11
|
|
|
|
|
Patch0: once_cell-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(parking_lot) >= 0.7.1 with crate(parking_lot) < 0.8.0)
|
|
|
|
|
BuildRequires: (crate(parking_lot) >= 0.8.0 with crate(parking_lot) < 0.9.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(crossbeam-utils/default) >= 0.6.0 with crate(crossbeam-utils/default) < 0.7.0)
|
|
|
|
|
%endif
|
|
|
|
@ -85,6 +85,9 @@ which use "parking_lot" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue May 07 07:37:55 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.8-1
|
|
|
|
|
- Update parking_lot to 0.8
|
|
|
|
|
|
|
|
|
|
* Tue Feb 12 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.8-2
|
|
|
|
|
- Adapt to new packaging
|
|
|
|
|
|
|
|
|
|