Use %license instead of %doc for file containing license information

This commit is contained in:
John W. Linville 2015-02-04 13:50:42 -05:00
parent 0d84226850
commit 06ec11fa52

View File

@ -2,7 +2,7 @@
Name: hostapd
Version: 2.3
Release: 3%{?dist}
Release: 4%{?dist}
Summary: IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
License: BSD
URL: http://w1.fi/hostapd
@ -149,7 +149,8 @@ fi
%endif
%files
%doc COPYING README README.hostapd README-WPS.hostapd
%license COPYING
%doc README README.hostapd README-WPS.hostapd
%doc %{name}/%{name}.conf %{name}/wired.conf
%doc %{name}/%{name}.accept %{name}/%{name}.deny
%doc %{name}/%{name}.eap_user %{name}/%{name}.radius_clients
@ -173,6 +174,9 @@ fi
%{_sysconfdir}/logwatch/scripts/services/%{name}
%changelog
* Wed Feb 4 2015 John W. Linville <linville@redhat.com> - 2.3-4
- Use %license instead of %doc for file containing license information
* Sun Nov 02 2014 poma <poma@gmail.com> - 2.3-3
- Further simplify hostapd.conf installation
- Rebase "EAP-TLS server" patch to 2.3