From 95bb5bcf332951edfd0d71b076f2cf5f5d7f0323 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Nov 29 2017 10:03:37 +0000 Subject: Bump quickcheck to 0.5 Signed-off-by: Igor Gnatenko --- diff --git a/rust-utf8-ranges.spec b/rust-utf8-ranges.spec index b1160ed..a5944f5 100644 --- a/rust-utf8-ranges.spec +++ b/rust-utf8-ranges.spec @@ -1,25 +1,28 @@ # Generated by rust2rpm # utf8-ranges(dev) -> quickcheck(opt) -> env_logger(opt) -> regex -> utf8-ranges -%bcond_with check +%bcond_without check %global debug_package %{nil} %global crate utf8-ranges Name: rust-%{crate} Version: 1.0.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Convert ranges of Unicode codepoints to UTF-8 byte ranges License: Unlicense or MIT URL: https://crates.io/crates/utf8-ranges Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump quickcheck to 0.5, https://github.com/BurntSushi/utf8-ranges/pull/4 +Patch0: utf8-ranges-1.0.0-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %if %{with check} # [dev-dependencies] -BuildRequires: (crate(quickcheck) >= 0.4.1 with crate(quickcheck) < 0.5.0) +BuildRequires: (crate(quickcheck) >= 0.5.0 with crate(quickcheck) < 0.6.0) %endif %description @@ -57,6 +60,10 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/{Makefile,ctags.rust,session.vim} %changelog +* Wed Nov 29 2017 Igor Gnatenko - 1.0.0-5 +- Bump quickcheck to 0.5 +- Enable tests + * Tue Nov 07 2017 Igor Gnatenko - 1.0.0-4 - Exclude unneeded files diff --git a/utf8-ranges-1.0.0-fix-metadata.diff b/utf8-ranges-1.0.0-fix-metadata.diff new file mode 100644 index 0000000..5dcc170 --- /dev/null +++ b/utf8-ranges-1.0.0-fix-metadata.diff @@ -0,0 +1,8 @@ +--- utf8-ranges-1.0.0/Cargo.toml 2016-12-30T08:10:03+01:00 ++++ utf8-ranges-1.0.0/Cargo.toml 2017-11-29T11:01:55.884908+01:00 +@@ -11,4 +11,4 @@ + license = "Unlicense/MIT" + + [dev-dependencies] +-quickcheck = "0.4.1" ++quickcheck = "0.5"