diff --git a/.gitignore b/.gitignore index 5eda197..101f78d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /git2-curl-0.8.2.crate /git2-curl-0.9.0.crate /git2-curl-0.10.0.crate +/git2-curl-0.11.0.crate diff --git a/rust-git2-curl.spec b/rust-git2-curl.spec index 889a8a5..6f3eb9b 100644 --- a/rust-git2-curl.spec +++ b/rust-git2-curl.spec @@ -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 - 0.11.0-1 +- Update to 0.11.0 + * Fri Jul 26 2019 Fedora Release Engineering - 0.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index ea75353..c17867b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (git2-curl-0.10.0.crate) = 9cc33d1dae94397e58ddfb76d7d63a5f13c5fa53a3b8e95100473d734584b7f9de1175e7894f1d2d8fa16184c99565c2961500724a0b92e39a83238fdb3b1115 +SHA512 (git2-curl-0.11.0.crate) = 2973f405ead620ee74c545e8a25d1212c972cd48a795513e5a177827cd092d9d95639410a10f3db147cc4c1fde6515ef035b5562172169b5b017b348c1945965