[packages/rclone] up to 1.59.0
atler
atler at pld-linux.org
Sun Jul 10 20:27:17 CEST 2022
commit f5d5d633245bbee060777872b4e0e385d80daee3
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Jul 10 19:55:31 2022 +0200
up to 1.59.0
rclone.spec | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/rclone.spec b/rclone.spec
index 1604ade..ceda1b8 100644
--- a/rclone.spec
+++ b/rclone.spec
@@ -1,18 +1,19 @@
+%define vendor_ver 1.59.0
Summary: rsync for cloud storage
Name: rclone
-Version: 1.58.1
+Version: 1.59.0
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: 5129f55560ff4f838decf64bbd6b2598
+# Source0-md5: 7cc8dc85d50ae340f7461776c2af9b32
# 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: f4be18cf6a851599c67f6a61b3773a77
+Source1: %{name}-vendor-%{vendor_ver}.tar.xz
+# Source1-md5: 227a650556268f4faba8344fed22ee90
URL: https://rclone.org/
BuildRequires: golang >= 1.14
BuildRequires: rpm-build >= 4.6
@@ -59,7 +60,9 @@ BuildArch: noarch
Zsh completion for rclone command.
%prep
-%setup -q -b1 -n %{name}-v%{version}
+%setup -q -a1 -n %{name}-v%{version}
+
+%{__mv} %{name}-v%{vendor_ver}/vendor .
%{__mkdir_p} .go-cache
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rclone.git/commitdiff/7561c9faed0e30d99e7e35472494eae6b1d2424a
More information about the pld-cvs-commit
mailing list