public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/electrum] rawhide: Update to 4.8.1
@ 2026-09-09 17:07 Jonathan Schleifer
  0 siblings, 0 replies; only message in thread
From: Jonathan Schleifer @ 2026-09-09 17:07 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/electrum
Branch : rawhide
Commit : 3fe75ad7287dd2c4a6ef0cd5e64d0f25377ce18c
Author : Jonathan Schleifer <js@fedoraproject.org>
Date   : 2026-09-09T19:05:44+02:00
Stats  : +22/-73 in 8 file(s)
URL    : https://src.fedoraproject.org/rpms/electrum/c/3fe75ad7287dd2c4a6ef0cd5e64d0f25377ce18c?branch=rawhide

Log:
Update to 4.8.1

---
diff --git a/.gitignore b/.gitignore
index c93e12d..8e28acf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,2 @@
-/gpgkey-electrum.gpg
-/Electrum-sourceonly-4.5.8.tar.gz
-/Electrum-sourceonly-4.5.8.tar.gz.asc
+/Electrum-sourceonly-*.tar.gz
+/Electrum-sourceonly-*.tar.gz.asc

diff --git a/electrum.spec b/electrum.spec
index d7689b5..05c6492 100644
--- a/electrum.spec
+++ b/electrum.spec
@@ -1,21 +1,19 @@
 Name:           electrum
-Version:        4.5.8
-Release:        12%{?dist}
+Version:        4.8.1
+Release:        1%{?dist}
 Summary:        A lightweight Bitcoin Client
 
 License:        MIT
 URL:            https://electrum.org/
 Source0:        https://download.electrum.org/%{version}/Electrum-sourceonly-%{version}.tar.gz
 Source1:        https://download.electrum.org/%{version}/Electrum-sourceonly-%{version}.tar.gz.asc
-#Wed Feb 01 2017, exported the upstream gpg key using the command:
-#gpg2 --export --export-options export-minimal 6694D8DE7BE8EE5631BED9502BD5824B7F9470E6 9EDAFF80E080659604F4A76B2EBB056FD847F8A7 0EEDCFD5CAFB459067349B23CA9EEEC43DF911DC > gpgkey-electrum.gpg
+#Sat Sep 05 2026, exported the upstream gpg key using the command:
+#gpg2 --export --export-options export-minimal 6694D8DE7BE8EE5631BED9502BD5824B7F9470E6 9EDAFF80E080659604F4A76B2EBB056FD847F8A7 0EEDCFD5CAFB459067349B23CA9EEEC43DF911DC AA0BC6824B397BBA99776E157ED8D82B37192688 33C103B4B2794170546CCF7BCFB2C83C66CD792A> gpgkey-electrum.gpg
 Source2:        gpgkey-%{name}.gpg
 Source3:        %{name}.metainfo.xml
 Source4:        %{name}.1
 
-Patch0:         relax-protobuf-requirement.patch
-Patch1:         fix-secp256k1.patch
-Patch2:         relax-aiorpcx-requirements.patch
+Patch0:         relax-requirements.patch
 
 BuildArch:      noarch
 # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
@@ -37,7 +35,7 @@ Requires:       libsecp256k1
 
 # Extra items are not tracked by runtime autodeps yet
 Requires:       %{py3_dist cryptography}
-Requires:       %{py3_dist pyqt5}
+Requires:       %{py3_dist pyqt6}
 
 Recommends:     zbar
 Recommends:     python3-trezor >= 0.13.0
@@ -57,10 +55,9 @@ it does not download the Bitcoin block chain.
 %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
 %autosetup -p0 -n Electrum-%{version}
 rm -rf Electrum.egg-info
-rm -rf packages
+rm -rf electrum/_vendor
 
-contrib/generate_payreqpb2.sh
-contrib/build_locale.sh electrum/locale electrum/locale
+electrum/plugins/keepkey/keepkeylib/device-protocol/build_pb.sh
 
 %generate_buildrequires
 %pyproject_buildrequires -x gui -x crypto

diff --git a/fix-secp256k1.patch b/fix-secp256k1.patch
deleted file mode 100644
index 6807d72..0000000
--- a/fix-secp256k1.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- electrum/ecc_fast.py.orig	2025-03-31 01:35:31.576545738 +0200
-+++ electrum/ecc_fast.py	2025-03-31 01:35:48.261097162 +0200
-@@ -39,7 +39,7 @@
- def load_library():
-     # note: for a mapping between bitcoin-core/secp256k1 git tags and .so.V libtool version numbers,
-     #       see https://github.com/bitcoin-core/secp256k1/pull/1055#issuecomment-1227505189
--    tested_libversions = [2, 1, 0, ]  # try latest version first
-+    tested_libversions = [5, 2, 1, 0, ]  # try latest version first
-     libnames = []
-     if sys.platform == 'darwin':
-         for v in tested_libversions:

diff --git a/gpgkey-electrum.gpg b/gpgkey-electrum.gpg
new file mode 100644
index 0000000..f3d7674
Binary files /dev/null and b/gpgkey-electrum.gpg differ

