[fipscheck] fix license handling

Tom Callaway spot at fedoraproject.org
Sat Jul 12 14:53:10 UTC 2014


commit 2d7f3e8980b2edc2a349763bed2cd27f6c5e6830
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Sat Jul 12 10:53:29 2014 -0400

    fix license handling

 fipscheck.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/fipscheck.spec b/fipscheck.spec
index cd99989..951fb94 100644
--- a/fipscheck.spec
+++ b/fipscheck.spec
@@ -1,7 +1,7 @@
 Summary:	A library for integrity verification of FIPS validated modules
 Name:		fipscheck
 Version:	1.4.1
-Release:	5%{?dist}
+Release:	6%{?dist}
 License:	BSD
 Group:		System Environment/Libraries
 # This is a Red Hat maintained package which is specific to
@@ -80,7 +80,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc ChangeLog COPYING README AUTHORS
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc ChangeLog README AUTHORS
 %{_bindir}/fipscheck
 %{_bindir}/fipshmac
 %{_libdir}/fipscheck/fipscheck.hmac
@@ -101,6 +103,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Sat Jul 12 2014 Tom Callaway <spot at fedoraproject.org> - 1.4.1-6
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.1-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list