#2 Updated to version 4.3.1
Merged 2 years ago by js. Opened 2 years ago by xvitaly.
Unknown source new-version  into  rawhide

file modified
+3
@@ -53,3 +53,6 @@

  /Electrum-4.1.5.tar.gz.ThomasV.asc

  /Electrum-4.2.1.tar.gz

  /Electrum-4.2.1.tar.gz.asc

+ /Electrum-4.3.1.tar.gz

+ /gpgkey-electrum.gpg

+ /Electrum-4.3.1.tar.gz.asc

electrum.metainfo.xml electrum.appdata.xml
file renamed
file was moved with no change to the file
file modified
+39 -28
@@ -1,6 +1,6 @@

  Name:           electrum

- Version:        4.2.1

- Release:        4%{?dist}

+ Version:        4.3.1

+ Release:        1%{?dist}

  Summary:        A lightweight Bitcoin Client

  

  License:        MIT
@@ -9,29 +9,32 @@

  Source1:        https://download.electrum.org/%{version}/Electrum-%{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

- Source2:        gpgkey-electrum.gpg

- Source3:        electrum.appdata.xml

- Source4:        electrum.1

+ Source2:        gpgkey-%{name}.gpg

+ Source3:        %{name}.metainfo.xml

+ Source4:        %{name}.1

  

  Patch0:         fix-desktop-exec.patch

  BuildArch:      noarch

  

  BuildRequires:  python3-devel

- BuildRequires:  python3-setuptools

- BuildRequires:  python3-qt5-devel

  BuildRequires:  gettext

  

+ BuildRequires:  desktop-file-utils

  BuildRequires:  libappstream-glib

  BuildRequires:  gnupg2

  

- Requires:       python%{python3_version}dist(pyqt5)

- Requires:       python3-cryptography

+ Requires:       hicolor-icon-theme

+ 

  # Unlucky rpm automatic dependency generation doesn't catch this dependency

  Requires:       libsecp256k1

  

- Recommends:       zbar

- Recommends:       python3-trezor >= 0.13.0

- Recommends:       python3-btchip >= 0.1.32

+ # Extra items are not tracked by runtime autodeps yet

+ Requires:       %{py3_dist cryptography}

+ Requires:       %{py3_dist pyqt5}

+ 

+ Recommends:     zbar

+ Recommends:     python3-trezor >= 0.13.0

+ Recommends:     python3-btchip >= 0.1.32

  

  Conflicts:      python3-trezor < 0.11.2

  Conflicts:      python3-btchip < 0.1.32
@@ -44,17 +47,22 @@

  it does not download the Bitcoin block chain.

  

  %prep

- gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}

+ %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'

  %autosetup -p1 -n Electrum-%{version}

  rm -rf Electrum.egg-info

  rm -rf packages

  

+ %generate_buildrequires

+ %pyproject_buildrequires -x gui -x crypto

+ 

  %build

- %{py3_build}

+ %pyproject_wheel

  

  %install

- %{py3_install}

- install -Dpm 644 %{SOURCE3} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml

+ %pyproject_install

+ %pyproject_save_files %{name}

+ 

+ install -Dpm 644 %{SOURCE3} %{buildroot}%{_metainfodir}/%{name}.metainfo.xml

  install -Dpm 644 %{SOURCE4} %{buildroot}%{_mandir}/man1/%{name}.1

  

  # Remove shebang lines from .py files that aren't executable, and
@@ -66,26 +74,29 @@

    -perm /u+x,g+x,o+x ! -exec grep -m 1 -q '^#!' {} \; \

    -exec chmod a-x {} \; \) \)

  

- %find_lang %{name}

- 

  %check

- appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata.xml

+ appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/%{name}.metainfo.xml

+ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop

  

- %files -f %{name}.lang

- %doc AUTHORS

- %doc README.rst

- %doc RELEASE-NOTES

- %doc PKG-INFO

+ %files -f %{pyproject_files}

+ %doc AUTHORS README.md RELEASE-NOTES

  %license LICENCE

- %{_bindir}/electrum

+ %{_bindir}/%{name}

  %{_mandir}/man1/%{name}.1*

+ %{_datadir}/icons/hicolor/*/apps/%{name}.png

  %{_datadir}/pixmaps/%{name}.png

  %{_datadir}/applications/%{name}.desktop

- %{_datadir}/appdata/%{name}.appdata.xml

- %{python3_sitelib}/*

- %exclude %{python3_sitelib}/%{name}/locale

+ %{_metainfodir}/%{name}.metainfo.xml

  

  %changelog

+ * Wed Aug 31 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 4.3.1-1

+ - Updated to version 4.3.1.

+ - Converted to 202x-era Python packaging guidelines.

+ - Switched metainfo to the latest XDG standard.

+ - Switched to gpgverify macros as required by packaging guidelines.

+ - Added desktop file check.

+ - Moved binary file with GPG keys to Fedora look-aside cache.

+ 

  * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-4

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

  

file modified
+3 -2
@@ -1,2 +1,3 @@

- SHA512 (Electrum-4.2.1.tar.gz) = 980dfab33f7ae1dfb2f9e77272d00919224b7d4267d5f9a298ba082779ef5cc10260926dd5ad75f6ff54c1b5f451bbe4ee3d0c3908db5b54b3546cb5e9ec49f6

- SHA512 (Electrum-4.2.1.tar.gz.asc) = cd5f9759e9fceacf767cbf086799b419d166f71c2c131d6c45b2f4df667419fc3d6058e9d308c1183046c52f2025eb12058112e25c678e5d6626a45db518aa60

+ SHA512 (Electrum-4.3.1.tar.gz) = 5b968814c2df5530fe3149915134c6faf054472bc9cd4fc36978ac3597869333c181ff7805a643647b7a9158d8aa7de0e5c375189103643eba1b3ac03b416893

+ SHA512 (Electrum-4.3.1.tar.gz.asc) = d6f8ab234f334a7ea41394f2557c78b4ebfb5da2d4b418cf47c08ebb2e1839d789e5c74420ecc12b18ee32596c6ff6734bd19c068ed336384e5478a4345e3ca5

+ SHA512 (gpgkey-electrum.gpg) = 87799a6fcc1adcbae151f0a004f22a1955492e5b6ee68e97682284f6cdab89aa04b48ca118955c427d480e333126fbf05ba0790fd56832eeeb0d6803e7bc0930

  • Updated to version 4.3.1.
  • Switched metainfo to the latest XDG standard.
  • Switched to gpgverify macros as required by packaging guidelines.
  • Added desktop file check.
  • Moved binary file with GPG keys to Fedora look-aside cache.

rebased onto 698f2cc

2 years ago

rebased onto 493d9c7

2 years ago

rebased onto 532d5ff

2 years ago

rebased onto 5bb3039

2 years ago

rebased onto 82ef906

2 years ago

1 new commit added

  • Converted to 202x-era Python packaging guidelines.
2 years ago

2 new commits added

  • Converted to 202x-era Python packaging guidelines.
  • Updated to version 4.3.1.
2 years ago

Please merge and build for Fedora 36, 37 and Rawhide.

Pull-Request has been merged by js

2 years ago