summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Callaway <spot@fedoraproject.org>2014-07-11 16:15:31 -0400
committerTom Callaway <spot@fedoraproject.org>2014-07-11 16:15:31 -0400
commit68221b27b36851f0aee32c7eabe2e4ab5dc74441 (patch)
tree2a9cc483d4fb3e73dad8e971d8532a3340a2bf0f
parent4e390f5349bfb19bd7455d00a279c5126f2dbc50 (diff)
downloadbind-68221b27b36851f0aee32c7eabe2e4ab5dc74441.tar.gz
bind-68221b27b36851f0aee32c7eabe2e4ab5dc74441.tar.xz
bind-68221b27b36851f0aee32c7eabe2e4ab5dc74441.zip
mark license files properly
-rw-r--r--bind.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/bind.spec b/bind.spec
index 1bf19ee..963cb57 100644
--- a/bind.spec
+++ b/bind.spec
@@ -28,7 +28,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: ISC
Version: 9.9.5
-Release: 6%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
+Release: 7%{?PATCHVER:.%{PATCHVER}}%{?PREVER:.%{PREVER}}%{?dist}
Epoch: 32
Url: http://www.isc.org/products/BIND/
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -798,7 +798,8 @@ rm -rf ${RPM_BUILD_ROOT}
%files license
%defattr(-,root,root,-)
-%doc COPYRIGHT
+%{!?_licensedir:%global license %%doc}
+%license COPYRIGHT
%files utils
%defattr(-,root,root,-)
@@ -928,6 +929,9 @@ rm -rf ${RPM_BUILD_ROOT}
%endif
%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
- Update to 9.9.5-P1