Description of problem: Building sudo from SRPMS I'fe got such error during %install: Executing(%doc): /bin/sh - e /netbatch/TC4097/rh80_ia32_N/default/WORK_DIR/tmp/rpm-tmp.51635 + umask 022 + cd /netbatch/TC4097/rh80_ia32_N/default/WORK_DIR/BUILD + cd sudo-1.6.6 + DOCDIR=/netbatch/TC4097/rh80_ia32_N/default/WORK_DIR/tmp/sudo- root/usr/share/doc/sudo-1.6.6 + export DOCDIR + rm -rf /netbatch/TC4097/rh80_ia32_N/default/WORK_DIR/tmp/sudo- root/usr/share/doc/sudo-1.6.6 + /bin/mkdir -p /netbatch/TC4097/rh80_ia32_N/default/WORK_DIR/tmp/sudo- root/usr/share/doc/sudo-1.6.6 + cp -pr BUGS CHANGES FAQ HISTORY README RUNSON TODO TROUBLESHOOTING sudoers.pod sudo.pod visudo.pod /netbatch/TC4097/rh80_ia32_N/ default/WORK_DIR/tmp/sudo-root/usr/share/doc/sudo-1.6.6 cp: cannot stat `FAQ': No such file or directory error: Bad exit status from /netbatch/TC4097/rh80_ia32_N/default/WORK_DIR/tmp/rpm-tmp.51635 (%doc) I haven't found any 'FAQ' file in package, so seems you've missed it during packaging. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. rpm -bb sudo.spec Actual results: Installation error Expected results: Succesfully built && installed package. Additional info: I'll attach the patch for .spec which eliminates FAQ from %doc
Created attachment 88863 [details] Patch eliminating missed FAQ from %doc files
Fixed in rawhide in rpm sudo-1.6.6-2 or newer.