From 245d330aa1e168a51cba3654bff11fa424acde6a Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 14 Jun 2018 09:14:56 +0200 Subject: [PATCH] Bump regex to 1 Signed-off-by: Igor Gnatenko --- rust-yubibomb.spec | 10 ++++++++-- yubibomb-0.2.0-fix-metadata.diff | 8 ++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 yubibomb-0.2.0-fix-metadata.diff diff --git a/rust-yubibomb.spec b/rust-yubibomb.spec index c464740..ca51ead 100644 --- a/rust-yubibomb.spec +++ b/rust-yubibomb.spec @@ -5,12 +5,15 @@ Name: rust-%{crate} Version: 0.2.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 regex to 1, https://gitlab.com/bowlofeggs/yubibomb/commit/301cb10cd056cd33c4736b87aaad333f77c6c252 +Patch0: yubibomb-0.2.0-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -19,7 +22,7 @@ BuildRequires: rust-packaging BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) %if %{with check} # [dev-dependencies] -BuildRequires: (crate(regex) >= 0.2.0 with crate(regex) < 0.3.0) +BuildRequires: (crate(regex) >= 1.0.0 with crate(regex) < 2.0.0) %endif %description @@ -73,6 +76,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Thu Jun 14 2018 Igor Gnatenko - 0.2.0-2 +- Bump regex to 1 + * Fri Feb 09 2018 Fedora Release Engineering - 0.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/yubibomb-0.2.0-fix-metadata.diff b/yubibomb-0.2.0-fix-metadata.diff new file mode 100644 index 0000000..eafe7e8 --- /dev/null +++ b/yubibomb-0.2.0-fix-metadata.diff @@ -0,0 +1,8 @@ +--- yubibomb-0.2.0/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ yubibomb-0.2.0/Cargo.toml 2018-06-14T09:15:13.966819+02:00 +@@ -24,4 +24,4 @@ + [dependencies.rand] + version = "0.4" + [dev-dependencies.regex] +-version = "0.2" ++version = "1"