From 69e6751434abab2daaad8c111f47ef55416a8658 Mon Sep 17 00:00:00 2001 From: Dan Čermák Date: Dec 30 2022 23:07:31 +0000 Subject: Remove exec permissions from eln files to prevent build failures due to duplicate build-ids --- diff --git a/emacs.spec b/emacs.spec index d1ad498..09955a4 100644 --- a/emacs.spec +++ b/emacs.spec @@ -436,6 +436,10 @@ echo %{native_lisp}/${gtk_comp_native_ver} >> gtk-filelist echo %{native_lisp}/${lucid_comp_native_ver} >> lucid-filelist echo %{native_lisp}/${nox_comp_native_ver} >> nox-filelist +# remove exec permissions from eln files to prevent the debuginfo extractor from +# trying to extract debuginfo from them +find %{buildroot}%{_libdir}/ -name '*eln' -type f | xargs chmod -x + %check appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/*.metainfo.xml desktop-file-validate %{buildroot}/%{_datadir}/applications/*.desktop