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

This commit is contained in:
John W. Linville 2015-02-04 14:50:11 -05:00
parent d4ce0c4f1e
commit 844202eacd
1 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Name: wiggle
Version: 1.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A tool for applying patches with conflicts
Group: Development/Tools
@ -53,12 +53,16 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc ANNOUNCE COPYING TODO
%license COPYING
%doc ANNOUNCE TODO
/usr/bin/wiggle
%{_mandir}/man1/wiggle.1*
%changelog
* Wed Feb 4 2015 John W. Linville <linville@redhat.com> 1.0-3
- Use %license instead of %doc for file containing license information
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild