From a8a75e40d8672b7dc1bd8fcf32dd6de447c3c623 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Mon, 4 Aug 2014 01:48:51 -0400 Subject: [PATCH] fix license handling --- setools.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/setools.spec b/setools.spec index ab83804..d70e60d 100644 --- a/setools.spec +++ b/setools.spec @@ -3,7 +3,7 @@ Name: setools Version: %{setools_maj_ver}.%{setools_min_ver} -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2 URL: http://oss.tresys.com/projects/setools BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root @@ -210,7 +210,9 @@ rm -rf ${RPM_BUILD_ROOT} %files libs %defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING COPYING.GPL COPYING.LGPL KNOWN-BUGS NEWS README +%{!?_licensedir:%global license %%doc} +%license COPYING COPYING.GPL COPYING.LGPL +%doc AUTHORS ChangeLog KNOWN-BUGS NEWS README %{_libdir}/libqpol.so.* %{_libdir}/libapol.so.* %{_libdir}/libpoldiff.so.* @@ -279,6 +281,9 @@ rm -rf ${RPM_BUILD_ROOT} %postun libs-tcl -p /sbin/ldconfig %changelog +* Mon Aug 4 2014 Tom Callaway - 3.3.8-4 +- fix license handling + * Sun Jun 08 2014 Fedora Release Engineering - 3.3.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild