https://bugzilla.redhat.com/show_bug.cgi?id=1315022
--- Comment #6 from Mukundan Ragavan <nonamedotc(a)gmail.com> ---
As for this -
Maybe you could remove:
mkdir -p %{buildroot}%{_datadir}/licenses/%{name}
cp -p COPYING %{buildroot}%{_datadir}/licenses/%{name}/
and use (for EPEL only, see
https://fedorahosted.org/fpc/ticket/586)
%{!?_licensedir:%global license %%doc}
%license COPYING
I cannot get this to work at all. rpm building fails with
error: Installed (but unpackaged) file(s) found:
/usr/share/doc/xfpanel-switch/COPYING
Installed (but unpackaged) file(s) found:
/usr/share/doc/xfpanel-switch/COPYING
So, I have done this now -
%{__install} -Dp -m644 COPYING %{buildroot}%{_datadir}/licenses/%{name}/COPYING
--
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