Anyone seen this error?

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

 



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

--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux