Accepting request 234870 from home:jsegitz:branches:network
- ensure proper handling of .service files with %service_add_pre OBS-URL: https://build.opensuse.org/request/show/234870 OBS-URL: https://build.opensuse.org/package/show/network/ddclient?expand=0&rev=33
This commit is contained in:
parent
b45bc4d266
commit
0e5585bd54
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 20 14:29:35 UTC 2014 - jsegitz@novell.com
|
||||
|
||||
- ensure proper handling of .service files with %service_add_pre
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 31 17:02:59 UTC 2013 - benoit.monin@gmx.fr
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ddclient
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -88,6 +88,11 @@ mv sample-* examples
|
||||
%{__install} -m 644 %{SOURCE2} %{buildroot}/var/adm/fillup-templates/sysconfig.%{name}
|
||||
%{__install} -d -m 755 %{buildroot}/var/cache/%{name}
|
||||
|
||||
%pre
|
||||
%if 0%{?suse_version} >=1230
|
||||
%service_add_pre %{name}.service
|
||||
%endif
|
||||
|
||||
%post
|
||||
%{fillup_only}
|
||||
%if 0%{?suse_version} >=1230
|
||||
|
Loading…
x
Reference in New Issue
Block a user