Name: python-pycryptodome Version: 3.22.0 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: Cryptographic library for Python # No license information obtained, it's up to the packager to fill it in License: BSD-2-Clause URL: https://github.com/Legrandin/pycryptodome/ Source: %{pypi_source pycryptodome} BuildRequires: python3-devel BuildRequires: gcc # Fill in the actual package description to submit package to Fedora %global _description %{expand: PyCryptodome is a self-contained Python package of low-level cryptographic primitives.} %description %_description %package -n python3-pycryptodome Summary: %{summary} %description -n python3-pycryptodome %_description %prep %autosetup -p1 -n pycryptodome-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install # Add top-level Python module names here as arguments, you can use globs %pyproject_save_files Crypto %check %pyproject_check_import %files -n python3-pycryptodome -f %{pyproject_files} %changelog %autochangelog