07.01.2017 03:46, Carlos E. R. пишет:
On 2017-01-06 23:37, pit wrote:
Carlos E. R. wrote:
Hi,
This is an old problem that I had on 13.1 and remains on Leap.
....
It is trying to link /usr/share/flightgear/Fonts/LiberationFonts/COPYING to /usr/share/doc/packages/FlightGear-data/COPYING or the other way round, and it happens that /usr/share/flightgear is a diferent filesystem here⁽¹⁾:
TBH, I'd report this as an bug to the packager. Hardlinks across devices/partitions is never possible, and an RPM package should never run into trouble because of this, which means, one should at most use them within the same subdirectory.
But I did.
It is bug 987206, closed WONTFIX
That's wrong resolution in this case. This is the first package I see spec file that explicitly packages documentation paths in /usr/share/doc. It should be enough to simply use %doc COPYING ... and RPM will put *copy* of this file in /usr/share/doc automatically. So fix does not require any patch contrary to what is claimed in this bug report. P.S. It will also make spec file more portable because destination of %doc macro varies between distributions.