From 91326440c5e035670a5b867d2b66717553c78f3b Mon Sep 17 00:00:00 2001 From: Jens Lody Date: Sun, 16 Aug 2015 14:35:31 +0200 Subject: [PATCH] =?UTF-8?q?Revert=20changes=20to=20automatically=20fix=20n?= =?UTF-8?q?eededd=20gs-version=20in=20metadata.json,=20because=20it=20does?= =?UTF-8?q?=20not=20work=20reliable=20and=20bribf=C2=B4gs=20no=20real=20be?= =?UTF-8?q?nefit.=20Update=20metadata.json.in=20to=20newest=20development?= =?UTF-8?q?=20version=20of=20gnome-shell.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/metadata.json.in | 2 +- gnome-shell-extension-openweather.spec | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) 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}