Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Glances for openSUSE:Factory 
checked in at 2021-07-17 23:36:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Glances (Old)
 and      /work/SRC/openSUSE:Factory/.python-Glances.new.2632 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Glances"

Sat Jul 17 23:36:48 2021 rev:14 rq:906823 version:3.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Glances/python-Glances.changes    
2021-04-12 12:40:20.925577419 +0200
+++ /work/SRC/openSUSE:Factory/.python-Glances.new.2632/python-Glances.changes  
2021-07-17 23:37:26.325599687 +0200
@@ -1,0 +2,67 @@
+Tue Jul 13 11:43:41 UTC 2021 - Antonio Larrosa <alarr...@suse.com>
+
+- Add a new glances-common package that contains a service file
+  to start the glances server from systemd and a firewalld service
+  file so the default port can be easily opened in the firewall.
+
+-------------------------------------------------------------------
+Tue Jul 13 11:04:02 UTC 2021 - Antonio Larrosa <alarr...@suse.com>
+
+- Update to 3.2.1
+  * Missing network data in influxdb export
+
+- Update to 3.2.0
+  * Enhancement and development requests:
+    * Improve CPU consumption
+      - Make the refresh rate configurable per plugin #1870
+      - Add caching for processing username and cmdline
+      - Correct and improve refresh time method
+      - Set refresh rate for global CPU percent
+      - Set the dafault refresh rate of system stats to 60 seconds
+      - Default refresh time for sensors is refresh rate * 2
+      - Improve history perf
+      - Change main curses loop
+      - Improve Docker client connection
+      - Update Flame profiling
+    * Get system sensors temperatures thresholds #1864
+    * Filter data exported from Docker plugin
+    * Make the Docker API connection timeout configurable
+    * Add --issue to Github issue template
+    * Add release-note in the Makefile
+    * Add some comments in cpu_percent
+    * Add some comments to the processlist.py
+    * Set minimal version for PSUtil to 5.3.0
+    * Add comment to default glances.conf file
+    * Improve code quality #820
+    * Update WebUI for security vuln
+  * Bugs corrected:
+    * Quit from help should return to main screen, not exit #1874
+    * AttributeError: 'NoneType' object has no attribute 'current'
+      #1875
+    * Merge pull request #1873 from metayan/fix-history-add
+    * Correct filter
+    * Correct Flake8 issue in plugins
+    * Spelling correction in docs #1886
+    * Starting an alias with a number causes a crash #1885
+    * Network interfaces not applying in web UI #1884
+    * Docker containers information missing with Docker 20.10.x
+      #1878
+    * Get system sensors temperatures thresholds #1864
+
+- Changes from 3.1.7
+  * Enhancements and bug corrected:
+    * Security audit - B411 #1025
+    * PU temperature not shown in webview #1849
+    * Remove shell=True for actions (following Bandit issue report)
+      #1851
+    * eplace Travis by Github action #1850 (by nicolargo)
+    * /api/3/processlist/pid/3936'use this api can't get right
+       info,all messy code #1828
+    * efactor the way importants stats are displayed #1826
+    * e-apply the Add hide option to sensors plugin #1596
+    * mart plugin error while start glances as root #1806
+    * lugin quicklook takes more than one seconds to update #1820
+    * eplace Pystache by Chevron 2/2 See #1817
+    * oc. No SMART screenshot. #1799
+
+-------------------------------------------------------------------

Old:
----
  v3.1.6.2.tar.gz

New:
----
  glances.firewalld
  glances.service
  v3.2.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Glances.spec ++++++
--- /var/tmp/diff_new_pack.uT7p6w/_old  2021-07-17 23:37:26.809595955 +0200
+++ /var/tmp/diff_new_pack.uT7p6w/_new  2021-07-17 23:37:26.809595955 +0200
@@ -19,27 +19,31 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
 Name:           python-Glances
-Version:        3.1.6.2
+Version:        3.2.1
 Release:        0
 Summary:        A cross-platform curses-based monitoring tool
 License:        LGPL-3.0-only
 URL:            https://github.com/nicolargo/glances
 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 psutil >= 5.6.3}
+BuildRequires:  %{python_module psutil >= 5.3.0}
 BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-bottle
+Requires:       python-defusedxml
 Requires:       python-future
-Requires:       python-psutil >= 5.6.3
+Requires:       python-psutil >= 5.3.0
 Requires:       python-requests
 Requires(post): update-alternatives
 Requires(postun):update-alternatives
@@ -56,6 +60,19 @@
 based interface. The information dynamically adapts depending on the
 size of the user interface.
 
+%package -n glances-common
+Summary:        Service and firewalld files for glances
+Requires:       glances
+
+%description -n glances-common
+Glances is a cross-platform monitoring tool which presents a
+large amount of monitoring information through a curses or Web
+based interface. The information dynamically adapts depending on the
+size of the user interface.
+
+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
@@ -69,6 +86,14 @@
 %python_clone -a %{buildroot}%{_bindir}/glances
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+mkdir -p %{buildroot}%{_sbindir}
+ln -sf service %{buildroot}%{_sbindir}/rcglances
+mkdir -p %{buildroot}%{_unitdir}
+install -D -m 644 %{SOURCE2} %{buildroot}%{_unitdir}/
+
+mkdir -p %{buildroot}%{_prefix}/lib/firewalld/services
+install -D -m 644 %{SOURCE3} 
%{buildroot}%{_prefix}/lib/firewalld/services/glances.xml
+
 %check
 export LANG=en_US.UTF-8
 %python_exec unitest.py
@@ -81,6 +106,18 @@
 %postun
 %python_uninstall_alternative glances
 
+%pre -n glances-common
+%service_add_pre glances.service
+
+%post -n glances-common
+%service_add_post glances.service
+
+%preun -n glances-common
+%service_del_preun glances.service
+
+%postun -n glances-common
+%service_del_postun glances.service
+
 %files %{python_files}
 %license COPYING
 %doc NEWS.rst README.rst
@@ -88,4 +125,11 @@
 %python_alternative %{_mandir}/man1/glances.1%{?ext_man}
 %{python_sitelib}/*
 
+%files -n glances-common
+%dir %{_prefix}/lib/firewalld
+%dir %{_prefix}/lib/firewalld/services
+%{_prefix}/lib/firewalld/services/glances.xml
+%{_unitdir}/glances.service
+%{_sbindir}/rcglances
+
 %changelog

++++++ glances.firewalld ++++++
<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>glances</short>
  <description>Glances system monitor web service</description>
  <port protocol="tcp" port="61208"/>
</service>

++++++ glances.service ++++++
[Unit]
Description=Glances
After=network.target

[Service]
ExecStart=/usr/bin/glances -w
Restart=on-abort
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target
++++++ v3.1.6.2.tar.gz -> v3.2.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-Glances/v3.1.6.2.tar.gz 
/work/SRC/openSUSE:Factory/.python-Glances.new.2632/v3.2.1.tar.gz differ: char 
16, line 1

Reply via email to