https://bugzilla.redhat.com/show_bug.cgi?id=1943526
--- Comment #7 from Otto Urpelainen <oturpe(a)iki.fi> ---
%license must be always used, it puts the license to standard license file
location in Fedora, which is /usr/share/licenses. Reference:
https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidel...
The complain from unstalled but unpackaged files appears, because upstream
build script installs the LICENSE to buildroot (to docs it seems), then rpm
detects that there is a file installed in buildroot that is not handled in
%files. There are at least two ways to fix this: Copy the license to docs as
you were already doing. The it appears both in /usr/share/licenses and
/usr/share/doc. That is kind of redundant, but not a big deal. Or get rid of
the file with 'rm /unwanted/file' in the end of %install section, which avoids
the duplication.
The warning can also be silenced by using %exclude in %files, but apparently it
will stop working in the future:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.o...
I will take a look at the new files later.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component