diff --git a/python-Glances.changes b/python-Glances.changes index 8ea6292..e50164b 100644 --- a/python-Glances.changes +++ b/python-Glances.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Mon Sep 4 03:10:49 UTC 2023 - Steve Kowalik + +- Update to 3.4.0.3: + * Influxdb2 export not working #2407 + * 3.4.0 crash on startupwith minimal deps #2401 + * Enhance process "extended stats" display (in Curses interface) #2225 + * Improve Glances start time by disabling Docker and Podman version getter + * Customizable InfluxDB2 export interval #2348 + * Improve kill signal management #2194 + * Display a critical error message if Glances is ran with both webserver + and rpcserver mode + * Refactor the Cloud plugin, disable it by default in the default + configuration file - Related to #2279 + * Correct clear-text logging of sensitive information (security alert #29) + * Use of a broken or weak cryptographic hashing algorithm (SHA256) on + password storage #2175 + * Correct issue (error message) concerning the Cloud plugin + * InfluxDB2 export doesn't process folders correctly - missing key #2327 + * Index error when displaying programs on MacOS #2360 + * Dissociate 2 sensors with exactly the same names #2280 + * It is not possible to return API data for a particular mount + point (FS plugin) #1162 +- Drop patch remove-shebang.patch, no longer required. +- Switch to pyproject and autosetup macros. + ------------------------------------------------------------------- Thu Jul 6 11:11:15 UTC 2023 - ecsos diff --git a/python-Glances.spec b/python-Glances.spec index bca394c..4eba6ab 100644 --- a/python-Glances.spec +++ b/python-Glances.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-Glances -Version: 3.3.1 +Version: 3.4.0.3 Release: 0 Summary: A cross-platform curses-based monitoring tool License: LGPL-3.0-only @@ -27,22 +27,22 @@ Source: https://github.com/nicolargo/glances/archive/v%{version}.tar.gz Source2: glances.service Source3: glances.firewalld Patch0: adjust-data-files.patch -Patch1: remove-shebang.patch Patch2: skip-online-tests.patch Patch3: fix-tests.patch Patch4: unitest-wait-for-server.patch BuildRequires: %{python_module bottle} BuildRequires: %{python_module defusedxml} -BuildRequires: %{python_module future} +BuildRequires: %{python_module pip} BuildRequires: %{python_module psutil >= 5.3.0} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module ujson} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-bottle Requires: python-defusedxml -Requires: python-future +Requires: python-packaging Requires: python-psutil >= 5.3.0 Requires: python-requests Requires: python-ujson @@ -75,14 +75,13 @@ This packages contains the service file to start a glances server from systemd and a firewalld file to open the default port. %prep -%setup -q -n glances-%{version} -%autopatch -p1 +%autosetup -p1 -n glances-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_mandir}/man1/glances.1 %python_clone -a %{buildroot}%{_bindir}/glances %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -125,7 +124,7 @@ export LANG=en_US.UTF-8 %python_alternative %{_bindir}/glances %python_alternative %{_mandir}/man1/glances.1%{?ext_man} %{python_sitelib}/glances -%{python_sitelib}/Glances-%{version}*-info +%{python_sitelib}/Glances-%{version}.dist-info %exclude %{python_sitelib}/glances/outputs/static/.eslintrc.js %exclude %{python_sitelib}/glances/outputs/static/.gitignore %exclude %{python_sitelib}/glances/outputs/static/.prettierrc.js diff --git a/remove-shebang.patch b/remove-shebang.patch deleted file mode 100644 index 4951057..0000000 --- a/remove-shebang.patch +++ /dev/null @@ -1,9 +0,0 @@ -Index: glances-3.3.1/glances/__main__.py -=================================================================== ---- glances-3.3.1.orig/glances/__main__.py -+++ glances-3.3.1/glances/__main__.py -@@ -1,4 +1,3 @@ --#!/usr/bin/env python - # -*- coding: utf-8 -*- - # - # Glances - An eye on your system diff --git a/v3.3.1.tar.gz b/v3.3.1.tar.gz deleted file mode 100644 index 6544313..0000000 --- a/v3.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ab12ff835b688aecf3295e813085cabef3f92e72ff540e7475773df18e599d5d -size 6198972 diff --git a/v3.4.0.3.tar.gz b/v3.4.0.3.tar.gz new file mode 100644 index 0000000..ce30e32 --- /dev/null +++ b/v3.4.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc66089237b3a6a6cdd1868a296f16d35d97e8229b7efe369430abd140d07eb2 +size 6472143