Blame SOURCES/0001-avoid-executable-flag-on-installed-header-files.patch

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