From e9151ea2047c5b51a6fb91491db2e4869a14ae4c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 29 Nov 2020 13:29:42 +0100 Subject: [PATCH] update to version 0.13.12 --- .gitignore | 1 + .rust2rpm.conf | 3 +++ git2-fix-metadata.diff | 4 ++-- rust-git2.spec | 15 ++++++++------- sources | 2 +- 5 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 .rust2rpm.conf diff --git a/.gitignore b/.gitignore index e64e418..671219f 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ /git2-0.13.9.crate /git2-0.13.10.crate /git2-0.13.11.crate +/git2-0.13.12.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..7817781 --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,3 @@ +[DEFAULT] +buildrequires = + git diff --git a/git2-fix-metadata.diff b/git2-fix-metadata.diff index 71b7451..a84e542 100644 --- a/git2-fix-metadata.diff +++ b/git2-fix-metadata.diff @@ -1,5 +1,5 @@ ---- git2-0.13.11/Cargo.toml 2020-09-08T17:24:37+00:00 -+++ git2-0.13.11/Cargo.toml 2020-09-18T18:58:28.751352+00:00 +--- git2-0.13.12/Cargo.toml 2020-10-14T00:08:34+00:00 ++++ git2-0.13.12/Cargo.toml 2020-11-29T10:24:04.282878+00:00 @@ -54,8 +54,6 @@ ssh = ["libgit2-sys/ssh"] ssh_key_from_memory = ["libgit2-sys/ssh_key_from_memory"] diff --git a/rust-git2.spec b/rust-git2.spec index 456ee2f..1c41842 100644 --- a/rust-git2.spec +++ b/rust-git2.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 16 %bcond_without check %global debug_package %{nil} %global crate git2 Name: rust-%{crate} -Version: 0.13.11 +Version: 0.13.12 Release: 1%{?dist} Summary: Bindings to libgit2 for interoperating with git repositories @@ -23,6 +23,7 @@ BuildArch: noarch %endif BuildRequires: rust-packaging +BuildRequires: git %global _description %{expand: Bindings to libgit2 for interoperating with git repositories. This library is @@ -135,9 +136,6 @@ which use "unstable" feature of "%{crate}" crate. %generate_buildrequires %cargo_generate_buildrequires -%if %{with check} -echo '/usr/bin/git' -%endif %build %cargo_build @@ -147,11 +145,14 @@ echo '/usr/bin/git' %if %{with check} %check -# https://github.com/rust-lang/git2-rs/issues/431 -%cargo_test || : +%cargo_test %endif %changelog +* Sun Nov 29 2020 Fabio Valentini - 0.13.12-1 +- Update to version 0.13.12. +- Fixes RHBZ#1888076 + * Fri Sep 18 2020 Fabio Valentini - 0.13.11-1 - Update to version 0.13.11. diff --git a/sources b/sources index a03cffd..3b01372 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (git2-0.13.11.crate) = 2cacde47dfbf9df7a46d8d25fcd182f3ef239c4dd987e7f21b3e49e29671bcbae84f387014610559b2bacdad0708a9ec2804b67befb1ec139848a625508e93a9 +SHA512 (git2-0.13.12.crate) = aab4564c385e378d5df34b8b8aab12107bc9e4b3b1cec1b5206e32fe72fbd0a7a2fd4c40d0ce75deed6ee9a51edb0383f26af2a53e59a5384c74dac4162f312b