[mtools] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 18 20:12:16 UTC 2014


commit 8cd726a9491523209018e082ca15d1b00758dff6
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 18 16:11:59 2014 -0400

    fix license handling

 mtools.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/mtools.spec b/mtools.spec
index 806b138..7c01ef6 100644
--- a/mtools.spec
+++ b/mtools.spec
@@ -1,7 +1,7 @@
 Summary: Programs for accessing MS-DOS disks without mounting the disks
 Name: mtools
 Version: 4.0.18
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: GPLv3+
 Group: Applications/System
 Source0: ftp://ftp.gnu.org/gnu/mtools/mtools-%{version}.tar.bz2
@@ -62,12 +62,17 @@ fi
 %files
 %defattr(-,root,root)
 %config(noreplace) /etc/mtools.conf
-%doc COPYING README Release.notes
+%{!?_licensedir:%global license %%doc}
+%license COPYING
+%doc README Release.notes
 %{_bindir}/*
 %{_mandir}/*/*
 %{_infodir}/mtools.info*
 
 %changelog
+* Fri Jul 18 2014 Tom Callaway <spot at fedoraproject.org> - 4.0.18-6
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.0.18-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list