Notification time stamped 2022-04-01 02:33:21 UTC
From 1f3de63275e1196b7e116c6b7b21e1f35da911d6 Mon Sep 17 00:00:00 2001
From: Jeremy Newton <alexjnewt(a)hotmail.com>
Date: Apr 01 2022 02:32:15 +0000
Subject: Fix GNOME 42
Used in f36+, this updates to a upstream snapshot
---
diff --git a/.gitignore b/.gitignore
index 6d3921f..314aefb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/gnome-shell-extension-caffeine-v37.tar.gz
/gnome-shell-extension-caffeine-v38.tar.gz
/gnome-shell-extension-caffeine-v39.tar.gz
+/gnome-shell-extension-caffeine-2394e7f.tar.gz
diff --git a/gnome-shell-extension-caffeine.spec b/gnome-shell-extension-caffeine.spec
index a360f14..d9585f0 100644
--- a/gnome-shell-extension-caffeine.spec
+++ b/gnome-shell-extension-caffeine.spec
@@ -1,14 +1,22 @@
+%global commit 2394e7f7180542beccaad28cb557045ff07ecd48
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global gitdate 20220331
+%global fgittag %{gitdate}.git%{shortcommit}
%global extdir caffeine(a)patapon.info
%global gschemadir %{_datadir}/glib-2.0/schemas
Name: gnome-shell-extension-caffeine
Version: 39
-Release: 2%{?dist}
+Release: 3%{?fgittag:.%{fgittag}}%{?dist}
Summary: Disable the screen saver and auto suspend in gnome shell
License: GPLv2
URL:
https://github.com/eonpatapon/gnome-shell-extension-caffeine
+%if 0%{?shortcommit:1}
+Source0:
https://github.com/eonpatapon/%{name}/archive/%{commit}/%{name}-%{shortco...
+%else
Source0:
https://github.com/eonpatapon/%{name}/archive/v%{version}.tar.gz#/%{name}...
+%endif
BuildArch: noarch
@@ -24,7 +32,7 @@ is also enabled if a full screen application is running, and can be
configured
to disable gnome shell's night light as well.
%prep
-%autosetup
+%autosetup %{?commit:-n %{name}-%{commit}}
%build
./update-locale.sh
@@ -51,6 +59,9 @@ fi
%{_datadir}/gnome-shell/extensions/%{extdir}
%changelog
+* Thu Mar 31 2022 Jeremy Newton <alexjnewt at hotmail dot com> -
39-3.20220331.git2394e7f
+- Update to git snapshot to fix f36
+
* Thu Jan 20 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 39-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
diff --git a/sources b/sources
index b36aca1..3399b8f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gnome-shell-extension-caffeine-v39.tar.gz) =
f0350ddaa3c4eb7a841da38bdd4827c7f76b202dda5883dc39cc0d47a8199664b17c0189ce1dba1bf67c65f1b2b2e264d97788d610b99380f75e0a7d5768e3e8
+SHA512 (gnome-shell-extension-caffeine-2394e7f.tar.gz) =
e10e8c04a2bdb706c063dcea5ba69ef79c1d6c0e8f216a3c28f08da30e097ff646070a9e65b82d14e39f18c8cf9d8db8fa4186144232bbd0ee08e02d702fb3a7
https://src.fedoraproject.org/rpms/gnome-shell-extension-caffeine/c/1f3de...