[device-mapper-multipath] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 11 21:41:05 UTC 2014


commit cab2b088993fbb23cdf644e888c36a02de34d3b0
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 11 17:41:23 2014 -0400

    fix license handling

 device-mapper-multipath.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/device-mapper-multipath.spec b/device-mapper-multipath.spec
index 1bcc754..d7912e2 100644
--- a/device-mapper-multipath.spec
+++ b/device-mapper-multipath.spec
@@ -1,7 +1,7 @@
 Summary: Tools to manage multipath devices using device-mapper
 Name: device-mapper-multipath
 Version: 0.4.9
-Release: 65%{?dist}
+Release: 66%{?dist}
 License: GPL+
 Group: System Environment/Base
 URL: http://christophe.varoqui.free.fr/
@@ -286,13 +286,17 @@ bin/systemctl --no-reload enable multipathd.service >/dev/null 2>&1 ||:
 %{_mandir}/man8/mpathpersist.8.gz
 %config /usr/lib/udev/rules.d/62-multipath.rules
 %config /usr/lib/udev/rules.d/11-dm-mpath.rules
-%doc AUTHOR COPYING FAQ
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc AUTHOR FAQ
 %doc multipath.conf
 %dir /etc/multipath
 
 %files libs
 %defattr(-,root,root,-)
-%doc AUTHOR COPYING
+%doc AUTHOR
+%{!?_licensedir:%global license %%doc}
+%license COPYING
 %{_libdir}/libmultipath.so
 %{_libdir}/libmultipath.so.*
 %{_libdir}/libmpathpersist.so
@@ -313,6 +317,9 @@ bin/systemctl --no-reload enable multipathd.service >/dev/null 2>&1 ||:
 %{_mandir}/man8/kpartx.8.gz
 
 %changelog
+* Fri Jul 11 2014 Tom Callaway <spot at fedoraproject.org> - 0.4.9-66
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.9-65
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list