%global pypi_name python-ipmi %global srcname ipmi Name: python-%{srcname} Version: 0.5.5 Release: 2%{?dist} Summary: Pure python IPMI library # Automatically converted from old format: LGPLv2+ - review is highly recommended. License: LicenseRef-Callaway-LGPLv2+ URL: https://github.com/kontron/python-ipmi Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch %?python_enable_dependency_generator BuildRequires: python3-devel BuildRequires: python3dist(markdown) BuildRequires: python3dist(setuptools) %description Pure Python IPMI Library. %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} Pure Python IPMI Library. %prep %autosetup -n %{pypi_name}-%{version} -p1 # Remove bundled egg-info rm -rf %{pypi_name}.egg-info find . -type f -name "*.py" -exec sed -i '/^#![ ]*\/usr\/bin\/env.*$/ d' {} ';' %build %py3_build %install %py3_install %check export PYTHONPATH=$RPM_BUILD_ROOT/%{python3_sitelib} %files -n python3-%{srcname} %doc README.rst %{_bindir}/ipmitool.py %{python3_sitelib}/pyipmi %{python3_sitelib}/*-py%{python3_version}.egg-info %changelog * Wed Sep 04 2024 Miroslav Suchý - 0.5.5-2 - convert license to SPDX * Wed Aug 07 2024 Filipe Rosset - 0.5.5-1 - Update to 0.5.5 fixes rhbz#2301154 rhbz#2267993 rhbz#2276613 rhbz#2291743 * Fri Jul 19 2024 Fedora Release Engineering - 0.5.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 0.5.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.5.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.5.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jul 14 2023 Python Maint - 0.5.4-2 - Rebuilt for Python 3.12 * Wed Mar 08 2023 Luis Bazan - 0.5.4-1 - New upstream version * Fri Jan 20 2023 Fedora Release Engineering - 0.5.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 28 2022 Luis Bazan - 0.5.2-2 - remove tests * Mon Jun 27 2022 Luis Bazan - 0.5.2-1 - New upstream version * Mon Jun 13 2022 Python Maint - 0.5.1-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Aug 03 2021 Luis Bazan - 0.5.1-1 - New upstream version * Fri Jul 23 2021 Fedora Release Engineering - 0.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.5.0-2 - Rebuilt for Python 3.10 * Wed Apr 07 2021 Luis Bazan - 0.5.0-1 - New upstream version * Wed Jan 27 2021 Fedora Release Engineering - 0.4.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.4.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 16 2020 Charalampos Stratakis - 0.4.2-4 - Fix compatibility with Python 3.9 (#1792985) * Tue May 26 2020 Miro Hrončok - 0.4.2-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Dec 23 2019 Luis Bazan - 0.4.2-1 - New upstream version * Thu Oct 03 2019 Miro Hrončok - 0.4.1-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.4.1-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Mar 20 2019 Luis Bazan - 0.4.1-2 - Fix comment #1 BZ #1676987 * Wed Feb 13 2019 Luis Bazan - 0.4.1-1 - Initial package