From 2b116b759134da014b443388d9a3517ba7597feb Mon Sep 17 00:00:00 2001 From: Jens Lody Date: Sun, 16 Aug 2015 14:39:47 +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-panel-osd.spec | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/data/metadata.json.in b/data/metadata.json.in index 8d96570..27e6c81 100644 --- a/data/metadata.json.in +++ b/data/metadata.json.in @@ -2,7 +2,7 @@ "uuid": "@uuid@", "name": "Panel OSD", "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@", "url": "@url@" } diff --git a/gnome-shell-extension-panel-osd.spec b/gnome-shell-extension-panel-osd.spec index e1e2013..dae0b95 100644 --- a/gnome-shell-extension-panel-osd.spec +++ b/gnome-shell-extension-panel-osd.spec @@ -2,8 +2,6 @@ %global uuid panel-osd@berend.de.schouwer.gmail.com %global github jenslody-gnome-shell-extension-panel-osd %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 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 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 @@ -30,7 +28,6 @@ messages at any (configurable) place on the (primary) monitor. %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}