Clean up spec file to enable building on leap
This commit is contained in:
parent
5ddd6ee66d
commit
2ba852cf70
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user