[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Anyone seen this error?



I recently received a bug report that one of my packages (in devel) fails when built in mock with the following error:

error: Installed (but unpackaged) file(s) found:
  /usr/share/info/dir

I was able to duplicate this in a mock build, but here's what I don't understand: after the build failure, I don't see a "dir" file in $RPM_BUILD_ROOT/usr/share/info . Furthermore, if I try the same build on a (mostly) up to date devel system, the build completes without any problems. Why? In looking at other packages that I maintain, one that was formerly in core has the line

rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir

in the %install section. That seems like what I need to fix this problem, but it also seems like an ugly hack to deal with a problem that a lot of packages are likely to have and IMHO maybe should be handled by the rpm tools automatically. Is there a better way to do this?

-Quentin


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]