From 7f37d19d5de138317aa677388859d049260eb90a Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Jul 11 2014 20:13:05 +0000 Subject: mark license files properly --- 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 32:9.9.5-7.P1 +- fix license handling + * Thu Jun 12 2014 Tomas Hozza 32:9.9.5-6.P1 - Update to 9.9.5-P1