%license should be supported on every active branch

This commit is contained in:
Robert Scheck 2020-12-22 03:12:29 +01:00
parent d26317da21
commit 87bef5f336

View File

@ -87,7 +87,6 @@ sed -e 's/MODE="[0-9]*", GROUP="plugdev"/TAG+="uaccess"/g' util/z60_flashrom.rul
install -D -p -m 0644 util/z60_flashrom.rules %{buildroot}/%{_udevrulesdir}/60_flashrom.rules
%files
%{!?_licensedir:%global license %%doc}
%license COPYING
%doc README
%{_sbindir}/%{name}