diff --git a/data/metadata.json.in b/data/metadata.json.in index a39d4d5..5d83adf 100644 --- a/data/metadata.json.in +++ b/data/metadata.json.in @@ -2,7 +2,7 @@ "uuid": "@uuid@", "name": "OpenWeather", "description": "Weather extension to display weather information from https://openweathermap.org/ or https://forecast.io for almost all locations in the world.\nTo use the weather-data of forecast.io, you have to register on their site (https://developer.forecast.io/register) and get a personal API-key.\n\nSince version 29 this extensions uses coordinates to store the locations and makes the names editable to support multiple weather-providers!\nIf you update from versions prior to 29 to 29 or greater (with forecast.io - support) you have to recreate your locations.", -"shell-version": [ "3.12", "3.14", "3.16", "3.17.3" ], +"shell-version": [ "3.12", "3.14", "3.16", "3.17.4" ], "localedir": "@LOCALEDIR@", "url": "@url@" } diff --git a/gnome-shell-extension-openweather.spec b/gnome-shell-extension-openweather.spec index a98b85c..11228b0 100644 --- a/gnome-shell-extension-openweather.spec +++ b/gnome-shell-extension-openweather.spec @@ -2,8 +2,6 @@ %global uuid openweather-extension@jenslody.de %global github jenslody-gnome-shell-extension-openweather %global checkout git%{git} -%global gs_version %(dnf info gnome-shell | grep Version | cut -d \":\" -f 2 | cut -d \" \" -f 2) -%global gs_major_version %(echo %{gs_version} | cut -d \".\" -f 1-2) Name: gnome-shell-extension-openweather Version: 1 @@ -18,7 +16,7 @@ URL: https://github.com/jenslody/gnome-shell-extension-openweather Source0: https://github.com/jenslody/gnome-shell-extension-openweather/tarball/master/%{github}-%{git}.tar.gz BuildArch: noarch -BuildRequires: autoconf >= 2.53, automake >= 1.9, glib2-devel, gnome-common >= 3.12.0, intltool >= 0.25, dnf +BuildRequires: autoconf, automake, glib2-devel, gnome-common >= 3.12.0, intltool Requires: gnome-shell-extension-common >= 3.12.0 %description @@ -30,7 +28,6 @@ of the world in GNOME Shell. %setup -q -n %{github}-%{git} %build -sed -i "s/^\"shell-version\":.*/\"shell-version\": [ \"%{gs_version}\", \"%{gs_major_version}\" ],/g" data/metadata.json.in NOCONFIGURE=1 ./autogen.sh %configure --prefix=%{_prefix} make %{?_smp_mflags}