diff --git a/.gitignore b/.gitignore index 89f1533..013e4dc 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ /jenslody-gnome-shell-extension-openweather-a86b949.tar.gz /gnome-shell-extension-openweather-401d68e.tar.gz /gnome-shell-extension-openweather-7ea4ce7.tar.gz +/gnome-shell-extension-openweather-d9fb790.tar.gz diff --git a/gnome-shell-extension-openweather.spec b/gnome-shell-extension-openweather.spec index d33119e..dc5cf49 100644 --- a/gnome-shell-extension-openweather.spec +++ b/gnome-shell-extension-openweather.spec @@ -1,24 +1,25 @@ -%global git 7ea4ce7 -%global uuid openweather-extension@jenslody.de -%global checkout git%{git} -%global checkout_date 20181119 +%global commit d9fb790ba271dbcb71482345fef4282bd66a13b9 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global date 20200110 + +%global uuid openweather-extension@jenslody.de Name: gnome-shell-extension-openweather Version: 1 -Release: 0.38.%{checkout_date}%{checkout}%{?dist} +Release: 0.39.%{date}git%{shortcommit}%{?dist} Summary: Display weather information from many locations in the world # The entire source code is GPLv3+ except convenience.js, which is BSD License: GPLv3+ and BSD URL: https://gitlab.com/jenslody/gnome-shell-extension-openweather -Source0: %{url}/-/archive/%{git}/%{name}-%{git}.tar.gz - +Source0: %{url}/-/archive/%{shortcommit}/%{name}-%{shortcommit}.tar.gz BuildArch: noarch BuildRequires: autoconf BuildRequires: automake BuildRequires: gettext-devel BuildRequires: glib2-devel + # The version of gnome-common in CentOS7 is only 3.7.4 BuildRequires: gnome-common >= 3.7.4 @@ -37,25 +38,34 @@ You can use gnome-tweak-tool (additional package) or run in terminal: gnome-shell-extension-tool -e %uuid + %prep -%autosetup -n %{name}-%{git} +%autosetup -n %{name}-%{shortcommit} + %build NOCONFIGURE=1 ./autogen.sh -%configure --prefix=%{_prefix} GIT_VERSION=%{checkout} +%configure --prefix=%{_prefix} GIT_VERSION=%{shortcommit} %make_build + %install %make_install %find_lang %{name} + %files -f %{name}.lang %doc AUTHORS README.md %license COPYING -%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.openweather.gschema.xml -%{_datadir}/gnome-shell/extensions/%{uuid} +%doc AUTHORS README.md +%{_datadir}/glib-2.0/schemas/*.gschema.xml +%{_datadir}/gnome-shell/extensions/%{uuid}/ + %changelog +* Fri Jan 10 2020 Artem Polishchuk - 1-0.39.20200110gitd9fb790 +- Update to d9fb790 + * Thu Jul 25 2019 Fedora Release Engineering - 1-0.38.20181119git7ea4ce7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index bc49e19..938681e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gnome-shell-extension-openweather-7ea4ce7.tar.gz) = e20de706e5cd15f67a46187257a7ecbb68033460264f9557d5ad3abe10c59d522183c9e9a3a674735214185c8271f573350b050e4ca9fc1bd4723f3a66eca6cd +SHA512 (gnome-shell-extension-openweather-d9fb790.tar.gz) = 5b5ab057c23dac3da02547ef172e16037aebd619c81e5323a50758b59484d828f0c33792082a3da249aab55914a3c89a77cc6f87c5ec4f3f803d5133915040c2