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

Kalev Lember kalev at fedoraproject.org
Fri Mar 20 11:43:48 UTC 2015


commit 01c1f7efa3591f2cace179426bbe5243192da8b4
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Fri Mar 20 10:43:09 2015 +0100

    Use the license macro for the LICENSE file

 mingw-xerces-c.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/mingw-xerces-c.spec b/mingw-xerces-c.spec
index 112d69d..40b4e97 100644
--- a/mingw-xerces-c.spec
+++ b/mingw-xerces-c.spec
@@ -83,14 +83,14 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
 
 
 %files -n mingw32-xerces-c
-%doc LICENSE
+%license LICENSE
 %{mingw32_includedir}/xercesc/
 %{mingw32_bindir}/libxerces-c-3-1.dll
 %{mingw32_libdir}/libxerces-c.dll.a
 %{mingw32_libdir}/pkgconfig/xerces-c.pc
 
 %files -n mingw64-xerces-c
-%doc LICENSE
+%license LICENSE
 %{mingw64_includedir}/xercesc/
 %{mingw64_bindir}/libxerces-c-3-1.dll
 %{mingw64_libdir}/libxerces-c.dll.a
@@ -100,6 +100,7 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
 %changelog
 * Fri Mar 20 2015 Kalev Lember <kalevlember at gmail.com> - 3.1.2-1
 - Update to 3.1.2, fixing CVE-2015-0252
+- Use the license macro for the LICENSE file
 
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.1.1-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild


More information about the scm-commits mailing list