|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Generated by rust2rpm-9-1.fc30
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
# We don't want to package conduit
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
@ -6,8 +6,8 @@
|
|
|
|
|
%global crate git2-curl
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.10.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 0.11.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Backend for an HTTP transport in libgit2 powered by libcurl
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -16,23 +16,15 @@ URL: https://crates.io/crates/git2-curl
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(curl/default) >= 0.4.0 with crate(curl/default) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(git2) >= 0.9.0 with crate(git2) < 0.10.0)
|
|
|
|
|
BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(url/default) >= 1.0.0 with crate(url/default) < 2.0.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(civet/default) >= 0.11.0 with crate(civet/default) < 0.12.0)
|
|
|
|
|
BuildRequires: (crate(conduit-git-http-backend/default) >= 0.8.0 with crate(conduit-git-http-backend/default) < 0.9.0)
|
|
|
|
|
BuildRequires: (crate(conduit/default) >= 0.8.0 with crate(conduit/default) < 0.9.0)
|
|
|
|
|
BuildRequires: (crate(tempfile/default) >= 3.0.0 with crate(tempfile/default) < 4.0.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Backend for an HTTP transport in libgit2 powered by libcurl.\
|
|
|
|
|
\
|
|
|
|
|
Intended to be used with the git2 crate.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Backend for an HTTP transport in libgit2 powered by libcurl.
|
|
|
|
|
Intended to be used with the git2 crate.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -65,6 +57,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -77,6 +72,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Dec 07 2019 Josh Stone <jistone@redhat.com> - 0.11.0-1
|
|
|
|
|
- Update to 0.11.0
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|