Bump regex to 1

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-06-14 09:14:56 +02:00
parent e541e708cc
commit 245d330aa1
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
2 changed files with 16 additions and 2 deletions

View File

@ -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 <ignatenkobrain@fedoraproject.org> - 0.2.0-2
- Bump regex to 1
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -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"