|
|
|
@ -7,27 +7,17 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.7.2
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Library to generate and parse UUIDs
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0 OR MIT
|
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
|
URL: https://crates.io/crates/uuid
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * Drop slog dependency until packaged
|
|
|
|
|
# * Drop winapi
|
|
|
|
|
# * Drop wasm
|
|
|
|
|
Patch0: uuid-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(byteorder/i128) >= 1.0.0 with crate(byteorder/i128) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(md5/default) >= 0.6.0 with crate(md5/default) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(serde) >= 1.0.56 with crate(serde) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(sha1/default) >= 0.6.0 with crate(sha1/default) < 0.7.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(bincode/default) >= 1.0.0 with crate(bincode/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(serde_derive/default) >= 1.0.79 with crate(serde_derive/default) < 2.0.0)
|
|
|
|
@ -214,6 +204,9 @@ which use "v5" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.2-3
|
|
|
|
|
- Do not pull optional dependencies
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|