Remove exec permissions from eln files to prevent build failures due to duplicate build-ids

This commit is contained in:
Dan Čermák 2022-12-01 15:38:00 +01:00
parent e6bb941875
commit 69e6751434
No known key found for this signature in database
GPG Key ID: 8F8C178E966641D3

View File

@ -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