From 321d20b80ba135999986b234239e3d60ef1363b5 Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Fri, 3 Feb 2023 12:59:34 +0000 Subject: [PATCH] Make it easier to create compat package --- libgit2.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libgit2.spec b/libgit2.spec index a96cf56..eec841b 100644 --- a/libgit2.spec +++ b/libgit2.spec @@ -11,7 +11,7 @@ Release: %autorelease Summary: C implementation of the Git core methods as a library with a solid API License: GPLv2 with exceptions URL: https://libgit2.org/ -Source0: https://github.com/libgit2/libgit2/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: https://github.com/libgit2/libgit2/archive/refs/tags/v%{version}.tar.gz#/libgit2-%{version}.tar.gz # https://github.com/libgit2/libgit2/pull/6357 Patch0: libgit2-remove-ftruncate-test.patch @@ -45,7 +45,7 @@ This package contains libraries and header files for developing applications that use %{name}. %prep -%autosetup -p1 +%autosetup -p1 -n libgit2-%{version} # Remove VCS files from examples find examples -name ".gitignore" -delete -print