summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/capi-system-media-key.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/capi-system-media-key.spec b/packaging/capi-system-media-key.spec
index 2473006..16df96e 100644
--- a/packaging/capi-system-media-key.spec
+++ b/packaging/capi-system-media-key.spec
@@ -19,7 +19,8 @@ BuildRequires: pkgconfig(evas)
%if %{with x}
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(utilX)
-%else if{with wayland}
+%endif
+%if %{with wayland}
BuildRequires: pkgconfig(ecore-wayland)
%endif