File infinipath-psm-executable_headers.patch of Package infinipath-psm

From: Philipp Thomas <pth@ssue.de>
Date: 2012-09-13 16:20:09 +02:00
Subject: Strip executable mode from headers
Upstream: submitted

Install headers as normal files.


---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: Makefile
===================================================================
--- Makefile.orig	2014-01-17 14:54:38.418004126 +0100
+++ Makefile	2014-01-17 14:55:35.516686291 +0100
@@ -149,8 +149,8 @@ install: all
 	(cd ${DESTDIR}${INSTALL_LIB_TARG} ; \
 		ln -sf ${TARGLIB}.so.${MAJOR}.${MINOR} ${TARGLIB}.so.${MAJOR} ; \
 		ln -sf ${TARGLIB}.so.${MAJOR} ${TARGLIB}.so)
-	install -D psm.h ${DESTDIR}/usr/include/psm.h
-	install -D psm_mq.h ${DESTDIR}/usr/include/psm_mq.h
+	install -D -m 644 psm.h ${DESTDIR}/usr/include/psm.h
+	install -D -m 644 psm_mq.h ${DESTDIR}/usr/include/psm_mq.h
 
 specfile:
 	sed \
openSUSE Build Service is sponsored by