Accepting request 685784 from home:jengelh:sct

- Reduce %systemd_requires to %systemd_ordering:
  %service_* can deal with its absence.
- Reduce boasting wording in description.

OBS-URL: https://build.opensuse.org/request/show/685784
OBS-URL: https://build.opensuse.org/package/show/Base:System/acpid?expand=0&rev=94
This commit is contained in:
Dirk Mueller 2019-03-18 09:01:39 +00:00 committed by Git OBS Bridge
parent 53ec0c07b1
commit 7a15721b5a
2 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Mar 17 13:23:12 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- 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 <elimat@opensuse.org> Wed Mar 6 21:22:04 UTC 2019 - Matthias Eliasson <elimat@opensuse.org>

View File

@ -35,13 +35,13 @@ Source11: sleep_button
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch1: acpid-makefile.patch Patch1: acpid-makefile.patch
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
%systemd_requires %systemd_ordering
%description %description
ACPID is a completely flexible, totally extensible daemon for ACPID is a flexible, extensible daemon for delivering ACPI events. It
delivering ACPI events. It listens to a file (/proc/acpi/event) and, listens to a file (/proc/acpi/event) and, when an event occurs,
when an event occurs, executes programs to handle the event. The start executes programs to handle the event. The start script loads all
script loads all needed modules. needed modules.
%prep %prep
%setup -q %setup -q
@ -56,7 +56,7 @@ export LDFLAGS="-Wl,-z,relro,-z,now"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make install DESTDIR=%{buildroot} SBINDIR=%{_sbindir} %make_install BINDIR=%{_sbindir}
install -Dm 744 thinkpad_handler %{buildroot}%{_libexecdir}/acpid/thinkpad_handler install -Dm 744 thinkpad_handler %{buildroot}%{_libexecdir}/acpid/thinkpad_handler
install -Dm 644 events.thinkpad %{buildroot}%{_sysconfdir}/acpi/events/thinkpad install -Dm 644 events.thinkpad %{buildroot}%{_sysconfdir}/acpi/events/thinkpad
mkdir -p %{buildroot}/%{_unitdir} mkdir -p %{buildroot}/%{_unitdir}