update spec

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

View file

@ -17,7 +17,7 @@ Source4: %{name}-bindings.patch
Source5: build.xml.new
Patch0: %{name}-patch-bindings.patch
Patch1: %{name}-fix-hyperlink-function.patch
#Patch5: %{name}-build.patch
#Patch5: %{name}-build.patch
Patch6: build.xml.patch
#Requires(post): desktop-file-utils
@ -137,28 +137,28 @@ install -Dm0755 bin/dist/%{name}.sh %{buildroot}/%{_bindir}/%{name}
%{__rm} bin/dist/*.sh
%if %{gcj_support}
%{_bindir}/aot-compile-rpm
%endif
#if %{gcj_support}
#{_bindir}/aot-compile-rpm
#endif
%clean
%{__rm} -rf %{buildroot}
%post
%if %{gcj_support}
%{update_gcjdb}
%endif
%{update_desktop_database}
%{update_mime_database}
%update_icon_cache hicolor
#post
#if %{gcj_support}
#{update_gcjdb}
#endif
#{update_desktop_database}
#{update_mime_database}
#update_icon_cache hicolor
%postun
%if %{gcj_support}
%{clean_gcjdb}
%endif
%{clean_desktop_database}
%{clean_mime_database}
%clean_icon_cache hicolor
#postun
#if %{gcj_support}
#{clean_gcjdb}
#endif
#{clean_desktop_database}
#{clean_mime_database}
#clean_icon_cache hicolor
%files
%defattr(0644,root,root,0755)