[dmidecode/f21] fix license handling
Tom Callaway
spot at fedoraproject.org
Fri Jul 11 21:48:35 UTC 2014
commit a68a7092759b6130271ec3ecb239972e08609a68
Author: Tom Callaway <spot at fedoraproject.org>
Date: Fri Jul 11 17:48:53 2014 -0400
fix license handling
dmidecode.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
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 at fedoraproject.org> 1:2.12-6
+- fix license handling
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:2.12-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list