Bump git2 to 0.9

This commit is contained in:
Josh Stone 2019-06-10 09:40:37 -07:00
parent 0aaaf4ce8b
commit eea5cd0403
2 changed files with 20 additions and 3 deletions

View File

@ -1,17 +1,20 @@
# Generated by rust2rpm
# Generated by rust2rpm-9-1.fc30
%bcond_without check
%global crate tokei
Name: rust-%{crate}
Version: 9.1.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Utility that allows you to count code, quickly
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/tokei
Source: %{crates_source}
# Initial patched metadata
# * Bump git2 to 0.9, https://github.com/XAMPPRocky/tokei/pull/336
Patch0: tokei-fix-metadata.diff
ExclusiveArch: %{rust_arches}
@ -34,7 +37,7 @@ BuildRequires: (crate(serde_yaml/default) >= 0.8.0 with crate(serde_yaml/defaul
BuildRequires: (crate(term_size/default) >= 0.3.1 with crate(term_size/default) < 0.4.0)
BuildRequires: (crate(toml/default) >= 0.5.0 with crate(toml/default) < 0.6.0)
%if %{with check}
BuildRequires: (crate(git2) >= 0.8.0 with crate(git2) < 0.9.0)
BuildRequires: (crate(git2) >= 0.9.0 with crate(git2) < 0.10.0)
BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0)
BuildRequires: (crate(regex/default) >= 1.0.0 with crate(regex/default) < 2.0.0)
BuildRequires: (crate(tempfile/default) >= 3.0.7 with crate(tempfile/default) < 4.0.0)
@ -191,6 +194,9 @@ which use "yaml" feature of "%{crate}" crate.
%endif
%changelog
* Fri Jun 07 2019 Josh Stone <jistone@redhat.com> - 9.1.1-2
- Bump git2 to 0.9
* Sat Mar 30 14:59:32 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 9.1.1-1
- Update to 9.1.1

11
tokei-fix-metadata.diff Normal file
View File

@ -0,0 +1,11 @@
--- tokei-9.1.1/Cargo.toml 1970-01-01T00:00:00+00:00
+++ tokei-9.1.1/Cargo.toml 2019-06-07T19:18:38.385030+00:00
@@ -77,7 +77,7 @@
[dependencies.toml]
version = "0.5"
[dev-dependencies.git2]
-version = "0.8.0"
+version = "0.9.0"
features = []
default-features = false