%{!?_licensedir: %global license %%doc} %global modname blowfish %global sum Fast, efficient Blowfish cipher implementation in pure Python (3.4+) Name: python-blowfish Version: 0.6.1 Release: 0.27%{?dist} Summary: %{sum} License: GPL-3.0-or-later URL: http://pypi.python.org/pypi/blowfish Source0: https://files.pythonhosted.org/packages/source/b/%{modname}/%{modname}-%{version}.tar.bz2 BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-wheel %description %{sum}. %package -n python3-%{modname} Summary: %{sum} %{?python_provide:%python_provide python3-%{modname}} %description -n python3-%{modname} %{sum}. %prep %autosetup -n %{modname}-%{version} %build %if 0%{?rhel} && 0%{?rhel} <= 8 %py3_build %else %pyproject_wheel %endif %install %if 0%{?rhel} && 0%{?rhel} <= 8 %py3_install %else %pyproject_install %endif %check %{__python3} -m unittest test.py %files -n python3-%{modname} %doc README.rst %license LICENSE %{python3_sitelib}/%{modname}* %{python3_sitelib}/__pycache__/* %changelog * Sun Nov 24 2024 Reto Gantenbein 0.6.1-0.27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Feb 21 2024 Reto Gantenbein - Adjust Fedora package to build with EPEL * Fri Jan 26 2024 Fedora Release Engineering - 0.6.1-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.6.1-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.6.1-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.6.1-23 - Rebuilt for Python 3.12 * Fri Mar 03 2023 Gwyn Ciesla - 0.6.1-22 - migrated to SPDX license * Fri Jan 20 2023 Fedora Release Engineering - 0.6.1-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.6.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.6.1-19 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.6.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.6.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.6.1-16 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.6.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.6.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.6.1-13 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.6.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.6.1-11 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.6.1-10 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.6.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.6.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.6.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.6.1-6 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.6.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.6.1-2 - Rebuild for Python 3.6 * Thu Jul 28 2016 Jon Ciesla - 0.6.1-1 - Intial build.