Bump docopt to 1

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent f931e92fe5
commit db9a5e7d53
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -0,0 +1,11 @@
--- git2-0.7.1/Cargo.toml 1970-01-01T01:00:00+01:00
+++ git2-0.7.1/Cargo.toml 2018-06-14T08:36:27.122809+02:00
@@ -37,7 +37,7 @@
[dependencies.url]
version = "1.0"
[dev-dependencies.docopt]
-version = "0.8"
+version = "1.0"
[dev-dependencies.serde]
version = "1.0"

@ -6,12 +6,15 @@
Name: rust-%{crate}
Version: 0.7.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Bindings to libgit2 for interoperating with git repositories
License: MIT or ASL 2.0
URL: https://crates.io/crates/git2
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
# Initial patched metadata
# * Bump docopt to 1.0, https://github.com/alexcrichton/git2-rs/pull/319
Patch0: git2-0.7.1-fix-metadata.diff
ExclusiveArch: %{rust_arches}
@ -26,7 +29,7 @@ BuildRequires: (crate(openssl-sys) >= 0.9.0 with crate(openssl-sys) < 0.10.0)
BuildRequires: (crate(url) >= 1.0.0 with crate(url) < 2.0.0)
%if %{with check}
# [dev-dependencies]
BuildRequires: (crate(docopt) >= 0.8.0 with crate(docopt) < 0.9.0)
BuildRequires: (crate(docopt) >= 1.0.0 with crate(docopt) < 2.0.0)
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
BuildRequires: (crate(tempdir) >= 0.3.0 with crate(tempdir) < 0.4.0)
@ -70,6 +73,9 @@ which use %{crate} from crates.io.
%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
%changelog
* Thu Jun 14 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.1-2
- Bump docopt to 1
* Fri Mar 23 2018 Josh Stone <jistone@redhat.com> - 0.7.1-1
- Update to 0.7.1

Loading…
Cancel
Save