rhel: openvswitch.spec.in: fix perms on logrotate and sysconfig.template
authorChris Wright <chrisw@sous-sol.org>
Fri, 9 Dec 2011 07:36:02 +0000 (23:36 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 9 Dec 2011 17:29:48 +0000 (09:29 -0800)
commit537559908e6ea61223d46fa3d49ffa15218eb75e
tree48d1e283b781b96ba9363908d2fdf37fb62fde28
parent81fe12a77582f063f97e75f86b5f10e97dfbcaeb
rhel: openvswitch.spec.in: fix perms on logrotate and sysconfig.template

Fixes rpmlint warning:

 W: spurious-executable-perm /etc/logrotate.d/openvswitch
 W: non-conffile-in-etc /etc/logrotate.d/openvswitch
 E: script-without-shebang /usr/share/openvswitch/scripts/sysconfig.template

Define rhel_cp() shell func and include file mode on install.

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
rhel/openvswitch.spec.in