SPECS: kdegames.spec - added /var/games/kbounce.scores, its needen...

Elan Ruusamäe glen at delfi.ee
Wed Dec 14 10:18:43 CET 2005


On Wednesday 14 December 2005 00:50, you wrote:
> Author: grzegorz                     Date: Tue Dec 13 22:50:19 2005 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - added /var/games/kbounce.scores, its needen even if --without highscore
but file is 'touch'-ed only %{with highscore}
so building --without highscore build will most likely fail

> ---- Files affected:
> SPECS:
>    kdegames.spec (1.146 -> 1.147)
>
> ---- Diffs:
>
> ================================================================
> Index: SPECS/kdegames.spec
> diff -u SPECS/kdegames.spec:1.146 SPECS/kdegames.spec:1.147
> --- SPECS/kdegames.spec:1.146	Tue Dec 13 13:56:54 2005
> +++ SPECS/kdegames.spec	Tue Dec 13 23:50:14 2005
> @@ -814,7 +814,7 @@
>
>  %if %{with highscore}
>  install -d $RPM_BUILD_ROOT/var/games
> -touch $RPM_BUILD_ROOT/var/games/k{fouleggs,lickety,mines,sirtet}.scores
> +touch
> $RPM_BUILD_ROOT/var/games/k{fouleggs,lickety,mines,sirtet,bounce}.scores
> %endif
>
>  %find_lang atlantik	--with-kde
> @@ -948,7 +948,12 @@
>
>  %files kbounce -f kbounce.lang
>  %defattr(644,root,root,755)
> +%if %{with highscore}
> +%attr(2755,root,games) %{_bindir}/kbounce
> +%else
>  %attr(755,root,root) %{_bindir}/kbounce
> +%endif
> +%attr(660,root,games) %config(noreplace) %verify(not md5 mtime size)
> /var/games/kbounce.scores %{_datadir}/apps/kbounce
>  %{_desktopdir}/kde/kbounce.desktop
>  %{_iconsdir}/[!l]*/*/*/kbounce*
> @@ -1178,6 +1183,9 @@
>  All persons listed below can be reached at <cvs_login>@pld-linux.org
>
>  $Log$
> +Revision 1.147  2005/12/13 22:50:14  grzegorz
> +- added /var/games/kbounce.scores, its needen even if --without highscore

-- 
glen



More information about the pld-devel-en mailing list