Tomáš Chvátal 2016-09-29 12:12:03 +00:00 committed by Git OBS Bridge
parent c1f3f5ce6f
commit d0987e0503

View File

@ -106,11 +106,11 @@ ln -sf %{_sysconfdir}/alternatives/hibernate_jdbc_cache.jar %{buildroot}%{_javad
%post
update-alternatives --install %{_javadir}/hibernate_jdbc_cache.jar \
hibernate_jdbc_cache %{_javadir}/%{name}.jar 60
hibernate_jdbc_cache %{_javadir}/%{name}2.jar 60
%preun
if [ $1 -eq 0 ] ; then
update-alternatives --remove hibernate_jdbc_cache %{_javadir}/%{name}.jar
update-alternatives --remove hibernate_jdbc_cache %{_javadir}/%{name}2.jar
fi
%files