From 2a39086d7bc5b95fa691a33f19da8338e9e8fe00 Mon Sep 17 00:00:00 2001
From: Michal Schmidt <mschmidt@redhat.com>
Date: Wed, 12 Aug 2015 14:23:32 +0200
Subject: [PATCH] avoid executable flag on installed header files
---
Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 63686c6f30..92e4295740 100644
--- a/Makefile
+++ b/Makefile
@@ -152,9 +152,9 @@ install: all
ln -sf ${TARGLIB}.so.${MAJOR}.${MINOR} ${COMPATLIB}.so ; \
ln -sf ${TARGLIB}.so.${MAJOR}.${MINOR} ${TARGLIB}.so.${MAJOR} ; \
ln -sf ${TARGLIB}.so.${MAJOR} ${TARGLIB}.so)
- install -D psm2.h ${DESTDIR}/usr/include/psm2.h
- install -D psm2_mq.h ${DESTDIR}/usr/include/psm2_mq.h
- install -D psm2_am.h ${DESTDIR}/usr/include/psm2_am.h
+ install -m 0644 -D psm2.h ${DESTDIR}/usr/include/psm2.h
+ install -m 0644 -D psm2_mq.h ${DESTDIR}/usr/include/psm2_mq.h
+ install -m 0644 -D psm2_am.h ${DESTDIR}/usr/include/psm2_am.h
(cd ${DESTDIR}/usr/include ; \
ln -sf psm2.h psm.h ; \
ln -sf psm2_mq.h psm_mq.h ; \
--
2.4.3