forked from pool/powerman
Accepting request 601041 from home:eeich:branches:hardware
- For SLE-12 set user/group to daemon/root for backward compatibility. - Minor specfile cosmetics: * Simplified the entry for %{_sysconfdir}/powerman. OBS-URL: https://build.opensuse.org/request/show/601041 OBS-URL: https://build.opensuse.org/package/show/hardware/powerman?expand=0&rev=39
This commit is contained in:
parent
e476545775
commit
3ed1f41ff2
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 25 09:48:37 UTC 2018 - eich@suse.com
|
||||||
|
|
||||||
|
- For SLE-12 set user/group to daemon/root for backward
|
||||||
|
compatibility.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 15 13:22:50 UTC 2017 - eich@suse.com
|
||||||
|
|
||||||
|
- Minor specfile cosmetics:
|
||||||
|
* Simplified the entry for %{_sysconfdir}/powerman.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 11 19:47:51 UTC 2017 - eich@suse.com
|
Fri Aug 11 19:47:51 UTC 2017 - eich@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package powerman
|
# spec file for package powerman
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -21,8 +21,13 @@
|
|||||||
%define _with_tcp_wrappers 1
|
%define _with_tcp_wrappers 1
|
||||||
%undefine _with_genders
|
%undefine _with_genders
|
||||||
|
|
||||||
|
%if 0%{?suse_version} >= 1500
|
||||||
%define powerman_g %name
|
%define powerman_g %name
|
||||||
%define powerman_u %name
|
%define powerman_u %name
|
||||||
|
%else
|
||||||
|
%define powerman_g daemon
|
||||||
|
%define powerman_u root
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: powerman
|
Name: powerman
|
||||||
Version: 2.3.24
|
Version: 2.3.24
|
||||||
@ -127,10 +132,8 @@ systemd-tmpfiles --create %{_tmpfilesdir}/powerman.conf
|
|||||||
%{_mandir}/man?/*.*
|
%{_mandir}/man?/*.*
|
||||||
%exclude %{_mandir}/man3/*.*
|
%exclude %{_mandir}/man3/*.*
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%dir %{_sysconfdir}/powerman
|
%config %{_sysconfdir}/powerman/
|
||||||
%attr(0644,root,root) %{_unitdir}/%{name}.service
|
%attr(0644,root,root) %{_unitdir}/%{name}.service
|
||||||
%config %{_sysconfdir}/powerman/powerman.conf
|
|
||||||
%config %{_sysconfdir}/powerman/*.dev
|
|
||||||
%{_tmpfilesdir}/powerman.conf
|
%{_tmpfilesdir}/powerman.conf
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
Loading…
Reference in New Issue
Block a user