Skip to content

Commit d4e6e87

Browse files
committed
Fix spurious executable permissions
1 parent f00fca4 commit d4e6e87

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cloudcompare.spec

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,12 @@ rmdir plugins/qHoughNormals/normals_Hough
139139
tar -xf %{SOURCE2}
140140
mv normals_Hough-%{nh_commit} plugins/qHoughNormals/normals_Hough
141141

142+
# fix spurious executable permissions
143+
# https://github.com/aboulch/normals_Hough/pull/5
144+
# https://github.com/CloudCompare/normals_Hough/pull/3
145+
# https://github.com/CloudCompare/CloudCompare/pull/650
146+
find plugins/qHoughNormals '(' -name '*.h' -o -name '*.hpp' ')' -exec chmod -x {} \;
147+
142148
# On 64bits, change /usr/lib/cloudcompare to /usr/lib64/cloudcompare
143149
sed -i 's|lib/%{name}|%{_lib}/%{name}|g' $(grep -r lib/%{name} -l)
144150

0 commit comments

Comments
 (0)