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 14496e7ddb06629048256c3858160efe1eb18d6b..f9a4e12a8948277384d6975ccddd108ae1eade9b 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