From 14eb591e5511367d341faf9a2d4d27c41a885770 Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: Sep 25 2021 09:06:53 +0000 Subject: Update to 3.10.4 --- diff --git a/.gitignore b/.gitignore index 9022f7e..443d5ba 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,5 @@ /pycryptodomex-3.9.7.tar.gz /pycryptodomex-3.9.8.tar.gz /pycryptodomex-3.10.1.tar.gz +/pycryptodomex-3.10.2.tar.gz +/pycryptodomex-3.10.4.tar.gz diff --git a/python-pycryptodomex.spec b/python-pycryptodomex.spec index 62a36a2..d993352 100644 --- a/python-pycryptodomex.spec +++ b/python-pycryptodomex.spec @@ -28,8 +28,8 @@ Note: all modules are installed under the Cryptodome package to avoid conflicts with the PyCrypto library.} Name: python-%{srcname} -Version: 3.10.1 -Release: 4%{?dist} +Version: 3.10.4 +Release: 1%{?dist} Summary: A self-contained cryptographic library for Python # PyCrypto-based code is public domain, further PyCryptodome contributions are @@ -42,11 +42,10 @@ Patch0: %{name}-3.10.1-use_external_libtomcrypt.patch # Fix build with Sphinx 4.2 Patch1: %{name}-3.10.1-sphinx_4.patch -BuildRequires: make BuildRequires: gcc BuildRequires: libtomcrypt-devel +BuildRequires: make BuildRequires: python3-devel -BuildRequires: python3dist(setuptools) # Needed for documentation BuildRequires: python3dist(sphinx) @@ -58,7 +57,6 @@ BuildRequires: python3dist(sphinx) Summary: %{summary} # GMP library is dl-opened Requires: gmp%{?_isa} -%py_provides python3-%{srcname} %description -n python3-%{srcname} %{_description} @@ -67,7 +65,6 @@ Requires: gmp%{?_isa} %package -n python3-%{srcname}-selftest Summary: PyCryptodome test suite module Requires: python3-%{srcname}%{?_isa} -%py_provides python3-%{srcname}-selftest %description -n python3-%{srcname}-selftest %{_description} @@ -87,16 +84,22 @@ touch -r lib/Crypto/SelfTest/__main__.py lib/Crypto/SelfTest/__main__.py.new && mv lib/Crypto/SelfTest/__main__.py.new lib/Crypto/SelfTest/__main__.py +%generate_buildrequires +export PYCRYPTODOME_DEBUG=1 +%pyproject_buildrequires -r + + %build touch .separate_namespace -%py3_build +%pyproject_wheel # Build documentation %make_build -C Doc/ man SPHINXBUILD=sphinx-build %install -%py3_install +%pyproject_install +%pyproject_save_files Cryptodome # Install man pages @@ -107,12 +110,10 @@ install -Dpm 0644 Doc/_build/man/pycryptodome.1 $RPM_BUILD_ROOT%{_mandir}/man1/p PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitearch}/ %{__python3} setup.py test -%files -n python3-%{srcname} +%files -n python3-%{srcname} -f %{pyproject_files} %doc AUTHORS.rst Changelog.rst README.rst %license LICENSE.rst -%{python3_sitearch}/Cryptodome/ %exclude %{python3_sitearch}/Cryptodome/SelfTest/ -%{python3_sitearch}/%{srcname}-*.egg-info/ %{_mandir}/man1/pycryptodome.1.* @@ -121,6 +122,12 @@ PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitearch}/ %{__python3} setup.py test %changelog +* Sat Sep 25 2021 Mohamed El Morabity - 3.10.4-1 +- Update to 3.10.4 + +* Thu Sep 23 2021 Mohamed El Morabity - 3.10.2-1 +- Update to 3.10.2 + * Fri Jul 23 2021 Fedora Release Engineering - 3.10.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 3545a2c..37b28b7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pycryptodomex-3.10.1.tar.gz) = 4c7e7e989d5363064e7e184f6b00a174045e03916cdf1199626afd7fe75eb5efcd13888ecdee607b974e96faad465694b384eb6d91edb8de1d0277ad71888c52 +SHA512 (pycryptodomex-3.10.4.tar.gz) = 1ee2f6c499d7ea73bdeafc94b1e91b45bf888f84ea214a01db180e030b4724264ba05e16241c465484ec13075f5300f6c489229bedb84e54b93e2852906b634f