From 219c8795d3b44996f45ebfb0af26634c4e5cc1d8 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sun, 19 Mar 2023 11:26:55 +0100 Subject: [PATCH] python3-cairo: Fix header permissions Signed-off-by: Stefan Schantl --- python3-cairo/python3-cairo.nm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python3-cairo/python3-cairo.nm b/python3-cairo/python3-cairo.nm index 88fa587ea..29a2187f2 100644 --- a/python3-cairo/python3-cairo.nm +++ b/python3-cairo/python3-cairo.nm @@ -5,7 +5,7 @@ name = python3-cairo version = 1.23.0 -release = 1 +release = 2 thisapp = pycairo-%{version} groups = Development/Tools @@ -33,6 +33,10 @@ build install %{python3} setup.py install --skip-build --root="%{BUILDROOT}" + + # Fix header permissions. + find %{BUILDROOT}%{includedir} -type f -iname "*.h" \ + -exec chmod -v 644 {} \; end end -- 2.47.3