apache.conf set DavLockDBType to sdbm

With the recent change that drops apr-util-bdb build require, in
favor of httpd, t5540 started failing on tests using git-httpd-push.
This patch sets DavLockDBType to sdbm, fixing these failures.
This commit is contained in:
Ondřej Pohořelský 2024-01-09 11:47:09 +01:00
parent a8ab7b524d
commit 9323031c03
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,14 @@
diff -ur b/t/lib-httpd/apache.conf a/t/lib-httpd/apache.conf
--- b/t/lib-httpd/apache.conf 2024-01-09 11:06:46.660868023 +0100
+++ a/t/lib-httpd/apache.conf 2024-01-09 11:09:09.572713625 +0100
@@ -272,7 +272,9 @@
<IfDefine DAV>
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
-
+ <IfDirective DavLockDBType>
+ DavLockDBType sdbm
+ </IfDirective>
DAVLockDB DAVLock
<Location /dumb/>
Dav on

View File

@ -130,6 +130,10 @@ Patch3: 0003-t-lib-git-svn-try-harder-to-find-a-port.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=2247532#c8
Patch4: 0001-send-email-avoid-duplicate-specification-warnings.patch
# Configurates Apache test server to use `DavLockDBType sdbm`
# Prevents t5540 failures on i686, s390x and ppc64le
Patch5: git-test-apache-davlockdbtype-config.patch
%if %{with docs}
# pod2man is needed to build Git.3pm
BuildRequires: /usr/bin/pod2man