Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2013-11-22 06:53:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/acpid (Old)
 and      /work/SRC/openSUSE:Factory/.acpid.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "acpid"

Changes:
--------
--- /work/SRC/openSUSE:Factory/acpid/acpid.changes      2013-08-18 
22:43:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2013-11-22 
06:53:43.000000000 +0100
@@ -1,0 +2,6 @@
+Sat Oct 19 15:06:50 UTC 2013 - [email protected]
+
+- Drop sysvinit dupport; acpid doesn't build for distributions which
+  use sysvinit
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ acpid.spec ++++++
--- /var/tmp/diff_new_pack.g7Y1xC/_old  2013-11-22 06:53:44.000000000 +0100
+++ /var/tmp/diff_new_pack.g7Y1xC/_new  2013-11-22 06:53:44.000000000 +0100
@@ -24,7 +24,6 @@
 Group:          System/Daemons
 Url:            http://tedfelix.com/linux/acpid-netlink.html
 Source:         
http://downloads.sourceforge.net/project/acpid2/%{name}-%{version}.tar.xz
-Source2:        rcacpid
 Source3:        README.SuSE
 Source5:        events.power_button
 Source6:        thinkpad_handler
@@ -38,8 +37,6 @@
 Patch1:         acpid-makefile.patch
 BuildRequires:  systemd
 BuildRequires:  xz
-Requires(pre):  %fillup_prereq
-Requires(pre):  %insserv_prereq
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  %ix86 x86_64 ia64
 %systemd_requires
@@ -56,7 +53,7 @@
 %setup -q
 %patch1
 
-cp %{SOURCE2} %{SOURCE3} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE9} 
%{SOURCE10} %{SOURCE11} .
+cp %{SOURCE3} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE9} %{SOURCE10} 
%{SOURCE11} .
 
 %build
 export LDFLAGS="-Wl,-z,relro,-z,now"
@@ -65,13 +62,11 @@
 
 %install
 make install DESTDIR=%{buildroot} SBINDIR=%{_sbindir}
-install -Dm 744 rcacpid %{buildroot}%{_initddir}/acpid
 install -Dm 744 thinkpad_handler 
%{buildroot}%{_prefix}/lib/acpid/thinkpad_handler
-mkdir -p %{buildroot}%{_prefix}/sbin
-ln -sf ../../etc/init.d/acpid %{buildroot}%{_sbindir}/rcacpid
 install -Dm 644 events.thinkpad %{buildroot}%{_sysconfdir}/acpi/events/thinkpad
 mkdir -p %{buildroot}/%{_unitdir}
 install -m 644 %{SOURCE8} %{buildroot}/%{_unitdir}
+ln -sf ../../%{_unitdir}/acpid.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/
@@ -85,16 +80,12 @@
 %service_add_pre acpid.service
 
 %post
-%{fillup_and_insserv -y -f acpid}
 %service_add_post acpid.service
 
 %postun
-%restart_on_update acpid
-%{insserv_cleanup}
 %service_del_postun acpid.service
 
 %preun
-%stop_on_removal acpid
 %service_del_preun acpid.service
 
 %files
@@ -103,7 +94,6 @@
 %dir %{_sysconfdir}/acpi/events
 %{_sysconfdir}/acpi/events/thinkpad
 %{_prefix}/lib/acpid
-%{_sysconfdir}/init.d/acpid
 %_unitdir/%{name}.service
 %{_sbindir}/rcacpid
 %{_sbindir}/acpid

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to