diff --git a/rust-tokei.spec b/rust-tokei.spec index 7c787f0..857cce6 100644 --- a/rust-tokei.spec +++ b/rust-tokei.spec @@ -5,12 +5,15 @@ Name: rust-%{crate} Version: 7.0.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Utility that allows you to count code, quickly License: MIT or ASL 2.0 URL: https://crates.io/crates/tokei Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump handlebars to 1, https://github.com/Aaronepower/tokei/pull/240 +Patch0: tokei-7.0.3-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -30,7 +33,7 @@ BuildRequires: (crate(serde_json) >= 1.0.0 with crate(serde_json) < 2.0.0) BuildRequires: (crate(serde_yaml) >= 0.7.0 with crate(serde_yaml) < 0.8.0) BuildRequires: (crate(toml) >= 0.4.0 with crate(toml) < 0.5.0) # [build-dependencies] -BuildRequires: (crate(handlebars) >= 0.32.0 with crate(handlebars) < 0.33.0) +BuildRequires: (crate(handlebars) >= 1.0.0 with crate(handlebars) < 2.0.0) BuildRequires: (crate(ignore) >= 0.4.0 with crate(ignore) < 0.5.0) BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0) BuildRequires: (crate(serde_json) >= 1.0.0 with crate(serde_json) < 2.0.0) @@ -84,6 +87,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Wed Jul 18 2018 Igor Gnatenko - 7.0.3-4 +- Bump handlebars to 1 + * Sat Jul 14 2018 Fedora Release Engineering - 7.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/tokei-7.0.3-fix-metadata.diff b/tokei-7.0.3-fix-metadata.diff new file mode 100644 index 0000000..2fd315d --- /dev/null +++ b/tokei-7.0.3-fix-metadata.diff @@ -0,0 +1,11 @@ +--- tokei-7.0.3/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ tokei-7.0.3/Cargo.toml 2018-07-18T16:04:01.891639+02:00 +@@ -81,7 +81,7 @@ + [dev-dependencies.tempdir] + version = "0.3" + [build-dependencies.handlebars] +-version = "0.32" ++version = "1" + + [build-dependencies.ignore] + version = "0.4"