From b0fc2890db15c0ec243a5babd91b4fe633232af80ac572c76150b7cf32736168 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 7 Nov 2009 22:34:12 +0000 Subject: [PATCH] Fix build OBS-URL: https://build.opensuse.org/package/show/games/ltris?expand=0&rev=5 --- ltris.changes | 6 ++++++ ltris.spec | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ltris.changes b/ltris.changes index 287d1a8..aaaf02f 100644 --- a/ltris.changes +++ b/ltris.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Nov 7 23:04:04 CET 2009 - dimstar@opensuse.org + +- Verify the permissions set by the permissions package + (verfiy_permissions and run_permissions) + ------------------------------------------------------------------- Sat Nov 7 17:00:41 UTC 2009 - pascal.bleser@opensuse.org diff --git a/ltris.spec b/ltris.spec index 9b86a22..aee85db 100644 --- a/ltris.spec +++ b/ltris.spec @@ -59,10 +59,16 @@ mv $RPM_BUILD_ROOT%{_datadir}/games/locale $RPM_BUILD_ROOT%{_datadir}/locale %clean rm -rf "$RPM_BUILD_ROOT" +%post +%run_permissions + +%verifyscript +%verify_permissions + %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS COPYING ChangeLog README TODO -%attr(0755,games,games) %{_prefix}/games/ltris +%attr(2755,games,games) %{_prefix}/games/ltris %dir %{_datadir}/games/ltris %{_datadir}/games/ltris/* %attr(664,games,games) /var/games/ltris.hscr