[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] blktap: Do not install libs or headers with execute permissions.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1179999841 -3600
# Node ID cc60c18247f1ac16010379b5ee4d1378f705bfc4
# Parent  e49b110cbb4afa7186a5d666ac73b44a55584145
blktap: Do not install libs or headers with execute permissions.

rpmlint complains that various blktap files are installed with
unnecessary execute permissions:
E: xen-devel spurious-executable-perm (Badness: 100)
/usr/lib64/libblktap.a
E: xen-devel spurious-executable-perm (Badness: 100)
/usr/include/blktaplib.h

Signed-off-by: Charles Coffing <ccoffing@xxxxxxxxxx>
---
 tools/blktap/lib/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r e49b110cbb4a -r cc60c18247f1 tools/blktap/lib/Makefile
--- a/tools/blktap/lib/Makefile Thu May 24 10:39:28 2007 +0100
+++ b/tools/blktap/lib/Makefile Thu May 24 10:44:01 2007 +0100
@@ -42,10 +42,10 @@ install: all
 install: all
        $(INSTALL_DIR) $(DESTDIR)/usr/$(LIBDIR)
        $(INSTALL_DIR) $(DESTDIR)/usr/include
-       $(INSTALL_PROG) $(LIB) $(DESTDIR)/usr/$(LIBDIR)
+       $(INSTALL_DATA) $(LIB) $(DESTDIR)/usr/$(LIBDIR)
        ln -sf libblktap.so.$(MAJOR).$(MINOR) 
$(DESTDIR)/usr/$(LIBDIR)/libblktap.so.$(MAJOR)
        ln -sf libblktap.so.$(MAJOR) $(DESTDIR)/usr/$(LIBDIR)/libblktap.so
-       $(INSTALL_PROG) blktaplib.h $(DESTDIR)/usr/include
+       $(INSTALL_DATA) blktaplib.h $(DESTDIR)/usr/include
 
 clean:
        rm -rf *.a *.so* *.o *.rpm $(LIB) *~ $(DEPS) xen TAGS

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.