Hello community, here is the log from the commit of package dstat for openSUSE:Factory checked in at 2017-06-13 16:09:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dstat (Old) and /work/SRC/openSUSE:Factory/.dstat.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dstat" Tue Jun 13 16:09:28 2017 rev:5 rq:503231 version:0.7.3 Changes: -------- --- /work/SRC/openSUSE:Factory/dstat/dstat.changes 2016-03-31 13:02:56.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.dstat.new/dstat.changes 2017-06-13 16:09:34.418261481 +0200 @@ -1,0 +2,9 @@ +Mon Jun 12 13:57:30 UTC 2017 - [email protected] + +- Sync SLE .changes file with OBS (bnc#1041627) +- Don't run %fdupes on entire %buildroot, but only on specific + directory +- Replace dangling symlink in examples directory +- Don't ship documentation directory with executable examples + +------------------------------------------------------------------- @@ -31,0 +41,5 @@ + +------------------------------------------------------------------- +Thu Feb 11 08:29:39 UTC 2016 - [email protected] + +- Adding as required by fate#319795 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dstat.spec ++++++ --- /var/tmp/diff_new_pack.WL6pJ7/_old 2017-06-13 16:09:36.234005587 +0200 +++ /var/tmp/diff_new_pack.WL6pJ7/_new 2017-06-13 16:09:36.234005587 +0200 @@ -1,7 +1,7 @@ # # spec file for package dstat # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -56,16 +56,24 @@ %build %install +# Makes examples non-executable +find examples/ -type f -print0 | xargs -0 chmod 0644 +# Replace dangling symlink +rm examples/dstat.py +ln -s %{_bindir}/dstat examples/dstat.py + make %{?_smp_mflags} DESTDIR=%{buildroot} install install -D -m 0644 docs/dstat.1 "%{buildroot}%{_mandir}/man1/dstat.1" install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop" %if 0%{?suse_update_desktop_file:1} %suse_update_desktop_file -r "%{name}" System Monitor -%fdupes -s %{buildroot} %endif rm docs/Makefile +%if 0%{?suse_version} +%fdupes "%{buildroot}%{_datadir}/%{name}" +%endif %if 0%{?suse_version} %post
