Bug 80256 - SRPMS: install failed due to missing TODO file
Summary: SRPMS: install failed due to missing TODO file
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: procinfo (Show other bugs)
(Show other bugs)
Version: 8.0
Hardware: All Linux
Target Milestone: ---
Assignee: Mike A. Harris
QA Contact: Jay Turner
Depends On:
TreeView+ depends on / blocked
Reported: 2002-12-23 11:01 UTC by Sysoltsev Slawa
Modified: 2015-01-08 00:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-12-26 20:40:42 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch for .spec which eliminates missed TODO file from %doc list (277 bytes, patch)
2002-12-23 11:05 UTC, Sysoltsev Slawa
no flags Details | Diff

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:

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:

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

Note You need to log in before you can comment on or make changes to this bug.