blktap2/libvhd: fix rpmlint warning spurious-executable-perm
authorOlaf Hering <olaf@aepfle.de>
Thu, 18 Oct 2012 08:35:03 +0000 (09:35 +0100)
committerOlaf Hering <olaf@aepfle.de>
Thu, 18 Oct 2012 08:35:03 +0000 (09:35 +0100)
[ 1758s] xen-devel.x86_64: E: spurious-executable-perm (Badness: 50) /usr/lib64/libvhd.a
[ 1758s] The file is installed with executable permissions, but was identified as one
[ 1758s] that probably should not be executable.  Verify if the executable bits are
[ 1758s] desired, and remove if not. NOTE: example scripts should be packaged under
[ 1758s] %docdir/examples, which will avoid this warning.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/blktap2/vhd/lib/Makefile

index 1acee707bd42856fff609f93108cdf16a1dda296..cdbb86cd16a56c0bbaef300721135bb85a62295a 100644 (file)
@@ -68,7 +68,7 @@ libvhd.so.$(LIBVHD-MAJOR).$(LIBVHD-MINOR): $(LIB-PICOBJS)
 
 install: all
        $(INSTALL_DIR) -p $(DESTDIR)$(INST-DIR)
-       $(INSTALL_PROG) libvhd.a $(DESTDIR)$(INST-DIR)
+       $(INSTALL_DATA) libvhd.a $(DESTDIR)$(INST-DIR)
        $(INSTALL_PROG) libvhd.so.$(LIBVHD-MAJOR).$(LIBVHD-MINOR) $(DESTDIR)$(INST-DIR)
        ln -sf libvhd.so.$(LIBVHD-MAJOR).$(LIBVHD-MINOR) $(DESTDIR)$(INST-DIR)/libvhd.so.$(LIBVHD-MAJOR)
        ln -sf libvhd.so.$(LIBVHD-MAJOR) $(DESTDIR)$(INST-DIR)/libvhd.so