[packages/openvswitch] - don't restart SysV service but give proper message about it on first install - rel 3

baggins baggins at pld-linux.org
Thu Aug 22 22:04:48 CEST 2013


commit 4eb8d7e819d24406513f1e04f6e7ac4754364dc1
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Aug 22 22:03:50 2013 +0200

    - don't restart SysV service but give proper message about it on first install
    - rel 3

 openvswitch.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/openvswitch.spec b/openvswitch.spec
index acb1a1f..cade365 100644
--- a/openvswitch.spec
+++ b/openvswitch.spec
@@ -23,7 +23,7 @@
 %define		_enable_debug_packages	0
 %endif
 
-%define		rel	2
+%define		rel	3
 %define		pname	openvswitch
 Summary:	Production Quality, Multilayer Open Virtual Switch
 #Summary(pl.UTF-8):	-
@@ -199,6 +199,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/chkconfig --add openvswitch
+%service -n openvswitch restart
 NORESTART=1
 %systemd_post openvswitch.service
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openvswitch.git/commitdiff/4eb8d7e819d24406513f1e04f6e7ac4754364dc1



More information about the pld-cvs-commit mailing list