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:
parent
e40e2b0486
commit
56bb14b8c3
@ -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
|
||||
|
||||
|
16
pprof.spec
16
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
|
||||
|
Loading…
Reference in New Issue
Block a user