diff --git a/srcpkgs/git-cliff/patches/downgrade-git2.patch b/srcpkgs/git-cliff/patches/downgrade-git2.patch index dd5a3ece05c..eda09bc98e9 100644 --- a/srcpkgs/git-cliff/patches/downgrade-git2.patch +++ b/srcpkgs/git-cliff/patches/downgrade-git2.patch @@ -1,12 +1,12 @@ diff --git a/git-cliff-core/Cargo.toml b/git-cliff-core/Cargo.toml -index 2cab8ec..66b5a8f 100644 +index fbcfbb2..7209a63 100644 --- a/git-cliff-core/Cargo.toml +++ b/git-cliff-core/Cargo.toml -@@ -28,7 +28,7 @@ toml = "0.7.6" - lazy-regex = "3.0.1" +@@ -28,7 +28,7 @@ toml = "0.8.1" + lazy-regex = "3.0.2" [dependencies.git2] --version = "0.18.0" +-version = "0.18.1" +version = "0.17" default-features = false optional = true diff --git a/srcpkgs/git-cliff/template b/srcpkgs/git-cliff/template index c879921e761..4182ce11379 100644 --- a/srcpkgs/git-cliff/template +++ b/srcpkgs/git-cliff/template @@ -1,6 +1,6 @@ # Template file for 'git-cliff' pkgname=git-cliff -version=1.3.0 +version=1.3.1 revision=1 archs="x86_64* i686* aarch64* arm*" # ring build_style=cargo @@ -11,14 +11,14 @@ hostmakedepends="pkg-config" makedepends="libgit2-devel" short_desc="Changelog generator based on conventional commits" maintainer="Jan Christian Grünhage " -license="GPL-3.0-only" +license="Apache-2.0, MIT" homepage="https://github.com/orhun/git-cliff" 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=3c130ebbd3121d3994ecd1ff1062220de610c7491ada02f9d421c8869674c386 +checksum=909b652939299040ebbd15994d710aff7e38fa38683bb5111dd46cc4ed454b43 post_patch() { - cargo update --package git2@0.18.0 --precise 0.17.2 + cargo update --package git2@0.18.1 --precise 0.17.2 } post_install() { @@ -32,4 +32,6 @@ post_install() { OUT_DIR=${PWD} vtargetrun ${DESTDIR}/usr/bin/git-cliff-mangen vman git-cliff.1 + + vlicense LICENSE-MIT }