Hello community,

here is the log from the commit of package htop for openSUSE:Factory checked in 
at 2015-08-07 00:24:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/htop (Old)
 and      /work/SRC/openSUSE:Factory/.htop.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "htop"

Changes:
--------
--- /work/SRC/openSUSE:Factory/htop/htop.changes        2015-02-22 
17:26:32.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.htop.new/htop.changes   2015-08-07 
00:24:08.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Aug  2 16:21:35 UTC 2015 - [email protected]
+
+- Add scriplets for desktop file handling
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ htop.spec ++++++
--- /var/tmp/diff_new_pack.QxDU9G/_old  2015-08-07 00:24:09.000000000 +0200
+++ /var/tmp/diff_new_pack.QxDU9G/_new  2015-08-07 00:24:09.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package htop
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -26,10 +26,13 @@
 Source0:        
http://hisham.hm/htop/releases/%{version}/%{name}-%{version}.tar.gz
 Patch0:         htop-desktop-file-fix-thoenig-01.patch
 Patch1:         htop-stdgnu.patch
+BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  ncurses-devel
 BuildRequires:  python
 BuildRequires:  update-desktop-files
+Requires(post):   update-desktop-files
+Requires(postun): update-desktop-files
 Recommends:     lsof
 Recommends:     strace
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -46,7 +49,7 @@
 %patch1 -p1
 
 %build
-autoreconf -fi
+autoreconf -fiv
 %configure \
        --enable-taskstats \
        --enable-unicode \
@@ -59,6 +62,12 @@
 make DESTDIR=%{buildroot} install %{?_smp_mflags}
 %suse_update_desktop_file -i %{name} System Monitor
 
+%post
+%desktop_database_post
+
+%postun
+%desktop_database_postun
+
 %files
 %defattr(-,root,root)
 %doc COPYING


Reply via email to