WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] remove unnecessary execute perms

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] remove unnecessary execute perms
From: "Charles Coffing" <ccoffing@xxxxxxxxxx>
Date: Tue, 22 May 2007 16:09:45 -0400
Delivery-date: Tue, 22 May 2007 13:08:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

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

The patch below fixes the problem.  It applies against xen-unstable.

Thank you.
Signed-off-by: Charles Coffing <ccoffing@xxxxxxxxxx>


diff -ru xen-unstable.hg/tools/blktap/lib/Makefile 
xen-unstable/tools/blktap/lib/Makefile
--- xen-unstable.hg~/tools/blktap/lib/Makefile  2007-03-12 09:01:04.000000000 
-0600
+++ xen-unstable.hg/tools/blktap/lib/Makefile   2007-05-22 14:01:46.000000000 
-0600
@@ -42,10 +42,10 @@
 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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] remove unnecessary execute perms, Charles Coffing <=