[yumex] Release 3.0.9

Tim Lauridsen timlau at fedoraproject.org
Wed Oct 3 14:24:58 UTC 2012


commit cea5c76ee7bb15189938bc56fc4493ef7ce4cc60
Author: Tim Lauridsen <timlau at fedoraproject.org>
Date:   Wed Oct 3 16:25:17 2012 +0200

    Release 3.0.9

 .gitignore |    1 +
 sources    |    2 +-
 yumex.spec |   23 ++++++++++++++++++++---
 3 files changed, 22 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4dca5bb..bbf689e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@ yumex-2.9.10.tar.gz
 /yumex-3.0.5.tar.gz
 /yumex-3.0.6.tar.gz
 /yumex-3.0.7.tar.gz
+/yumex-3.0.9.tar.gz
diff --git a/sources b/sources
index b4204fd..1df6261 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-363b030fd039f0a87efcadbb340bea22  yumex-3.0.7.tar.gz
+b0668d694a8f8822019c68271088c848  yumex-3.0.9.tar.gz
diff --git a/yumex.spec b/yumex.spec
index a0b1c57..28d7f14 100644
--- a/yumex.spec
+++ b/yumex.spec
@@ -1,7 +1,7 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:     yumex
-Version:  3.0.7
+Version:  3.0.9
 Release:  1%{?dist}
 Summary:  Yum Extender graphical package management tool
 
@@ -55,11 +55,21 @@ desktop-file-install --vendor fedora --delete-original \
     --add-category X-Fedora \
     $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
 
+desktop-file-install --vendor fedora --delete-original \
+    --dir $RPM_BUILD_ROOT%{_datadir}/applications \
+    --add-category X-Fedora \
+    $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-local.desktop
+    
 # this is a doc file; removing from installed tree
 rm $RPM_BUILD_ROOT%{_datadir}/yumex/COPYING
 
 %find_lang %name
 
+%post
+update-desktop-database %{_datadir}/applications &> /dev/null || :
+
+%postun
+update-desktop-database %{_datadir}/applications &> /dev/null || :
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -77,10 +87,17 @@ rm -rf $RPM_BUILD_ROOT
 %config(noreplace)  %{_sysconfdir}/yumex.profiles.conf
 %config(noreplace)  %{_sysconfdir}/yumex.conf
 %{_datadir}/polkit-1/actions/dk.yumex.backend.policy
-%{_datadir}/applications/fedora-%{name}.desktop
+%{_datadir}/applications/*.desktop
 
 %changelog
-* Fri Sep 07 2012 Tim Lauridsen <timlau at fedoraproject.org> 3.0.7-1
+* Wed Oct 3 2012 Tim Lauridsen <timlau at fedoraproject.org> 3.0.9-1
+- bumped version to 3.0.9-1
+* Wed Oct 3 2012 Tim Lauridsen <timlau at fedoraproject.org> 3.0.8-1
+- bumped version to 3.0.8-1
+* Thu Sep 13 2012 Tim Lauridsen <timlau at fedoraproject.org> 3.0.7-2
+- Install another .desktop file with mimetype for local .rpm install
+- update desktop database post install & post uninstall
+* Wed Sep 12 2012 Tim Lauridsen <timlau at fedoraproject.org> 3.0.7-1
 - bumped version to 3.0.7-1
 * Fri Sep 07 2012 Tim Lauridsen <timlau at fedoraproject.org> 3.0.6-2
 - renamed polkit policy to dk.yumex.backend.policy


More information about the scm-commits mailing list