From a182c239567284ba8a0d6e350bd620e7da772125 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Sat, 12 Jul 2014 10:39:58 -0400 Subject: [PATCH] fix license handling --- expat.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/expat.spec b/expat.spec index 76fb96e..0d7916f 100644 --- a/expat.spec +++ b/expat.spec @@ -1,7 +1,7 @@ Summary: An XML parser library Name: expat Version: 2.1.0 -Release: 8%{?dist} +Release: 9%{?dist} Group: System Environment/Libraries Source: http://downloads.sourceforge.net/expat/expat-%{version}.tar.gz Patch0: expat-2.1.0-xmlwfargs.patch @@ -68,7 +68,9 @@ rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) -%doc README COPYING +%doc README +%{!?_licensedir:%global license %%doc} +%license COPYING %{_bindir}/* %{_libdir}/lib*.so.* %{_mandir}/*/* @@ -85,6 +87,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/lib*.a %changelog +* Sat Jul 12 2014 Tom Callaway - 2.1.0-9 +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 2.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild