Red Hat Bugzilla – Bug 80256
SRPMS: install failed due to missing TODO file
Last modified: 2015-01-07 19:02:33 EST
Description of problem:
Trying to build & install procinfo from sources I've got such error:
Executing(%doc): /bin/sh -
+ umask 022
+ cd /netbatch/TC2352/rh80_ia32_L/default/WORK_DIR/BUILD
+ cd 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):
Steps to Reproduce:
1. rpm -bb procinfo.spec
Succesfully built & installed package.
I'll attach the patch for .spec file which removes TODO from %doc list.
Created attachment 88865 [details]
Patch for .spec which eliminates missed TODO file from %doc list
This was fixed quite a while back:
* Mon Oct 7 2002 Mike A. Harris <email@example.com> 18-7
- Removed TODO from doc list as the file isn't present any longer
- Checked upstream URL, still no package version update.