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