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
This commit is contained in:
Jeff Kowalczyk 2021-03-23 18:49:18 +00:00 committed by Git OBS Bridge
parent e40e2b0486
commit 56bb14b8c3
2 changed files with 15 additions and 13 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Mar 23 18:13:51 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- 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 <jengelh@inai.de>
- Fix double %setup.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 18 18:15:25 UTC 2021 - gmbr3@opensuse.org Thu Mar 18 18:15:25 UTC 2021 - gmbr3@opensuse.org

View File

@ -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). It can generate both text and graphical reports (through the use of the dot visualization package).
%prep %prep
%setup -q %autosetup -a1
%setup -q -T -D -a 1
%build %build
go build go build
%install %install
install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}" install -Dm0755 %{name} %{buildroot}%{_bindir}/%{name}
%check
go test github.com/google/pprof/
%files %files
%defattr(-,root,root) %doc README.md CONTRIBUTORS CONTRIBUTING.md AUTHORS
%doc README.md
%doc CONTRIBUTORS
%if 0%{?suse_version} < 1500
%doc LICENSE
%else
%license LICENSE %license LICENSE
%endif
%{_bindir}/%{name} %{_bindir}/%{name}
%changelog %changelog