Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gsmartcontrol for openSUSE:Factory checked in at 2025-03-14 23:52:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gsmartcontrol (Old) and /work/SRC/openSUSE:Factory/.gsmartcontrol.new.19136 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gsmartcontrol" Fri Mar 14 23:52:48 2025 rev:9 rq:1253126 version:2.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/gsmartcontrol/gsmartcontrol.changes 2022-08-11 18:32:41.570255373 +0200 +++ /work/SRC/openSUSE:Factory/.gsmartcontrol.new.19136/gsmartcontrol.changes 2025-03-14 23:53:42.680677498 +0100 @@ -1,0 +2,37 @@ +Fri Mar 14 15:11:15 UTC 2025 - ecsos <[email protected]> + +- Update to 2.0.2 + - Support GCC 11 (and Ubuntu 22.04) by using and vendoring fmt library (#77). + - Support an option of saving smartctl output to text instead of JSON (#76). + - Restored pre-2.0.0 runtime support for smartctl < 7.3 (based on Text parser); + this is an unsupported, old method without NVMe, provided for compatibility only (#77). + - Restored pre-2.0.0 support for standard (non-extended) self-test log found in very old ATA drives; + the new JSON parser did not support this previously (#79). + - Better support for temperature values in JSON parser; this fixes unreasonably large temperature values (#78). + - Add a tooltip explaining self-test "lifetime hours" wrapping behavior (#73). + - Windows: Fixed a crash on Windows 7 when opening drive information by using Windows 7-compatible librsvg (#71). + - Windows: Avoid using non-integer font sizes. +- Changes from 2.0.1 + - Windows: Fixed a crash when saving or opening smartctl data. +- Changes from 2.0.0 + - New JSON-based parser for smartctl output (requires smartctl 7.3+) (#4). + - Support for NVMe drives (self-tests require smartctl 7.4+) (#4). + - New "Basic" JSON parser for SCSI, flash, and other non-ATA/NVMe drives. + - PCRE library is no longer required (the code has been ported to std::regex) (#40). + - A lot of code has been refactored and modernized using C++17 and C++20 features, removing much of the custom library code. + - The build process requires a C++20-compliant compiler now (GCC 13+, Clang 17+, Apple Clang 15+). + - CMake (3.14+) is now used as a build system instead of autotools. + - GSmartControl is now licensed under GNU GPL 3 only. + - Icons come from Oxygen project now (LGPL 3+) instead of Crystal project. + - Documentation in md format comes with the source code ("docs" directory). + - Support new versions and prereleases of smartctl (#46, #42). + - Better detection of drive types thanks to the JSON parser. + - Removed ATA AODC feature, it has been deprecated for a while now. + - Information window: Some values are aligned and monospaced to improve readability. + - Fixed command execution popup dialog being on top of all windows (#17). + - Other minor UI improvements and fixes. + - Windows: Better support for HiDPI (including fractional scaling). + - Windows: NSIS package is generated by CPack now. + - Windows: Packages are built using GitHub CI now. + +------------------------------------------------------------------- Old: ---- gsmartcontrol-1.1.4.tar.bz2 New: ---- gsmartcontrol-2.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gsmartcontrol.spec ++++++ --- /var/tmp/diff_new_pack.yiBchP/_old 2025-03-14 23:53:43.160697467 +0100 +++ /var/tmp/diff_new_pack.yiBchP/_new 2025-03-14 23:53:43.160697467 +0100 @@ -1,7 +1,7 @@ # # spec file for package gsmartcontrol # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,16 +17,24 @@ Name: gsmartcontrol -Version: 1.1.4 +Version: 2.0.2 Release: 0 Summary: Hard Disk Health Inspection Tool License: GPL-2.0-only OR GPL-3.0-only Group: Hardware/Other URL: http://gsmartcontrol.sourceforge.net/ -Source0: http://downloads.sourceforge.net/%{name}/%{version}/%{name}-%{version}.tar.bz2 +#Source0: http://downloads.sourceforge.net/%%{name}/%%{version}/%%{name}-%%{version}.tar.bz2 +Source0: https://github.com/ashaduri/gsmartcontrol/archive/v%{version}/%{name}-%{version}.tar.gz Source1: %{name}-rpmlintrc +BuildRequires: cmake >= 3.14 BuildRequires: fdupes +%if 0%{?suse_version} < 1600 +BuildRequires: gcc13 +BuildRequires: gcc13-c++ +%else +BuildRequires: gcc BuildRequires: gcc-c++ +%endif BuildRequires: hicolor-icon-theme BuildRequires: libstdc++-devel BuildRequires: pkgconfig @@ -47,30 +55,23 @@ %prep %setup -q -#rpmlintrc -sed -i -e 's|\/usr\/bin\/env bash|\/usr\/bin\/bash|g' data/gsmartcontrol-root.in %build -%configure --docdir=%{_defaultdocdir}/%{name} --enable-optimize-options=auto -%make_build +%if 0%{?suse_version} < 1600 +export CC=gcc-13 +export CXX=g++-13 +%endif +%cmake .. -DCMAKE_BUILD_TYPE=Release %install -%make_install +%cmake_install %suse_update_desktop_file %{name} %fdupes -s %{buildroot}%{_prefix} -rm %{buildroot}%{_defaultdocdir}/%{name}/LICENSE_*.txt - -%post -%desktop_database_post -%icon_theme_cache_post - -%postun -%desktop_database_postun -%icon_theme_cache_postun %files +%doc README.md %doc %{_defaultdocdir}/%{name} -%license COPYING LICENSE_*.txt +%license LICENSE.txt LICENSE.LGPL3.txt dependencies/*/*/LICENSE.* %{_sbindir}/%{name} %{_bindir}/%{name}-root %{_mandir}/man1/%{name}.1%{?ext_man} @@ -80,7 +81,5 @@ %dir %{_datadir}/metainfo %{_datadir}/metainfo/%{name}.appdata.xml %{_datadir}/icons/hicolor/*/apps/%{name}.png -%{_datadir}/pixmaps/%{name}.png -%{_datadir}/pixmaps/%{name}.xpm %{_datadir}/polkit-1/actions/org.gsmartcontrol.policy
