diff --git a/acpid.changes b/acpid.changes index c59c0ef..df503e4 100644 --- a/acpid.changes +++ b/acpid.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Mar 17 13:23:12 UTC 2019 - Jan Engelhardt + +- Reduce %systemd_requires to %systemd_ordering: + %service_* can deal with its absence. +- Reduce boasting wording in description. + ------------------------------------------------------------------- Wed Mar 6 21:22:04 UTC 2019 - Matthias Eliasson diff --git a/acpid.spec b/acpid.spec index 9240703..35ea269 100644 --- a/acpid.spec +++ b/acpid.spec @@ -35,13 +35,13 @@ Source11: sleep_button # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch1: acpid-makefile.patch BuildRequires: systemd-rpm-macros -%systemd_requires +%systemd_ordering %description -ACPID is a completely flexible, totally extensible daemon for -delivering ACPI events. It listens to a file (/proc/acpi/event) and, -when an event occurs, executes programs to handle the event. The start -script loads all needed modules. +ACPID is a flexible, extensible daemon for delivering ACPI events. It +listens to a file (/proc/acpi/event) and, when an event occurs, +executes programs to handle the event. The start script loads all +needed modules. %prep %setup -q @@ -56,7 +56,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now" make %{?_smp_mflags} %install -make install DESTDIR=%{buildroot} SBINDIR=%{_sbindir} +%make_install BINDIR=%{_sbindir} install -Dm 744 thinkpad_handler %{buildroot}%{_libexecdir}/acpid/thinkpad_handler install -Dm 644 events.thinkpad %{buildroot}%{_sysconfdir}/acpi/events/thinkpad mkdir -p %{buildroot}/%{_unitdir}