]> git.pld-linux.org Git - packages/system-config-audit.git/commitdiff
update desktop database auto/th/system-config-audit-0.4.21-2
authorElan Ruusamäe <glen@delfi.ee>
Wed, 26 Jun 2013 13:49:23 +0000 (16:49 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 26 Jun 2013 13:49:23 +0000 (16:49 +0300)
it doesn't show up in  gnome/mate menus otherwise without logging out!

system-config-audit.spec

index 7d6d430ce76928408c2c8f0e1613be610404acb9..2b8f012740803776ef5700c531f55dc9360169cf 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Utility for editing audit configuration
 Summary(pl.UTF-8):     Narzędzie do zmiany konfiguracji audytu
 Name:          system-config-audit
 Version:       0.4.21
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Applications/System
 Source0:       https://fedorahosted.org/releases/s/y/system-config-audit/%{name}-%{version}.tar.xz
@@ -19,6 +19,7 @@ BuildRequires:        tar >= 1:1.22
 BuildRequires: xz
 Requires:      %{name} = %{version}-%{release}
 Requires:      audit >= 2.0
+Requires:      desktop-file-utils
 Requires:      python-audit
 Requires:      python-pygtk-glade >= 2:2.0
 Requires:      usermode
@@ -34,7 +35,6 @@ Narzędzie do zmiany konfiguracji audytu.
 %prep
 %setup -q
 %patch0 -p1
-
 %{__sed} -i -e 's,/main\.py,/main.pyc,' src/system-config-audit.in
 
 %build
@@ -42,7 +42,6 @@ Narzędzie do zmiany konfiguracji audytu.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
@@ -53,6 +52,12 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_desktop_database
+
+%postun
+%update_desktop_database
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
This page took 0.117718 seconds and 4 git commands to generate.