update spec

This commit is contained in:
Sergey Zhemoitel 2015-04-08 01:33:35 +03:00
parent 3771a122d0
commit afa399c12e

View file

@ -137,28 +137,28 @@ install -Dm0755 bin/dist/%{name}.sh %{buildroot}/%{_bindir}/%{name}
%{__rm} bin/dist/*.sh %{__rm} bin/dist/*.sh
%if %{gcj_support} #if %{gcj_support}
%{_bindir}/aot-compile-rpm #{_bindir}/aot-compile-rpm
%endif #endif
%clean %clean
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}
%post #post
%if %{gcj_support} #if %{gcj_support}
%{update_gcjdb} #{update_gcjdb}
%endif #endif
%{update_desktop_database} #{update_desktop_database}
%{update_mime_database} #{update_mime_database}
%update_icon_cache hicolor #update_icon_cache hicolor
%postun #postun
%if %{gcj_support} #if %{gcj_support}
%{clean_gcjdb} #{clean_gcjdb}
%endif #endif
%{clean_desktop_database} #{clean_desktop_database}
%{clean_mime_database} #{clean_mime_database}
%clean_icon_cache hicolor #clean_icon_cache hicolor
%files %files
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)