[bind] mark license files properly
Tom Callaway
spot at fedoraproject.org
Fri Jul 11 20:12:47 UTC 2014
commit 7f37d19d5de138317aa677388859d049260eb90a
Author: Tom Callaway <spot at fedoraproject.org>
Date: Fri Jul 11 16:13:05 2014 -0400
mark license files properly
bind.spec | 8 ++++++--
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 at fedoraproject.org> 32:9.9.5-7.P1
+- fix license handling
+
* Thu Jun 12 2014 Tomas Hozza <thozza at redhat.com> 32:9.9.5-6.P1
- Update to 9.9.5-P1
More information about the scm-commits
mailing list