mark license files properly

This commit is contained in:
Tom Callaway 2014-07-11 16:15:31 -04:00
parent 4e390f5349
commit 68221b27b3

View File

@ -28,7 +28,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind Name: bind
License: ISC License: ISC
Version: 9.9.5 Version: 9.9.5
Release: 6%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist} Release: 7%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
Epoch: 32 Epoch: 32
Url: http://www.isc.org/products/BIND/ Url: http://www.isc.org/products/BIND/
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -798,7 +798,8 @@ rm -rf ${RPM_BUILD_ROOT}
%files license %files license
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYRIGHT %{!?_licensedir:%global license %%doc}
%license COPYRIGHT
%files utils %files utils
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -928,6 +929,9 @@ rm -rf ${RPM_BUILD_ROOT}
%endif %endif
%changelog %changelog
* Fri Jul 11 2014 Tom Callaway <spot@fedoraproject.org> 32:9.9.5-7.P1
- fix license handling
* Thu Jun 12 2014 Tomas Hozza <thozza@redhat.com> 32:9.9.5-6.P1 * Thu Jun 12 2014 Tomas Hozza <thozza@redhat.com> 32:9.9.5-6.P1
- Update to 9.9.5-P1 - Update to 9.9.5-P1