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.
master
Jens Lody 9 years ago
parent 7a8a5ef79f
commit 2b116b7591
  1. 2
      data/metadata.json.in
  2. 5
      gnome-shell-extension-panel-osd.spec

@ -2,7 +2,7 @@
"uuid": "@uuid@", "uuid": "@uuid@",
"name": "Panel OSD", "name": "Panel OSD",
"description": "Configuring where on the (main) screen notifications will appear, instead of just above the message tray", "description": "Configuring where on the (main) screen notifications will appear, instead of just above the message tray",
"shell-version": [ "3.10", "3.12", "3.14", "3.16"], "shell-version": [ "3.10", "3.12", "3.14", "3.16", "3.17.4"],
"localedir": "@LOCALEDIR@", "localedir": "@LOCALEDIR@",
"url": "@url@" "url": "@url@"
} }

@ -2,8 +2,6 @@
%global uuid panel-osd@berend.de.schouwer.gmail.com %global uuid panel-osd@berend.de.schouwer.gmail.com
%global github jenslody-gnome-shell-extension-panel-osd %global github jenslody-gnome-shell-extension-panel-osd
%global checkout git%{git} %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-panel-osd Name: gnome-shell-extension-panel-osd
Version: 1 Version: 1
@ -18,7 +16,7 @@ URL: https://github.com/jenslody/gnome-shell-extension-panel-osd
Source0: https://github.com/jenslody/gnome-shell-extension-panel-osd/tarball/master/%{github}-%{git}.tar.gz Source0: https://github.com/jenslody/gnome-shell-extension-panel-osd/tarball/master/%{github}-%{git}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: autoconf >= 2.53, automake >= 1.9, glib2-devel, gnome-common >= 3.10.0, intltool >= 0.25 BuildRequires: autoconf, automake, glib2-devel, gnome-common >= 3.10.0, intltool
Requires: gnome-shell-extension-common >= 3.10.0 Requires: gnome-shell-extension-common >= 3.10.0
@ -30,7 +28,6 @@ messages at any (configurable) place on the (primary) monitor.
%setup -q -n %{github}-%{git} %setup -q -n %{github}-%{git}
%build %build
sed -i "s/^\"shell-version\":.*/\"shell-version\": [ \"%{gs_version}\", \"%{gs_major_version}\" ],/g" data/metadata.json.in
NOCONFIGURE=1 ./autogen.sh NOCONFIGURE=1 ./autogen.sh
%configure --prefix=%{_prefix} %configure --prefix=%{_prefix}
make %{?_smp_mflags} make %{?_smp_mflags}

Loading…
Cancel
Save