diff --git a/gnome-shell.changes b/gnome-shell.changes index a88c2fd..e99b884 100644 --- a/gnome-shell.changes +++ b/gnome-shell.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 15 09:59:51 CET 2011 - vuntz@opensuse.org + +- Fix build: BUILD_AGAINST_GNOME3 is not necessarily defined, so + use %{?BUILD_AGAINST_GNOME3}. + ------------------------------------------------------------------- Sun Feb 13 16:16:33 CET 2011 - vuntz@opensuse.org diff --git a/gnome-shell.spec b/gnome-shell.spec index f5dbde7..969fc99 100644 --- a/gnome-shell.spec +++ b/gnome-shell.spec @@ -57,7 +57,7 @@ Requires: gdk-pixbuf-loader-rsvg Requires: gjs Requires: gnome-icon-theme-symbolic Requires: gnome-session -%if 0%BUILD_AGAINST_GNOME3 +%if 0%{?BUILD_AGAINST_GNOME3} # For a GSettings schema Requires: gnome-settings-daemon %endif @@ -79,7 +79,7 @@ documents, and organizing open windows in GNOME. %lang_package %prep %setup -q -%if ! 0%BUILD_AGAINST_GNOME3 +%if ! 0%{?BUILD_AGAINST_GNOME3} %patch0 -p1 %endif