commit 39227d4a31301911826d6a0ccac28fd137db6487
Author: Jan Palus <[email protected]>
Date:   Thu Apr 15 16:58:40 2021 +0200

    don't strip debug symbols but disable debug source packages

 rclone.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/rclone.spec b/rclone.spec
index d648e25..9dccfd2 100644
--- a/rclone.spec
+++ b/rclone.spec
@@ -15,11 +15,14 @@ Source1:    %{name}-vendor-%{version}.tar.xz
 # Source1-md5: 9de5b2c00f12d4f082c0c24f7e3e01d4
 URL:           https://rclone.org/
 BuildRequires: golang >= 1.14
+BuildRequires: rpmbuild(macros) >= 2.005
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
 ExclusiveArch: %{ix86} %{x8664} %{arm} aarch64 mips64 mips64le ppc64 ppc64le 
s390x
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _debugsource_packages   0
+
 %description
 Rclone is a command line program to sync files and directories to and
 from different cloud storage providers.
@@ -30,7 +33,7 @@ from different cloud storage providers.
 %{__mkdir_p} .go-cache
 
 %build
-GOCACHE="$(pwd)/.go-cache" go build -v -mod=vendor --ldflags "-s -X 
github.com/rclone/rclone/fs.Version=%{version}" -o bin/rclone
+GOCACHE="$(pwd)/.go-cache" go build -v -mod=vendor --ldflags "-X 
github.com/rclone/rclone/fs.Version=%{version}" -o bin/rclone
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rclone.git/commitdiff/39227d4a31301911826d6a0ccac28fd137db6487

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to