diff --git a/rust-yubibomb.spec b/rust-yubibomb.spec index 146b528..ac22b03 100644 --- a/rust-yubibomb.spec +++ b/rust-yubibomb.spec @@ -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 - 0.1.0-1 +- Bump rand to 0.4 + * Wed Jun 28 2017 Igor Gnatenko - 0.1.0-1 - Initial package diff --git a/yubibomb-0.1.0-fix-metadata.diff b/yubibomb-0.1.0-fix-metadata.diff new file mode 100644 index 0000000..ce3346a --- /dev/null +++ b/yubibomb-0.1.0-fix-metadata.diff @@ -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"