Bump rand to 0.4
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
4a0c6baa8d
commit
e916e19146
|
@ -5,18 +5,21 @@
|
|||
|
||||
Name: rust-%{crate}
|
||||
Version: 0.1.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Rust command line tool that prints out a 6-digit random number
|
||||
|
||||
License: GPLv3+
|
||||
URL: https://crates.io/crates/yubibomb
|
||||
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
||||
# Initial patched metadata
|
||||
# * Bump rand to 0.4, https://gitlab.com/bowlofeggs/yubibomb/merge_requests/1
|
||||
Patch0: yubibomb-0.1.0-fix-metadata.diff
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
BuildRequires: rust-packaging
|
||||
# [dependencies]
|
||||
BuildRequires: (crate(rand) >= 0.3.0 with crate(rand) < 0.4.0)
|
||||
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
@ -51,5 +54,8 @@ to your laptop's USB port? Now you can!
|
|||
%{_bindir}/yubibomb
|
||||
|
||||
%changelog
|
||||
* Sun Dec 31 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.0-1
|
||||
- Bump rand to 0.4
|
||||
|
||||
* Wed Jun 28 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.0-1
|
||||
- Initial package
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
--- yubibomb-0.1.0/Cargo.toml 2017-05-01T03:20:39+02:00
|
||||
+++ yubibomb-0.1.0/Cargo.toml 2017-12-31T14:48:15.928601+01:00
|
||||
@@ -13,4 +13,4 @@
|
||||
readme = "README.md"
|
||||
|
||||
[dependencies]
|
||||
-rand = "0.3.0"
|
||||
+rand = "0.4"
|
Loading…
Reference in New Issue