diff --git a/emacs.spec b/emacs.spec index 4327ea7..fb6c091 100644 --- a/emacs.spec +++ b/emacs.spec @@ -603,11 +603,13 @@ sed -i -e "s|\.%{native_lisp}|%{native_lisp}|" *-filelist *-dirlist # 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 +find %{buildroot}%{native_lisp}/ -name '*.eln' -type f -print0 \ + | xargs -0 chmod -x # ensure native files are newer than byte-code files # see: https://bugzilla.redhat.com/show_bug.cgi?id=2157979#c11 -find %{buildroot}%{_libdir}/ -name '*eln' -type f | xargs touch +find %{buildroot}%{native_lisp}/ -name '*.eln' -type f -print0 \ + | xargs -0 touch export QA_SKIP_BUILD_ROOT=0