[libxml2] fix license handling

Tom Callaway spot at fedoraproject.org
Fri Jul 18 19:37:37 UTC 2014


commit 82d32f43a4cf60d59578cd70c9ddf9658ed0e81c
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Fri Jul 18 15:38:01 2014 -0400

    fix license handling

 libxml2.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/libxml2.spec b/libxml2.spec
index 1feb50f..2233967 100644
--- a/libxml2.spec
+++ b/libxml2.spec
@@ -1,7 +1,7 @@
 Summary: Library providing XML and HTML support
 Name: libxml2
 Version: 2.9.1
-Release: 3%{?dist}%{?extra_release}
+Release: 4%{?dist}%{?extra_release}
 License: MIT
 Group: Development/Libraries
 Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
@@ -105,7 +105,9 @@ rm -fr %{buildroot}
 %files
 %defattr(-, root, root)
 
-%doc AUTHORS NEWS README Copyright TODO
+%{!?_licensedir:%global license %%doc}
+%license Copyright
+%doc AUTHORS NEWS README TODO
 %doc %{_mandir}/man1/xmllint.1*
 %doc %{_mandir}/man1/xmlcatalog.1*
 %doc %{_mandir}/man3/libxml.3*
@@ -153,6 +155,9 @@ rm -fr %{buildroot}
 %doc doc/python.html
 
 %changelog
+* Fri Jul 18 2014 Tom Callaway <spot at fedoraproject.org> - 2.9.1-4
+- fix license handling
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.9.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list