rhel: openvswitch.spec.in installs README as executable
authorChris Wright <chrisw@sous-sol.org>
Fri, 9 Dec 2011 07:36:01 +0000 (23:36 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 9 Dec 2011 17:28:42 +0000 (09:28 -0800)
Fix this rpmlint warning:

 W: spurious-executable-perm /usr/share/doc/openvswitch-1.4.0/README.RHEL

by specifying mode on install.

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

index 14496e7..f9a4e12 100644 (file)
@@ -47,7 +47,7 @@ for base in \
 done
 docdir=$RPM_BUILD_ROOT/usr/share/doc/openvswitch-%{version}
 install -d -m755 "$docdir"
-install rhel/README.RHEL "$docdir"
+install -m 0644 rhel/README.RHEL "$docdir"
 install python/compat/uuid.py $RPM_BUILD_ROOT/usr/share/openvswitch/python
 install python/compat/argparse.py $RPM_BUILD_ROOT/usr/share/openvswitch/python