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:42:34 +0000 (09:42 -0800)
commita038fa773089b33332bd4d860b9bd4190e0cc573
treefdc247eac449113da1acb7be33996e3a21ff9b3e
parent17872e9e31ce88e14b3023ddab8f76aedb938e14
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