fix for < 11.4, doesn't have %set_permissions

OBS-URL: https://build.opensuse.org/package/show/games/ltris?expand=0&rev=10
This commit is contained in:
Pascal Bleser 2011-10-31 10:33:46 +00:00 committed by Git OBS Bridge
parent 353f3fc076
commit 5ee7c109a5

View File

@ -74,7 +74,11 @@ mv $RPM_BUILD_ROOT%{_datadir}/games/locale $RPM_BUILD_ROOT%{_datadir}/locale
%endif
%post
%if 0%{?suse_version} < 1140
%run_permissions
%else
%set_permissions %{_prefix}/games/ltris
%endif
%verifyscript
%verify_permissions -e %{_prefix}/games/ltris