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

This commit is contained in:
John W. Linville 2015-02-04 14:09:41 -05:00
parent bf09b5d6cd
commit 1416fe9f36

View File

@ -1,6 +1,6 @@
Name: iw Name: iw
Version: 3.15 Version: 3.15
Release: 2%{?dist} Release: 3%{?dist}
Summary: A nl80211 based wireless configuration tool Summary: A nl80211 based wireless configuration tool
Group: System Environment/Base Group: System Environment/Base
@ -41,9 +41,12 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_sbindir}/%{name} %{_sbindir}/%{name}
%{_datadir}/man/man8/iw.* %{_datadir}/man/man8/iw.*
%doc COPYING %license COPYING
%changelog %changelog
* Wed Feb 4 2015 John W. Linville <linville@redhat.com> 3.15-3
- Use %license instead of %doc for file containing license information
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.15-2 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild