[xerces-c] Use the license macro for the LICENSE file

Kalev Lember kalev at fedoraproject.org
Fri Mar 20 10:52:46 UTC 2015


commit 3bbb7c508ab568266ebc9dc10d1e34adf381f181
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Fri Mar 20 09:49:51 2015 +0100

    Use the license macro for the LICENSE file

 xerces-c.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/xerces-c.spec b/xerces-c.spec
index 626835c..8bc5a16 100644
--- a/xerces-c.spec
+++ b/xerces-c.spec
@@ -76,7 +76,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 %postun -p /sbin/ldconfig
 
 %files
-%doc LICENSE
+%license LICENSE
 %{_libdir}/libxerces-c-3.*.so
 
 %files devel
@@ -85,12 +85,14 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 %{_includedir}/xercesc/
 
 %files doc
-%doc README LICENSE NOTICE CREDITS doc _docs/*
+%license LICENSE
+%doc README NOTICE CREDITS doc _docs/*
 
 %changelog
 * Fri Mar 20 2015 Kalev Lember <kalevlember at gmail.com> - 3.1.2-1
 - Update to 3.1.2
 - Tighten -devel deps with the _isa macro
+- Use the license macro for the LICENSE file
 
 * Mon Aug 18 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.1.1-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild


More information about the scm-commits mailing list