Bug 80250

Summary: SRPMS: install failed due to missing FAQ file
Product: [Retired] Red Hat Linux Reporter: Sysoltsev Slawa <vyatcheslav.sysoltsev>
Component: sudoAssignee: Thomas Woerner <twoerner>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-01-02 12:53:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch eliminating missed FAQ from %doc files none

Description Sysoltsev Slawa 2002-12-23 09:55:49 UTC
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

Comment 1 Sysoltsev Slawa 2002-12-23 09:57:07 UTC
Created attachment 88863 [details]
Patch eliminating missed FAQ from %doc files

Comment 2 Thomas Woerner 2003-01-02 12:53:50 UTC
Fixed in rawhide in rpm sudo-1.6.6-2 or newer.