Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2023-04-13 16:19:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/acpid (Old)
 and      /work/SRC/openSUSE:Factory/.acpid.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "acpid"

Thu Apr 13 16:19:37 2023 rev:88 rq:1079217 version:2.0.34

Changes:
--------
--- /work/SRC/openSUSE:Factory/acpid/acpid.changes      2022-11-16 
15:43:12.987799785 +0100
+++ /work/SRC/openSUSE:Factory/.acpid.new.19717/acpid.changes   2023-04-13 
16:19:38.336557766 +0200
@@ -1,0 +2,8 @@
+Sun Apr  9 10:14:44 UTC 2023 - Stefan Seyfried <seife+...@b1-systems.com>
+
+- do not ship thinkpad_handler script or config, it's broken since
+  libexecdir changed and nobody noticed, most likely it's not doing
+  anything on recent thinkpads, put it into the examples instead
+- fix file timestamps to not change with every rebuild
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ acpid.spec ++++++
--- /var/tmp/diff_new_pack.xdhfnh/_old  2023-04-13 16:19:38.916561094 +0200
+++ /var/tmp/diff_new_pack.xdhfnh/_new  2023-04-13 16:19:38.920561117 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package acpid
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -47,7 +47,15 @@
 %setup -q
 %patch1
 
-cp %{SOURCE3} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE9} %{SOURCE10} 
%{SOURCE11} .
+cp -p %{SOURCE3} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE9} %{SOURCE10} 
%{SOURCE11} .
+# libexecdir is different in factory that in 15.x
+for i in events.*; do
+  if ! grep -q 'action=%{_libexecdir}' $i; then
+    sed -i.orig -e 's@action=/usr/lib/@action=%{_libexecdir}/@' $i
+    touch -r $i.orig $i
+    rm $i.orig
+  fi
+done
 
 %build
 export CFLAGS="%{optflags}"
@@ -57,14 +65,14 @@
 
 %install
 %make_install BINDIR=%{_sbindir}
-install -Dm 744 thinkpad_handler 
%{buildroot}%{_libexecdir}/acpid/thinkpad_handler
-install -Dm 644 events.thinkpad %{buildroot}%{_sysconfdir}/acpi/events/thinkpad
+install -dm 755 %{buildroot}%{_libexecdir}/acpid/
+install -dm 755 %{buildroot}%{_sysconfdir}/acpi/events
 mkdir -p %{buildroot}/%{_unitdir}
 install -m 644 %{SOURCE8} %{buildroot}/%{_unitdir}
 ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcacpid
 
 # formerly installed, but no longer useful with systemd. Keep as documentation.
-cp -p events.power_button events.sleep_button power_button sleep_button 
samples/
+cp -p events.power_button events.sleep_button events.thinkpad power_button 
sleep_button thinkpad_handler samples/
 # for the rpmlint fascists
 mv samples examples
 # keep the logfile
@@ -86,8 +94,7 @@
 %files
 %dir %{_sysconfdir}/acpi
 %dir %{_sysconfdir}/acpi/events
-%{_sysconfdir}/acpi/events/thinkpad
-%{_libexecdir}/acpid
+%dir %{_libexecdir}/acpid
 %{_unitdir}/%{name}.service
 %{_sbindir}/rcacpid
 %{_sbindir}/acpid

Reply via email to