From d6d4a692a8c30353f0d31ac1d18be067d1ba1fee Mon Sep 17 00:00:00 2001 From: tranzystorekk Date: Sun, 4 Aug 2024 12:13:58 +0200 Subject: [PATCH] git-cliff: rebuild for libgit2-1.8 --- srcpkgs/git-cliff/patches/downgrade-git2.patch | 13 ------------- srcpkgs/git-cliff/template | 8 ++------ 2 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 srcpkgs/git-cliff/patches/downgrade-git2.patch diff --git a/srcpkgs/git-cliff/patches/downgrade-git2.patch b/srcpkgs/git-cliff/patches/downgrade-git2.patch deleted file mode 100644 index 3751aa7fa9f..00000000000 --- a/srcpkgs/git-cliff/patches/downgrade-git2.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/git-cliff-core/Cargo.toml b/git-cliff-core/Cargo.toml -index 79cab62..fb21383 100644 ---- a/git-cliff-core/Cargo.toml -+++ b/git-cliff-core/Cargo.toml -@@ -76,7 +76,7 @@ url = "2.5.2" - dyn-clone = "1.0.17" - - [dependencies.git2] --version = "0.19.0" -+version = "0.18" - default-features = false - optional = true - diff --git a/srcpkgs/git-cliff/template b/srcpkgs/git-cliff/template index 85304bfc88b..e4722aa883d 100644 --- a/srcpkgs/git-cliff/template +++ b/srcpkgs/git-cliff/template @@ -1,7 +1,7 @@ # Template file for 'git-cliff' pkgname=git-cliff version=2.4.0 -revision=1 +revision=2 archs="x86_64* i686* aarch64* arm*" # ring build_style=cargo build_helper=qemu @@ -9,7 +9,7 @@ make_install_args="--path git-cliff" # These tests fail without a git repo make_check_args="-- --skip repo::" hostmakedepends="pkg-config" -makedepends="libgit2-devel libzstd-devel" +makedepends="libgit2-1.8-devel libzstd-devel" short_desc="Changelog generator based on conventional commits" maintainer="tranzystorekk " license="Apache-2.0, MIT" @@ -18,10 +18,6 @@ changelog="https://raw.githubusercontent.com/orhun/git-cliff/main/CHANGELOG.md" distfiles="https://github.com/orhun/git-cliff/archive/refs/tags/v${version}.tar.gz" checksum=d5791600e440d0842e42f3b0dbc8d503f4902920675054a23f046fbb1c252636 -post_patch() { - cargo update --package git2@0.19.0 --precise 0.18.3 -} - post_install() { vdoc README.md