- do not use systemd macros for non-systemd distributions

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmitool?expand=0&rev=34
This commit is contained in:
Ruediger Oertel 2016-02-24 19:34:51 +00:00 committed by Git OBS Bridge
parent c61de99b36
commit 4bbea4b58e
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 24 20:34:19 CET 2016 - ro@suse.de
- do not use systemd macros for non-systemd distributions
-------------------------------------------------------------------
Wed Oct 14 16:02:43 UTC 2015 - trenn@suse.de

View File

@ -107,6 +107,7 @@ ln -sf %_sbindir/service ${RPM_BUILD_ROOT}%{_sbindir}/rcbmc-snmp-proxy
%clean
rm -rf $RPM_BUILD_ROOT
%if 0%{?suse_version} >= 1210
%pre
%service_add_pre bmc-snmp-proxy.service exchange-bmc-os-info.service ipmievd.service
@ -118,6 +119,7 @@ rm -rf $RPM_BUILD_ROOT
%postun
%service_del_postun bmc-snmp-proxy.service exchange-bmc-os-info.service ipmievd.service
%endif
%files
%defattr(644,root,root)