diff --git a/dmidecode.spec b/dmidecode.spec
index 931f171..b5a9360 100644
--- a/dmidecode.spec
+++ b/dmidecode.spec
@@ -1,7 +1,7 @@
 Summary:        Tool to analyse BIOS DMI data
 Name:           dmidecode
 Version:        2.12
-Release:        5%{?dist}
+Release:        6%{?dist}
 Epoch:          1
 Group:          System Environment/Base
 License:        GPLv2+
@@ -39,7 +39,9 @@ rm -rf ${buildroot}
 
 %files
 %defattr(-,root,root)
-%doc AUTHORS CHANGELOG LICENSE README
+%doc AUTHORS CHANGELOG README
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
 %{_sbindir}/dmidecode
 %ifnarch ia64
 %{_sbindir}/vpddecode
@@ -49,6 +51,9 @@ rm -rf ${buildroot}
 %{_mandir}/man8/*
 
 %changelog
+* Fri Jul 11 2014 Tom Callaway <spot@fedoraproject.org> 1:2.12-6
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.12-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild