Hello community,

here is the log from the commit of package pumpa for openSUSE:Factory checked 
in at 2014-10-29 21:10:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pumpa (Old)
 and      /work/SRC/openSUSE:Factory/.pumpa.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pumpa"

Changes:
--------
--- /work/SRC/openSUSE:Factory/pumpa/pumpa.changes      2014-09-15 
18:24:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pumpa.new/pumpa.changes 2014-10-29 
21:10:39.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Oct 20 12:17:15 UTC 2014 - [email protected]
+
+- Add .desktop database update.
+- Minor spec cleanup.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ pumpa.spec ++++++
--- /var/tmp/diff_new_pack.0bwR2h/_old  2014-10-29 21:10:41.000000000 +0100
+++ /var/tmp/diff_new_pack.0bwR2h/_new  2014-10-29 21:10:41.000000000 +0100
@@ -24,10 +24,10 @@
 Group:          System/GUI/Other
 Url:            https://pumpa.branchable.com/
 Source:         %{name}-%{version}.tar.gz
-
 BuildRequires:  aspell-devel
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
+BuildRequires:  hicolor-icon-theme
 BuildRequires:  libtidy-0_99-0-devel
 BuildRequires:  pkg-config
 BuildRequires:  update-desktop-files
@@ -43,14 +43,14 @@
 
 %prep
 %setup -q
-sed -i 's/^Icon=\(.*\)/Icon=pumpa/' %{name}.desktop
+sed -i 's/^Icon=.*$/Icon=%{name}/' %{name}.desktop
 
 %build
-%qmake5 PREFIX=%{_prefix}
+%{qmake5} PREFIX=%{_prefix}
 make %{?_smp_mflags}
 
 %install
-%qmake5_install
+%{qmake5_install}
 
 mkdir -p %{buildroot}%{_datadir}/%{name}/images/ 
%{buildroot}%{_datadir}/%{name}/translations/
 install -Dm 0644 %{name}.desktop 
%{buildroot}%{_datadir}/applications/%{name}.desktop
@@ -61,12 +61,20 @@
 fdupes -s %{buildroot}
 %find_lang %{name} --with-qt
 
+%post
+%desktop_database_post
+%icon_theme_cache_post
+
+%postun
+%desktop_database_postun
+%icon_theme_cache_postun
+
 %files
 %defattr(-,root,root)
 %doc LICENSE README
 %{_bindir}/%{name}
 %{_datadir}/%{name}/
 %{_datadir}/applications/%{name}.desktop
-%{_datadir}/icons/hicolor/
+%{_datadir}/icons/hicolor/*/
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to