Bug 80256

Summary: SRPMS: install failed due to missing TODO file
Product: [Retired] Red Hat Linux Reporter: Sysoltsev Slawa <vyatcheslav.sysoltsev>
Component: procinfoAssignee: Mike A. Harris <mharris>
Status: CLOSED RAWHIDE QA Contact: Jay Turner <jturner>
Severity: low Docs Contact:
Priority: medium    
Version: 8.0CC: srevivo
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: 2002-12-26 20:40:42 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 for .spec which eliminates missed TODO file from %doc list none

Description Sysoltsev Slawa 2002-12-23 11:01:36 UTC
Description of problem:
Trying to build & install procinfo from sources I've got such error:

Executing(%doc): /bin/sh -
e /netbatch/TC2352/rh80_ia32_L/default/WORK_DIR/tmp/rpm-tmp.21678
+ umask 022
+ cd /netbatch/TC2352/rh80_ia32_L/default/WORK_DIR/BUILD
+ cd procinfo-18
+ DOCDIR=/var/tmp/procinfo-root/usr/share/doc/procinfo-18
+ export DOCDIR
+ rm -rf /var/tmp/procinfo-root/usr/share/doc/procinfo-18
+ /bin/mkdir -p /var/tmp/procinfo-root/usr/share/doc/procinfo-18
+ cp -pr README TODO CHANGES /var/tmp/procinfo-root/usr/share/doc/procinfo-18
cp: cannot stat `TODO': No such file or directory
error: Bad exit status 
from /netbatch/TC2352/rh80_ia32_L/default/WORK_DIR/tmp/rpm-tmp.21678 (%doc)

In this tiny package is no of TODO file. Seems like packaging error.

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. rpm -bb procinfo.spec

    
Actual results:
Installation error.

Expected results:
Succesfully built & installed package.

Additional info:
I'll attach the patch for .spec file which removes TODO from %doc list.

Comment 1 Sysoltsev Slawa 2002-12-23 11:05:19 UTC
Created attachment 88865 [details]
Patch for .spec which eliminates missed TODO file from %doc list

Comment 2 Mike A. Harris 2002-12-26 20:40:42 UTC
This was fixed quite a while back:

%changelog
* Mon Oct  7 2002 Mike A. Harris <mharris> 18-7
- Removed TODO from doc list as the file isn't present any longer
- Checked upstream URL, still no package version update.