Make it easier to create compat package

This commit is contained in:
Pete Walter 2023-02-03 12:59:34 +00:00
parent 741a2b4a15
commit 321d20b80b

View File

@ -11,7 +11,7 @@ Release: %autorelease
Summary: C implementation of the Git core methods as a library with a solid API Summary: C implementation of the Git core methods as a library with a solid API
License: GPLv2 with exceptions License: GPLv2 with exceptions
URL: https://libgit2.org/ 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 # https://github.com/libgit2/libgit2/pull/6357
Patch0: libgit2-remove-ftruncate-test.patch Patch0: libgit2-remove-ftruncate-test.patch
@ -45,7 +45,7 @@ This package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
%prep %prep
%autosetup -p1 %autosetup -p1 -n libgit2-%{version}
# Remove VCS files from examples # Remove VCS files from examples
find examples -name ".gitignore" -delete -print find examples -name ".gitignore" -delete -print