[gnome-games] try again

Matthias Clasen mclasen at fedoraproject.org
Thu Jul 7 01:32:58 UTC 2011


commit c8edfb422845874f06515ef154b86ba7095de20f
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Wed Jul 6 21:32:22 2011 -0400

    try again

 gnome-games.spec |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/gnome-games.spec b/gnome-games.spec
index f0a1916..1dcd74f 100644
--- a/gnome-games.spec
+++ b/gnome-games.spec
@@ -15,12 +15,14 @@
 %if %{build_seed_games}
 %define omitted_seed_games %{nil}
 %define lightsoff lightsoff
+%define swell_foop swell_foop
 %else
 %define omitted_seed_games swell-foop,lightsoff,
 %define lightsoff %{nil}
+%define swell_foop %{nil}
 %endif
 
-%define swell_foop %{nil}
+%global build_swell_foop 0
 
 %if !%{build_tali}
 %define omitgames --enable-omitgames=%{omitted_seed_games}gtali
@@ -251,7 +253,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
 %if %{have_sudoku}
 %{_datadir}/applications/gnome-sudoku.desktop
 %endif
-%if %{swell_foop}
+%if %{build_swell_foop}
 %{_datadir}/applications/gnome-swell-foop.desktop
 %endif
 
@@ -261,7 +263,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
 %{_datadir}/gnome-games/icons
 %{_datadir}/gnome-games/sounds
 %{_datadir}/gnome-games/pixmaps
-%if %{swell_foop}
+%if %{build_swell_foop}
 %{_datadir}/gnome-games/swell-foop
 %endif
 %if %{have_sudoku}
@@ -273,7 +275,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
 %if %{have_sudoku}
 %{_datadir}/icons/hicolor/*/apps/gnome-sudoku.*
 %endif
-%if %{swell_foop}
+%if %{build_swell_foop}
 %{_datadir}/icons/hicolor/*/apps/gnome-swell-foop.*
 %endif
 
@@ -294,7 +296,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
 %if %{have_sudoku}
 %config(noreplace) %{_sysconfdir}/gconf/schemas/gnome-sudoku.schemas
 %endif
-%if %{swell_foop}
+%if %{build_swell_foop}
 %config(noreplace) %{_sysconfdir}/gconf/schemas/swell-foop.schemas
 %endif
 
@@ -305,7 +307,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
 %if %{have_sudoku}
 %{_bindir}/gnome-sudoku
 %endif
-%if %{swell_foop}
+%if %{build_swell_foop}
 %{_bindir}/swell-foop
 %endif
 


More information about the scm-commits mailing list