[packages/rclone] up to 1.70.1

atler atler at pld-linux.org
Sat Jun 21 23:46:21 CEST 2025


commit 75ba21af5275d272f571552c82f5ece382163989
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Jun 21 23:45:28 2025 +0200

    up to 1.70.1

 rclone.spec          | 10 +++++-----
 webdav-modtime.patch | 14 ++++++++++++--
 2 files changed, 17 insertions(+), 7 deletions(-)
---
diff --git a/rclone.spec b/rclone.spec
index d46c731..5dbe193 100644
--- a/rclone.spec
+++ b/rclone.spec
@@ -1,23 +1,23 @@
-%define		vendor_ver	1.69.0
+%define		vendor_ver	1.70.1
 
 Summary:	rsync for cloud storage
 Name:		rclone
-Version:	1.69.0
+Version:	1.70.1
 Release:	1
 License:	MIT
 Group:		Networking/Utilities
 #Source0Download: https://github.com/rclone/rclone/releases
 Source0:	https://github.com/rclone/rclone/releases/download/v%{version}/%{name}-v%{version}.tar.gz
-# Source0-md5:	95e56ead6a9744f906e2b6e7188b03cd
+# Source0-md5:	661c92815aedc9aa1c742f3ab77ab92b
 # cd rclone-%{version}
 # go mod vendor
 # cd ..
 # tar cJf rclone-vendor-%{version}.tar.xz rclone-v%{version}/vendor
 Source1:	%{name}-vendor-%{vendor_ver}.tar.xz
-# Source1-md5:	bbf7c6d7f7783a24b727d13d1dea2727
+# Source1-md5:	2340de7e25acef76189bd1df064d0d03
 Patch0:		webdav-modtime.patch
 URL:		https://rclone.org/
-BuildRequires:	golang >= 1.21
+BuildRequires:	golang >= 1.23.0
 BuildRequires:	rpm-build >= 4.6
 BuildRequires:	rpmbuild(macros) >= 2.009
 BuildRequires:	tar >= 1:1.22
diff --git a/webdav-modtime.patch b/webdav-modtime.patch
index 6c147e1..b629494 100644
--- a/webdav-modtime.patch
+++ b/webdav-modtime.patch
@@ -14,14 +14,14 @@ index 801e8d970..c91e4950c 100644
 --- a/backend/webdav/webdav.go
 +++ b/backend/webdav/webdav.go
 @@ -178,6 +178,7 @@ type Fs struct {
- 	canStream          bool          // set if can stream
+ 	canTus             bool          // supports the TUS upload protocol
  	useOCMtime         bool          // set if can use X-OC-Mtime
  	propsetMtime       bool          // set if can use propset
 +	propNameMtime      string        // name of property to set for mtime
  	retryWithZeroDepth bool          // some vendors (sharepoint) won't list files when Depth is 1 (our default)
  	checkBeforePurge   bool          // enables extra check that directory to purge really exists
  	hasOCMD5           bool          // set if can use owncloud style checksums for MD5
-@@ -581,18 +582,22 @@ func (f *Fs) setQuirks(ctx context.Context, vendor string) error {
+@@ -581,27 +582,32 @@ func (f *Fs) setQuirks(ctx context.Context, vendor string) error {
  		f.canStream = true
  		f.precision = time.Second
  		f.useOCMtime = true
@@ -36,6 +36,16 @@ index 801e8d970..c91e4950c 100644
 +		f.propNameMtime = "lastmodified"
  		f.hasOCMD5 = true
  		f.hasOCSHA1 = true
+ 	case "infinitescale":
+ 		f.precision = time.Second
+ 		f.useOCMtime = true
+ 		f.propsetMtime = true
++		f.propNameMtime = "lastmodified"
+ 		f.hasOCMD5 = false
+ 		f.hasOCSHA1 = true
+ 		f.canChunk = false
+ 		f.canTus = true
+ 		f.opt.ChunkSize = 10 * fs.Mebi
  	case "nextcloud":
  		f.precision = time.Second
  		f.useOCMtime = true
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rclone.git/commitdiff/75ba21af5275d272f571552c82f5ece382163989



More information about the pld-cvs-commit mailing list