https://bugzilla.redhat.com/show_bug.cgi?id=1221781



--- Comment #24 from Raphael Groner <[email protected]> ---
%files
%if 0%{?rhel} < 7 || 0%{?fedora} < 21
%{_datadir}/licenses/COPYING
%else
%{_pkgdocdir}/COPYING
%endif

The above is wrong. You confused the logic. Please use:

%files
%if 0%{?rhel} >= 7 || 0%{?fedora} >= 22
%license COPYING
%endif
%{_pkgdocdir}/COPYING

It wouldn't harm to always place COPYING into %{_pkgdocdir}, too.

-- 
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
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to