diff --git a/relax-aiorpcx-requirements.patch b/relax-aiorpcx-requirements.patch
deleted file mode 100644
index bf8f033..0000000
--- a/relax-aiorpcx-requirements.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD$
-
---- contrib/requirements/requirements.txt.orig	2025-05-18 09:28:35.519894613 +0000
-+++ contrib/requirements/requirements.txt
-@@ -1,7 +1,7 @@
- qrcode
- protobuf>=3.12,<4
- qdarkstyle>=2.7
--aiorpcx>=0.22.0,<0.24
-+aiorpcx>=0.22.0
- aiohttp>=3.3.0,<4.0.0
- aiohttp_socks>=0.8.4
- certifi
---- electrum/electrum.orig	2026-05-10 20:53:04.989618457 +0200
-+++ electrum/electrum	2026-05-10 20:53:16.947709403 +0200
-@@ -74,8 +74,6 @@
-         import aiorpcx
-     except ImportError as e:
-         sys.exit(f"Error: {str(e)}. Try 'sudo python3 -m pip install <module-name>'")
--    if not ((0, 22, 0) <= aiorpcx._version < (0, 24)):
--        raise RuntimeError(f'aiorpcX version {aiorpcx._version} does not match required: 0.22.0<=ver<0.24')
-     # the following imports are for pyinstaller
-     from google.protobuf import descriptor
-     from google.protobuf import message

diff --git a/relax-protobuf-requirement.patch b/relax-protobuf-requirement.patch
deleted file mode 100644
index 4156860..0000000
--- a/relax-protobuf-requirement.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- contrib/requirements/requirements.txt.orig	2024-01-28 20:09:35.275455984 +0100
-+++ contrib/requirements/requirements.txt	2024-01-28 20:09:42.804240728 +0100
-@@ -1,5 +1,5 @@
- qrcode
--protobuf>=3.20,<4
-+protobuf>=3.12,<4
- qdarkstyle>=2.7
- aiorpcx>=0.22.0,<0.24
- aiohttp>=3.3.0,<4.0.0

diff --git a/relax-requirements.patch b/relax-requirements.patch
index c51bb18..3386f9c 100644
--- a/relax-requirements.patch
+++ b/relax-requirements.patch
@@ -1,21 +1,19 @@
---- contrib/requirements/requirements.txt.orig	2025-09-06 12:53:03.162650037 +0200
-+++ contrib/requirements/requirements.txt	2025-09-06 13:40:40.805440987 +0200
-@@ -1,8 +1,8 @@
+--- contrib/requirements/requirements.txt.orig	2026-09-05 10:53:50.507922148 +0000
++++ contrib/requirements/requirements.txt
+@@ -1,6 +1,6 @@
  qrcode
--protobuf>=3.20
-+protobuf>=3.12
  qdarkstyle>=3.2
 -aiorpcx>=0.25.0,<0.26
--aiohttp>=3.11.0,<4.0.0
-+aiorpcx>=0.25.0
-+aiohttp>=3.11.0
++aiorpcx>=0.24.0
+ aiohttp>=3.11.0,<4.0.0
  aiohttp_socks>=0.9.2
  certifi
- jsonpatch
-@@ -11,10 +11,10 @@
+@@ -8,12 +8,10 @@ jsonpatch
+ electrum_ecc>=0.0.4,<0.1
+ electrum_aionostr>=0.1.0,<0.2
  
- # - upper limit to avoid needing hatchling at build-time :/
- #   (however newer versions should work at runtime)
+-# - upper limit to avoid needing hatchling at build-time :/
+-#   (however newer versions should work at runtime)
 -attrs>=20.1.0,<23
 +attrs>=20.1.0
  

diff --git a/sources b/sources
index e5d5165..80183dd 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,2 @@
-SHA512 (gpgkey-electrum.gpg) = 87799a6fcc1adcbae151f0a004f22a1955492e5b6ee68e97682284f6cdab89aa04b48ca118955c427d480e333126fbf05ba0790fd56832eeeb0d6803e7bc0930
-SHA512 (Electrum-sourceonly-4.5.8.tar.gz) = 292a473b459477292a9acf38f896b4f07d00fe8565b1b381f0cb59d60fa88c1eca99280be9f41f1adb9cf4fc2c5b3f8fa34c9f15cfd22f2fbfc20eae1bf0c347
-SHA512 (Electrum-sourceonly-4.5.8.tar.gz.asc) = cbe272732e28523cda99ff62bd7986decf3d0cc46d5f9c7696a00bcde95b8f13552906cae5ed1353caa3c96018b6d88bf7959a32cbf9fbb95625fadf240e2181
+SHA512 (Electrum-sourceonly-4.8.1.tar.gz) = 545614cf2ccccf7f06e763bd27dcb87c0e6fbc5e5f7fd46c8e8400421ae318b6828a6265ff20d604bfe89a6b6d2d268f129b00fd9c6dcf51ffbbd3b2cccce566
+SHA512 (Electrum-sourceonly-4.8.1.tar.gz.asc) = a66cc716356193f883aeb3a496076e8066102ced5067d6100291c31ddb5734980ed40176d8cd5f5ffbc820e9c94b82234fe393d6be82435d2f66c18c3dfb13ae

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-09 17:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-09 17:07 [rpms/electrum] rawhide: Update to 4.8.1 Jonathan Schleifer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox