From 56bb14b8c32746ef6312d376f24148b580e1c94611ef217e457d305ac0f68755 Mon Sep 17 00:00:00 2001 From: Jeff Kowalczyk Date: Tue, 23 Mar 2021 18:49:18 +0000 Subject: [PATCH] Accepting request 880781 from home:gmbr3:Active - Use single %doc - Don't use if for %license - Don't %check there are no tests OBS-URL: https://build.opensuse.org/request/show/880781 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/pprof?expand=0&rev=2 --- pprof.changes | 12 ++++++++++++ pprof.spec | 16 +++------------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/pprof.changes b/pprof.changes index 5a48030..65dbd59 100644 --- a/pprof.changes +++ b/pprof.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Mar 23 18:13:51 UTC 2021 - Callum Farmer + +- Use single %doc +- Don't use if for %license +- Don't %check there are no tests + +------------------------------------------------------------------- +Tue Mar 23 13:23:54 UTC 2021 - Jan Engelhardt + +- Fix double %setup. + ------------------------------------------------------------------- Thu Mar 18 18:15:25 UTC 2021 - gmbr3@opensuse.org diff --git a/pprof.spec b/pprof.spec index 537ce9d..d80fb72 100644 --- a/pprof.spec +++ b/pprof.spec @@ -31,27 +31,17 @@ pprof reads a collection of profiling samples in profile.proto format and genera It can generate both text and graphical reports (through the use of the dot visualization package). %prep -%setup -q -%setup -q -T -D -a 1 +%autosetup -a1 %build go build %install -install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}" - -%check -go test github.com/google/pprof/ +install -Dm0755 %{name} %{buildroot}%{_bindir}/%{name} %files -%defattr(-,root,root) -%doc README.md -%doc CONTRIBUTORS -%if 0%{?suse_version} < 1500 -%doc LICENSE -%else +%doc README.md CONTRIBUTORS CONTRIBUTING.md AUTHORS %license LICENSE -%endif %{_bindir}/%{name} %changelog