Accepting request 1032388 from KDE:Frameworks5

- Add kio-mr1008-fix-webdav.diff
  * Fixes WebDAV upload (kde#460717)
  * https://invent.kde.org/frameworks/kio/-/merge_requests/1008

OBS-URL: https://build.opensuse.org/request/show/1032388
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kio?expand=0&rev=133
This commit is contained in:
Dominique Leuenberger 2022-11-01 12:40:44 +00:00 committed by Git OBS Bridge
commit 3a21ab89c3
3 changed files with 24 additions and 2 deletions

View File

@ -0,0 +1,13 @@
diff --git a/src/ioslaves/http/http.cpp b/src/ioslaves/http/http.cpp
index ec3c8809f70fae7331d7d4871a2203be6d94204a..c54e568d28febc094b0aa5445b18a52eb0ff44f3 100644
--- a/src/ioslaves/http/http.cpp
+++ b/src/ioslaves/http/http.cpp
@@ -5522,7 +5522,7 @@ bool HTTPProtocol::davDestinationExists()
m_request.cacheTag.policy = CC_Reload;
m_request.davData.depth = 0;
- (void)/* handling result via response codes */ (true);
+ (void)/* handling result via response codes */proceedUntilResponseContent(true);
if (!m_request.isKeepAlive) {
httpCloseConnection(); // close connection if server requested it.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Oct 27 10:44:41 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Add kio-mr1008-fix-webdav.diff
* Fixes WebDAV upload (kde#460717)
* https://invent.kde.org/frameworks/kio/-/merge_requests/1008
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Oct 1 15:55:52 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr> Sat Oct 1 15:55:52 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -1,7 +1,7 @@
# #
# spec file for package kio # spec file for package kio
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -36,12 +36,14 @@ Source2: frameworks.keyring
%endif %endif
# PATCH-FIX-OPENSUSE kio_help-fallback-to-kde4-docs.patch -- allow kio_help to see into kde4 documentation, needed especially for khelpcenter5 # PATCH-FIX-OPENSUSE kio_help-fallback-to-kde4-docs.patch -- allow kio_help to see into kde4 documentation, needed especially for khelpcenter5
Patch0: kio_help-fallback-to-kde4-docs.patch Patch0: kio_help-fallback-to-kde4-docs.patch
# PATCH-FIX-UPSTREAM kio-mr1008-fix-webdav.diff kde#460717, https://invent.kde.org/frameworks/kio/-/merge_requests/1008
Patch1: https://invent.kde.org/frameworks/kio/-/commit/501091059ae9fc2877d621cdbc0fb3c5ece56dae.diff#/kio-mr1008-fix-webdav.diff
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
BuildRequires: fdupes BuildRequires: fdupes
# gcc7 is too old for std::transform_reduce # gcc7 is too old for std::transform_reduce
%if 0%{?suse_version} == 1500 %if 0%{?suse_version} == 1500
BuildRequires: gcc10-c++
BuildRequires: gcc10-PIE BuildRequires: gcc10-PIE
BuildRequires: gcc10-c++
%endif %endif
BuildRequires: kf5-filesystem BuildRequires: kf5-filesystem
BuildRequires: krb5-devel BuildRequires: krb5-devel