[packages/thermal-daemon] package sample config

atler atler at pld-linux.org
Mon Jun 29 18:26:58 CEST 2020


commit 22c6fe931a419ae5129a040b7fdcb8d7b30da4da
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Jun 29 18:26:35 2020 +0200

    package sample config

 thermal-daemon.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/thermal-daemon.spec b/thermal-daemon.spec
index bc1895a..22ab883 100644
--- a/thermal-daemon.spec
+++ b/thermal-daemon.spec
@@ -47,6 +47,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+cp -p data/thermal-conf.xml $RPM_BUILD_ROOT/%{_sysconfdir}/thermald
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -63,6 +65,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README.txt
 %dir %{_sysconfdir}/thermald
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/thermald/thermal-conf.xml
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/thermald/thermal-cpu-cdev-order.xml
 %config(noreplace) /etc/dbus-1/system.d/org.freedesktop.thermald.conf
 %attr(755,root,root) %{_sbindir}/thermald
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/thermal-daemon.git/commitdiff/22c6fe931a419ae5129a040b7fdcb8d7b30da4da



More information about the pld-cvs-commit mailing list