[expat/f21] fix license handling
Tom Callaway
spot at fedoraproject.org
Sat Jul 12 14:39:57 UTC 2014
commit 24d9a27b2742ad53d5acd32d32901b46e568dc6f
Author: Tom Callaway <spot at fedoraproject.org>
Date: Sat Jul 12 10:40:17 2014 -0400
fix license handling
expat.spec | 9 +++++++--
1 files 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 <spot at fedoraproject.org> - 2.1.0-9
+- fix license handling
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.1.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list