Hello community,

here is the log from the commit of package procmeter for openSUSE:Factory 
checked in at 2019-05-13 14:53:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/procmeter (Old)
 and      /work/SRC/openSUSE:Factory/.procmeter.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "procmeter"

Mon May 13 14:53:05 2019 rev:21 rq:702608 version:3.6+svn409

Changes:
--------
--- /work/SRC/openSUSE:Factory/procmeter/procmeter.changes      2012-03-01 
17:26:18.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.procmeter.new.5148/procmeter.changes    
2019-05-13 14:53:06.287176271 +0200
@@ -1,0 +2,38 @@
+Fri May 10 07:18:41 UTC 2019 - Luigi Baldoni <aloi...@gmx.com>
+
+- Update to latest svn version (3.6+svn409)
+  Bug fixes
+  * Fix compilation warnings reported by gcc-7 (string
+    overflows).
+  * Hide compilation warnings about deprecated GTK-3 API
+    functions.
+  * Fix compilation warnings about Linux kernel 'major' and
+    'minor' macros.
+  Module bug fixes
+  * The df module should now handle very big disks on 32-bit
+    systems.
+  * The battery module should work better if
+    /sys/class/power_supply doesn't exist.
+  * The battery module should work if ACPI records energy rather
+    than charge.
+  * The battery module works correctly if discharge current is
+    negative.
+  * The battery module checks that remaining time using current
+    or energy will work.
+  * The meminfo module handles very long /proc/meminfo (fixes
+    Debian bug #747627).
+  * The netdev module uses 64-bits to record network traffic.
+  * The cpuinfo module doesn't add outputs if the CPUs don't
+    report their speed.
+  * The cpuinfo module now uses /sys/devices/system/cpu/cpufreq
+    not /proc/cpuinfo.
+  * The biff module now handles maildir mailboxes (must set
+    options variable).
+
+- Added _service file
+
+- Added procmeter3-loff_t.patch (courtesy of Debian)
+
+- Spec cleanup
+
+-------------------------------------------------------------------

Old:
----
  procmeter3-3.6.tgz

New:
----
  _service
  procmeter3-3.6+svn409.tar.xz
  procmeter3-loff_t.patch

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

Other differences:
------------------
++++++ procmeter.spec ++++++
--- /var/tmp/diff_new_pack.3D0Tfg/_old  2019-05-13 14:53:06.883177772 +0200
+++ /var/tmp/diff_new_pack.3D0Tfg/_new  2019-05-13 14:53:06.887177782 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package procmeter
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,34 +12,33 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           procmeter
-Version:        3.6
+Version:        3.6+svn409
 Release:        0
 Summary:        Display actual system parameters
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          System/Monitoring
-Url:            http://www.gedanken.demon.co.uk/procmeter3/
-Source:         
http://www.gedanken.demon.co.uk/download-procmeter/%{name}3-%{version}.tgz
+URL:            https://gedanken.org.uk/software/procmeter3
+Source:         procmeter3-%{version}.tar.xz
 Source1:        procmeter3.desktop
+# PATCH-FIX-UPSTREAM procmeter3-loff_t.patch
+Patch0:         procmeter3-loff_t.patch
+BuildRequires:  libsensors4-devel
+BuildRequires:  update-desktop-files
+Provides:       procmtr
+Obsoletes:      procmtr
 %if 0%{?favor_gtk2}
 BuildRequires:  gtk2-devel
 %else
 BuildRequires:  gtk3-devel
 %endif
-BuildRequires:  libsensors4-devel
-%if 0%{?suse_version} > 1210
 BuildRequires:  libX11-devel
 BuildRequires:  libXaw-devel
 BuildRequires:  libXt-devel
-%endif
-BuildRequires:  update-desktop-files
-Provides:       procmtr
-Obsoletes:      procmtr
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 With procmeter one can display various system parameters as e.g.
@@ -58,40 +57,33 @@
 
 %prep
 %setup -q -n procmeter3-%{version}
+%patch0 -p1
 
 %build
-make INSTDIR=%{_prefix} CFLAGS="%{optflags}"
+make %{?_smp_mflags} INSTDIR=%{_prefix} CFLAGS="%{optflags}"
 
 %install
-%makeinstall INSTDIR=%{_prefix}
+%make_install INSTDIR=%{_prefix}
 %suse_update_desktop_file -i procmeter3 System Monitor
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%if 0%{?suse_version} > 1130
-
+%if 0%{?suse_version} < 1500
 %post
 %desktop_database_post
-%endif
-
-%if 0%{?suse_version} > 1130
 
 %postun
 %desktop_database_postun
 %endif
 
 %files
-%defattr(-,root,root)
-%doc ChangeLog COPYING NEWS README
+%license COPYING
+%doc NEWS README
 %{_datadir}/applications/*.desktop
 %{_bindir}/*
 %{_libexecdir}/ProcMeter3/
-%doc %{_mandir}/man?/*
+%{_mandir}/man?/*
 %exclude %{_libexecdir}/ProcMeter3/example/
 
 %files devel
-%defattr(-,root,root)
 %{_includedir}/ProcMeter3/
 %{_libexecdir}/ProcMeter3/example/
 

++++++ _service ++++++
<services>
  <service mode="disabled" name="tar_scm">
    <param name="url">https://gedanken.org.uk/svn/procmeter3/trunk</param>
    <param name="scm">svn</param>
    <param name="versionformat">3.6+svn%r</param>
    <param name="filename">procmeter3</param>
  </service>
  <service mode="disabled" name="recompress">
    <param name="file">*.tar</param>
    <param name="compression">xz</param>
  </service>
  <service mode="disabled" name="set_version" />
</services>


++++++ procmeter3-loff_t.patch ++++++
Description: Fix compilation with newer glibc
Fixes compilation with newer glibc.
If _XOPEN_SOURCE is defined _DEFAULT_SOURCE needs to be defined explicit
to have the definition of loff_t.
Author: Aurelien Jarno <aure...@debian.org>
Bug-Debian: https://bugs.debian.org/916054
Last-Update: 2018-12-21

--- procmeter3-3.6.orig/modules/longrun.c
+++ procmeter3-3.6/modules/longrun.c
@@ -15,6 +15,7 @@
   ***************************************/
 
 #define _XOPEN_SOURCE 500
+#define _DEFAULT_SOURCE
 
 #include <stdio.h>
 #include <stdlib.h>

Reply via email to