Name: python3-binary Version: 1.0.0 Release: 2%{?dist} Summary: Library to convert between binary and SI units License: Apache-2.0 OR MIT Group: Development/Languages/Python Url: https://github.com/ofek/binary Vendor: VMware, Inc. Distribution: Photon Source0: https://files.pythonhosted.org/packages/source/b/binary/binary-%{version}.tar.gz %define sha512 binary=474ba683ecd8864fa50fdf4e2533947460449241abf34b15199a1b478e6e9a4ad56c888b6bf54c05be2936c32f7fa8d783004fc0466c3458433e0dc3e8ee711f BuildRequires: python3-devel BuildRequires: python3-setuptools %if %{with_check} BuildRequires: python3-pytest BuildRequires: python3-pip BuildRequires: python3-six BuildRequires: python3-attrs %endif Requires: python3 BuildArch: noarch %description Binary provides a bug-free and easy way to convert between and within binary (IEC) and decimal (SI) units. %prep %autosetup -n binary-%{version} %build %py3_build %install %py3_install %check pip3 install pluggy atomicwrites more_itertools python3 -m pytest tests %files %defattr(-,root,root,-) %{python3_sitelib}/* %changelog * Mon Oct 31 2022 Prashant S Chauhan 1.0.0-2 - Update release to compile with python 3.11 * Tue Sep 06 2022 Prashant S Chauhan 1.0.0-1 - Initial Build