From a42c22b91549ce074656d086b4428d5458014aa7 Mon Sep 17 00:00:00 2001
From: Bernhard M. Wiedemann <bwiedemann@suse.de>
Date: Feb 09 2023 20:27:58 +0000
Subject: update


---

diff --git a/.files b/.files
index 946c603..c9578a4 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 261c065..a7171f6 100644
--- a/.rev
+++ b/.rev
@@ -475,4 +475,12 @@
     <comment>- Update to version 1.7.0.</comment>
     <requestid>1063071</requestid>
   </revision>
+  <revision rev="57" vrev="1">
+    <srcmd5>8f70a00d643be0251933827fdc8eb725</srcmd5>
+    <version>1.7.1</version>
+    <time>1675956172</time>
+    <user>dimstar_suse</user>
+    <comment>- Update to version 1.7.1.</comment>
+    <requestid>1063918</requestid>
+  </revision>
 </revisionlist>
diff --git a/gajim-1.7.0-fix-status-switching.patch b/gajim-1.7.0-fix-status-switching.patch
deleted file mode 100644
index 2de0e4f..0000000
--- a/gajim-1.7.0-fix-status-switching.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/gajim/common/application.py
-+++ b/gajim/common/application.py
-@@ -50,7 +50,6 @@
- from gajim.common.events import GajimUpdateAvailable
- from gajim.common.events import SignedIn
- from gajim.common.helpers import from_one_line
--from gajim.common.helpers import get_global_show
- from gajim.common.helpers import get_random_string
- from gajim.common.settings import LegacyConfig
- from gajim.common.settings import Settings
-@@ -427,8 +426,6 @@ def change_status(self,
-                       account: Optional[str] = None
-                       ) -> None:
- 
--        status = get_global_show()
--
-         if account is not None:
-             self._change_status(account, status)
-             return
diff --git a/gajim-1.7.0.tar.gz b/gajim-1.7.0.tar.gz
deleted file mode 120000
index 1ff7054..0000000
--- a/gajim-1.7.0.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafybeiaz6noc6kdnh26ewqzrf42tpud6eb4pkrzcqa5tc2wo6vqajkacyy
\ No newline at end of file
diff --git a/gajim-1.7.1.tar.gz b/gajim-1.7.1.tar.gz
new file mode 120000
index 0000000..a4d103b
--- /dev/null
+++ b/gajim-1.7.1.tar.gz
@@ -0,0 +1 @@
+/ipfs/bafybeianozslz2beimxd4gn6wvdvryud3nr2png2eqown6aclbooaizvde
\ No newline at end of file
diff --git a/gajim.changes b/gajim.changes
index 23497ec..d6c33de 100644
--- a/gajim.changes
+++ b/gajim.changes
@@ -1,4 +1,15 @@
 -------------------------------------------------------------------
+Wed Feb  8 23:30:42 UTC 2023 - Alexei Sorokin <sor.alexei@meowr.ru>
+
+- Update to version 1.7.1:
+  * Raise nbxmpp version to 4.2.0.
+  * Improve KeepassXC Integration.
+  * MUC: Enable archiving when creating MUCs on ejabberd.
+  * Apply SASLprep to passwords.
+  * Make switching status work again.
+- Drop gajim-1.7.0-fix-status-switching.patch: fixed upstream.
+
+-------------------------------------------------------------------
 Fri Feb  4 14:57:12 UTC 2023 - Alexei Sorokin <sor.alexei@meowr.ru>
 
 - Update to version 1.7.0:
diff --git a/gajim.spec b/gajim.spec
index fb76c84..bc52ca2 100644
--- a/gajim.spec
+++ b/gajim.spec
@@ -25,16 +25,14 @@
 %define pythons python310
 %endif
 Name:           gajim
-Version:        1.7.0
+Version:        1.7.1
 Release:        0
-Summary:        XMPP client written in Python and Gtk
+Summary:        XMPP client written in Python and GTK
 License:        GPL-3.0-only
 Group:          Productivity/Networking/Talk/Clients
 URL:            https://gajim.org/
 Source:         https://gajim.org/downloads/1.7/gajim-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM gajim-1.7.0-fix-status-switching.patch philipp@hoerist.com -- Make switching status work again (commit 3c2c6448).
-Patch0:         gajim-1.7.0-fix-status-switching.patch
-BuildRequires:  %{python_module nbxmpp >= 4.0.1}
+BuildRequires:  %{python_module nbxmpp >= 4.2.0}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module precis-i18n >= 1.0.0}
 BuildRequires:  %{python_module wheel}
@@ -86,7 +84,7 @@ Features:
 %lang_package
 
 %prep
-%autosetup -p1
+%autosetup
 sed -i '/^Keywords/d' data/org.gajim.Gajim.desktop.in
 sed -i '1{/\/usr\/bin\/*/d;}' gajim/gajim_remote.py