diff --git a/.gitignore b/.gitignore index 3c82235..18ae020 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/python-hpilo-4.3.tar.gz +/python-hpilo-*.tar.gz diff --git a/python-hpilo.spec b/python-hpilo.spec index c482d81..30a3b0e 100644 --- a/python-hpilo.spec +++ b/python-hpilo.spec @@ -1,34 +1,38 @@ %global srcname hpilo +%global desc %{expand: \ +HP iLO XML interface access from Python (Python 3) +This module will make it easy for you to access the Integrated Lights Out +management interface of your HP hardware. It supports RILOE II, iLO, iLO 2, iLO +3 and iLO 4. It uses the XML interface or hponcfg to access and change the iLO.} Name: python-%{srcname} -Version: 4.3 -Release: 13%{?dist} -Summary: iLO automation from python or shell +Version: 4.4.3 +Release: 1%{?dist} +Summary: Accessing the HP iLO XML interface from python License: ASL 2.0 or GPLv3+ URL: https://github.com/seveas/python-hpilo -Source: %{pypi_source %{name}} +Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch -%global _description \ -%{summary}. +BuildRequires: python3-case +BuildRequires: python3-devel +BuildRequires: python3-pytest +BuildRequires: python3-sphinx +BuildRequires: python3-sphinx_rtd_theme -%description %{_description} +%description +%{_desc} %package -n python3-%{srcname} Summary: %{summary} -%{?python_provide:%python_provide python3-%{srcname}} -BuildRequires: python3-devel - -%description -n python3-%{srcname} %{_description} -Python 3 version. +%description -n python3-%{srcname} %{desc} +%{desc} %package doc Summary: Documentation for %{name} -BuildRequires: python3-sphinx -BuildRequires: python3-sphinx_rtd_theme %description doc %{summary}. @@ -36,29 +40,38 @@ BuildRequires: python3-sphinx_rtd_theme %prep %autosetup +%generate_buildrequires +%pyproject_buildrequires + %build -%py3_build +%pyproject_wheel + sphinx-build -b html docs html # remove the sphinx-build leftovers rm -rf html/.{doctrees,buildinfo} +# remove version-control-internal-file +rm examples/elasticsearch/.gitignore %install -%py3_install +%pyproject_install +%pyproject_save_files hpilo hpilo_fw -%files -n python3-%{srcname} -%license COPYING +%check +# https://github.com/seveas/python-hpilo/issues/272 +# pytest -v + +%files -n python3-%{srcname} -f %{pyproject_files} %doc README.md CHANGES examples ilo.conf.example %{_bindir}/hpilo_cli -%{python3_sitelib}/hpilo.py -%{python3_sitelib}/hpilo_fw.py -%{python3_sitelib}/__pycache__/hpilo* -%{python3_sitelib}/python_hpilo-*.egg-info %files doc %license COPYING %doc html %changelog +* Tue Sep 06 2022 Ali Erdinc Koroglu - 4.4.3-1 +- Update to 4.4.3 (RHBZ #1885695) + * Fri Jul 22 2022 Fedora Release Engineering - 4.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 21a213b..a426fb6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-hpilo-4.3.tar.gz) = 1dd89c032eb19c96075b8ea96c8a7efbed968e555547316131e933eccd73109f93ef95f51b4e5fb9a9eba18e0db2f2e7393ea25338906574512dca85c1293a53 +SHA512 (python-hpilo-4.4.3.tar.gz) = a5618e20e95f2a584fb2c5a5e82274cc2492a8773eb5d5da9428057d964a42c8c09ebfda8c30129fdb232cca33ae6b8a59cf65faee643a5cb7e69861348ad6f6