Compare commits

..

No commits in common. "c8" and "imports/c9-beta/thermald-2.5.1-1.el9" have entirely different histories.

2 changed files with 47 additions and 31 deletions

View File

@ -1,15 +0,0 @@
diff --git a/src/main.cpp b/src/main.cpp
index 6e2f5e4..b4b9317 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -51,6 +51,10 @@
#define TD_DIST_VERSION PACKAGE_VERSION
#endif
+#ifndef G_SOURCE_FUNC
+#define G_SOURCE_FUNC(f) ((GSourceFunc) (void (*)(void)) (f))
+#endif
+
#define EXIT_UNSUPPORTED 2
extern int thd_dbus_server_init(gboolean (*exit_handler)(void));

View File

@ -11,13 +11,16 @@ Version: 2.5.1
Release: 1%{?dist}
Summary: Thermal Management daemon
License: GPLv2+
# thd_cdev_modem.{cpp,h} is currently GPLv2 only
# https://github.com/intel/thermal_daemon/issues/306
License: GPLv2
URL: https://github.com/intel/%{pkgname}
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
# No cpuid.h on other arches.
ExclusiveArch: %{ix86} x86_64
BuildRequires: make
BuildRequires: autoconf autoconf-archive
BuildRequires: automake
BuildRequires: dbus-glib-devel
@ -39,8 +42,6 @@ Requires(pre): shadow-utils
# Upstream removed the internal copy of qcustomplot, add it back as we don't have it in RHEL.
# The alternative would be removing the GUI package
Patch9000: qcustomplot.patch
# G_SOURCE_FUNC only exists with GLib >= 2.58
Patch9001: g-source-func.patch
%description
%{name} monitors and controls platform temperature.
@ -59,6 +60,8 @@ BuildRequires: qt5-qtbase-devel
Requires: hicolor-icon-theme
Requires: %{name}%{?_isa} == %{version}-%{release}
Provides: bundled(qcustomplot) = 2.0.0-beta
%description monitor
This package contains an Application to monitor %{name} for system
developers who want to enable application developers and their
@ -250,31 +253,59 @@ exit 0
%changelog
* Mon Dec 19 2022 Bastien Nocera <bnocera@redhat.com> - 2.5.1-1
- Update to 2.5.1
Resolves: rhbz#2114048
Resolves: rhbz#2114049
* Mon Jul 25 2022 Benjamin Berg <bberg@redhat.com> - 2.5-3
- Accept 2.5 as package version
Related: #2040080
Related: #2040081
* Mon Jul 25 2022 Benjamin Berg <bberg@redhat.com> - 2.5-2
- Fix version test script
Related: #2040080
Related: #2040081
* Fri Jul 22 2022 Benjamin Berg <bberg@redhat.com> - 2.5-1
- Update to 2.5
Resolves: #2040080
Resolves: #2040081
* Fri Nov 12 2021 Benjamin Berg <bberg@redhat.com> - 2.4.6-1
- Update to 2.4.6 and newer CPU model support
Resolves: #1999368
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.4.6-2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Dec 10 2020 Benjamin Berg <bberg@redhat.com> - 2.4.1-2
- Fix problems reported by coverity
Related: #1875505
* Thu Jun 10 2021 Benjamin Berg <bberg@redhat.com> - 2.4.6-1
- Update to 2.4.6 (#1965783)
- Update main license to GPLv2 only for now
- Add bundled(qcustomplot) for monitor subpackage
- Resolves: #1961047
* Tue Dec 08 2020 Benjamin Berg <bberg@redhat.com> - 2.4.1-1
- Update to thermald 2.4.1
Resolves: #1875505
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.4.1-4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Feb 02 2021 Benjamin Berg <bberg@redhat.com> - 2.4.1-3
- Add upstream patch fixing parsing of passive targets
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Dec 01 2020 Benjamin Berg <bberg@redhat.com> - 2.4.1-1
- New upstream release (#1903094)
* Thu Nov 26 2020 Benjamin Berg <bberg@redhat.com> - 2.4-1
- New upstream release (#1901810)
Resolves: #1894178
Resolves: #1892534
* Tue Sep 01 2020 Benjamin Berg <bberg@redhat.com> - 2.3-2
- Fix Lenovo kill switch (#1874462)
* Tue Aug 25 2020 Benjamin Berg <bberg@redhat.com> - 2.3-1
- New upstream release 2.3 (rhbz#1866784)
- Add patch to fix printf on non-64 bit
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jun 08 2020 Benjamin Berg <bberg@redhat.com> - 2.2-1
- New upstream release 2.2 (rhbz#1827883)
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild