From 498fdf205596964d1c69b8a71e580ff236f9e6a1 Mon Sep 17 00:00:00 2001
From: alois <>
Date: Sep 02 2021 21:33:38 +0000
Subject: Update python-gphoto2 to version 2.2.4 / rev 9 via SR 915809


https://build.opensuse.org/request/show/915809
by user alois + dimstar_suse

---

diff --git a/.files b/.files
index ef6b4e1..8b39667 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 9ff3f66..e8cf0d6 100644
--- a/.rev
+++ b/.rev
@@ -63,4 +63,12 @@
     <comment></comment>
     <requestid>847465</requestid>
   </revision>
+  <revision rev="9" vrev="2">
+    <srcmd5>177126acb0aefcb7b7a8194eb0a29eb2</srcmd5>
+    <version>2.2.4</version>
+    <time>1630617629</time>
+    <user>dimstar_suse</user>
+    <comment></comment>
+    <requestid>915809</requestid>
+  </revision>
 </revisionlist>
diff --git a/python-gphoto2.changes b/python-gphoto2.changes
index 80289cc..a85af93 100644
--- a/python-gphoto2.changes
+++ b/python-gphoto2.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Thu Sep  2 14:42:48 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
+
+- Fix rpmlint errors.
+
+-------------------------------------------------------------------
 Tue Nov 10 07:17:16 UTC 2020 - aloisio@gmx.com
 
 - Update to version 2.2.4
diff --git a/python-gphoto2.spec b/python-gphoto2.spec
index dcb26c3..0fa16a4 100644
--- a/python-gphoto2.spec
+++ b/python-gphoto2.spec
@@ -39,11 +39,13 @@ access to nearly all of the libgphoto2 functions, although sometimes
 in a nonstandard manner.
 
 %prep
-%setup -q -n gphoto2-%{version}
-%patch0 -p1
+%autosetup -p1 -n gphoto2-%{version}
 # remove unwanted shebang
 sed -e '1d' -i examples/*.py
 
+# E: spurious-executable-perm
+chmod -x examples/*.py
+
 %build
 %python_build