Clean up spec file to enable building on leap #1

Open
sfalken wants to merge 1 commits from sfalken/python-pygit2:factory into factory
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Oct 19 00:36:13 UTC 2024 - Shawn Dunn <sfalken@opensuse.org>
- Drop %if section in %prep. Patches were dropped in commit
ffc7350c5c, and build now fails against 15.6
-------------------------------------------------------------------
Mon Aug 5 11:21:06 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -47,12 +47,6 @@ Bindings for libgit2, a linkable C library for the Git version-control system.
%prep
%autosetup -p1 -n pygit2-%{version}
%if %{?pkg_vcmp:%pkg_vcmp libgit2-devel < 1.8}%{!?pkg_vcmp:1}
%patch -P 3 -p1 -R
%patch -P 2 -p1 -R
%patch -P 1 -p1 -R
%patch -P 0 -p1 -R
%endif
# do not add options to pytest
rm pytest.ini