From ed663c1743912c8cb69212335ad39bef3839f58b Mon Sep 17 00:00:00 2001 From: Andrew Toskin Date: Oct 25 2017 23:45:27 +0000 Subject: Sort BuildRequires and Requires together. --- diff --git a/gnome-shell-extension-historymanager-prefix-search.spec b/gnome-shell-extension-historymanager-prefix-search.spec index 2766d85..45f91d6 100644 --- a/gnome-shell-extension-historymanager-prefix-search.spec +++ b/gnome-shell-extension-historymanager-prefix-search.spec @@ -14,21 +14,20 @@ BuildArch: noarch # https://github.com/sustmi/gnome-shell-extension-historymanager-prefix-search/releases Source0: https://github.com/sustmi/gnome-shell-extension-historymanager-prefix-search/archive/v%{version}.tar.gz +BuildRequires: gettext +# CentOS 7 doesn't automatically do gschema compilation yet. +%if 0%{?rhel} +BuildRequires: glib2 +%endif + Requires: gnome-shell >= 3.8 Requires: gnome-shell-extension-common -BuildRequires: gettext - # (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 - Provides: gnome-shell-extension-sustmi-historymanager-prefix-search = %{version}-%{release} Obsoletes: gnome-shell-extension-sustmi-historymanager-prefix-search <= 3.0-17