|
|
|
@ -6,17 +6,16 @@
|
|
|
|
|
%global crate lazy_static
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 1.2.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 1.3.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Macro for declaring lazily evaluated statics in Rust
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
URL: https://crates.io/crates/lazy_static
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * Exclude CI files, https://github.com/rust-lang-nursery/lazy-static.rs/pull/127
|
|
|
|
|
# * Remove spin, it is not usable on stable
|
|
|
|
|
# * Remove spin, it is not usable on stable (FIXME: still true?)
|
|
|
|
|
Patch0: lazy_static-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
@ -55,7 +54,7 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -70,6 +69,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Feb 28 2019 Josh Stone <jistone@redhat.com> - 1.3.0-1
|
|
|
|
|
- Update to 1.3.0
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|