[calc: 1/3] use %license tag for license instead of %docs

Matthew Miller mattdm at fedoraproject.org
Thu Sep 25 12:26:55 UTC 2014


commit dd734ca6ffcdfcbe235c3570dae07431c039b836
Author: Matthew Miller <mattdm at mattdm.org>
Date:   Thu Mar 27 12:15:26 2014 -0400

    use %license tag for license instead of %docs

 calc.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/calc.spec b/calc.spec
index ec2ffd8..7584f5d 100644
--- a/calc.spec
+++ b/calc.spec
@@ -16,7 +16,7 @@ License:       LGPLv2
 
 Name:          calc
 Version:       2.12.4.13
-Release:       1%{?dist}
+Release:       2%{?dist}
 Summary:       Arbitrary precision arithmetic system and calculator
 
 Group:         Applications/Engineering
@@ -199,9 +199,11 @@ rm -rf %{buildroot}
 %files libs
 %defattr(-, root, root, -)
 %if %{with_readline}
-%doc BUGS CHANGES COPYING COPYING-GPL
+%doc BUGS CHANGES
+%license COPYING COPYING-GPL
 %else
-%doc BUGS CHANGES COPYING-LGPL
+%doc BUGS CHANGES
+%license COPYING-LGPL
 %endif
 %{_libdir}/libcalc.so.*
 %if %{with_custom_interface}
@@ -232,6 +234,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Mar 27 2014 Matthew Miller <mattdm at fedoraproject.org> - 2.14.4.13-2
+- use license tag for license instead of docs
+
 * Sun Feb 02 2014 Matthew Miller <mattdm at fedoraproject.org> - 2.14.4.13-1
 - update to new ultra-minor upstream version. This update includes a
   fix to lucas.cal; if you know what the Lucas primality test is, you


More information about the scm-commits mailing list