Bug 449348

Summary: texinfo change causes psacct failure
Product: [Fedora] Fedora Reporter: Ivana Varekova <varekova>
Component: texinfoAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: pertusus
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: 2008-06-02 14:53:01 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:

Description Ivana Varekova 2008-06-02 10:57:07 UTC
Description of problem:
install info package creates unwanted %{_infodir}/dir file

Version-Release number of selected component (if applicable):
info-4.12-2.fc10.i386

How reproducible:


Steps to Reproduce:
1. try to build psacct in rawhide
  
Actual results:
...
install-info
--info-dir=/var/tmp/psacct-6.3.2-50.fc10-root-mockbuild/usr/share/info
/var/tmp/psacct-6.3.2-50.fc10-root-mockbuild/usr/share/info/accounting.info
install-info: warning: no info dir entry in
`/var/tmp/psacct-6.3.2-50.fc10-root-mockbuild/usr/share/info/accounting.info'
true
...
error: Installed (but unpackaged) file(s) found:
   /usr/share/info/dir.gz


Expected results:
no error

Additional info:

Comment 1 Vitezslav Crhonek 2008-06-02 14:53:01 UTC
From "info install-info":

If DIR-FILE (however specified) does not exist, `install-info'
creates it if possible (with no entries).

So this is correct behavior. If older version of install-info did not create it,
it was unable to did so, or it was a bug.

This line in %install section (before you gzip content in %{_infodir}) will
solve your problem:
rm -f $RPM_BUILD_ROOT%{_infodir}/dir

The same technique is used in other Fedora packages (e.g. findutils, coreutils,
etc.)