Revert changes to automatically fix neededd gs-version in metadata.json, because it does not work reliable and bribf´gs no real benefit.

Update metadata.json.in to newest development version of gnome-shell.
merge-requests/218/head
Jens Lody 9 years ago
parent 2418594274
commit 91326440c5
  1. 2
      data/metadata.json.in
  2. 5
      gnome-shell-extension-openweather.spec

@ -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@"
}

@ -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}

Loading…
Cancel
Save