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