up to 1.59.1
[packages/rclone.git] / rclone.spec
index 09e3f7395d1c96f71bfd2690307aa4b33b25a44f..41820213f78177e662bebea18f9dcb935fabfe0f 100644 (file)
@@ -1,18 +1,20 @@
+%define                vendor_ver      1.59.1
 Summary:       rsync for cloud storage
 Name:          rclone
-Version:       1.58.0
+Version:       1.59.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: f7e326049f0acd9c6f1ef5da4afcc681
+# Source0-md5: 2e8600f858109477e6ce7cf02d4919be
 # cd rclone-%{version}
 # go mod vendor
 # cd ..
 # tar cJf rclone-vendor-%{version}.tar.xz rclone-v%{version}/vendor
-Source1:       %{name}-vendor-%{version}.tar.xz
-# Source1-md5: 1cce795ce1839eca83ea493a27a1adaf
+Source1:       %{name}-vendor-%{vendor_ver}.tar.xz
+# Source1-md5: eed29d627ba0afd4eb700347dfdef9c8
+Patch0:                webdav-modtime.patch
 URL:           https://rclone.org/
 BuildRequires: golang >= 1.14
 BuildRequires: rpm-build >= 4.6
@@ -32,7 +34,7 @@ from different cloud storage providers.
 Summary:       bash-completion for rclone
 Group:         Applications/Shells
 Requires:      %{name} = %{version}-%{release}
-Requires:      bash-completion >= 2.0
+Requires:      bash-completion >= 1:2.0
 BuildArch:     noarch
 
 %description -n bash-completion-rclone
@@ -59,7 +61,10 @@ BuildArch:   noarch
 Zsh completion for rclone command.
 
 %prep
-%setup -q -b1 -n %{name}-v%{version}
+%setup -q -a1 -n %{name}-v%{version}
+%patch0 -p1
+
+%{__mv} %{name}-v%{vendor_ver}/vendor .
 
 %{__mkdir_p} .go-cache
 
This page took 0.069609 seconds and 4 git commands to generate.