|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate scoped-tls
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 1.0.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Implementation of the standard library's old `scoped_thread_local!` macro
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -15,13 +15,16 @@ URL: https://crates.io/crates/scoped-tls
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Library implementation of the standard library's old `scoped_thread_local!`\
|
|
|
|
|
macro for providing scoped access to thread local storage (TLS) so any type can\
|
|
|
|
|
be stored into TLS.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Library implementation of the standard library's old `scoped_thread_local!`
|
|
|
|
|
macro for providing scoped access to thread local storage (TLS) so any type can
|
|
|
|
|
be stored into TLS.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -56,6 +59,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -68,6 +74,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jul 21 08:58:00 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.0-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Mon Mar 04 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.0-1
|
|
|
|
|
- Update to 1.0.0
|
|
|
|
|
|
|
|
|
|