forked from pool/pprof
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:
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
|
||||
|
Reference in New Issue
Block a user