diff --git a/gnome-shell-extension-sustmi.spec b/gnome-shell-extension-sustmi.spec index 67730b3..0e5ee18 100644 --- a/gnome-shell-extension-sustmi.spec +++ b/gnome-shell-extension-sustmi.spec @@ -15,12 +15,6 @@ BuildArch: noarch # Eventually, I'd like to split these into fully separate packages, but they're committed together in the same GitHub repo, and I don't see a way to check release versions of the individual extensions on the "EGO" website. Maybe sustmi will be willing to start tagging releases or something. Source0: https://github.com/sustmi/gnome-shell-extensions-sustmi/archive/%{commit}.tar.gz -Requires: gnome-shell >= 3.8 - -# CentOS 7 build environment doesn't support Recommends tag. -%if 0%{?fedora} -Recommends: gnome-tweak-tool -%endif %description @@ -29,8 +23,19 @@ and historymanager-prefix-search -%package windowoverlay-icons -Summary: Show app icons on top of the windows thumbnails in Activities Overview +%package windowoverlay-icons +Summary: Show app icons on top of the windows thumbnails in Activities Overview +Requires: gnome-shell >= 3.8 + +# (CentOS 7 build environment doesn't support Recommends tag.) +%if 0%{?fedora} +Recommends: gnome-tweak-tool +%endif + +# CentOS 7 doesn't automatically do gschema compilation yet. +%if 0%{?rhel} +BuildRequires: glib2 +%endif %description windowoverlay-icons Sometimes when you have many open windows, especially if they all @@ -54,8 +59,20 @@ You may also need to restart GNOME Shell (open the command dialog with Alt-F2, type `r`, and hit enter), or log out and log back in. -%package historymanager-prefix-search -Summary: Use PageUp and PageDown to search for previous GNOME Shell commands + +%package historymanager-prefix-search +Summary: Use PageUp and PageDown to search for previous GNOME Shell commands +Requires: gnome-shell >= 3.8 + +# (CentOS 7 build environment doesn't support Recommends tag.) +%if 0%{?fedora} +Recommends: gnome-tweak-tool +%endif + +# CentOS 7 doesn't automatically do gschema compilation yet. +%if 0%{?rhel} +BuildRequires: glib2 +%endif %description historymanager-prefix-search The GNOME Shell Run Command dialog (Alt-F2) and Looking Glass let you @@ -81,6 +98,7 @@ You may also need to restart GNOME Shell (open the command dialog with Alt-F2, type `r`, and hit enter), or log out and log back in. + %prep %autosetup -n gnome-shell-extensions-sustmi-%{commit}