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 - 2.9.1-4 +- fix license handling + * Sat Jun 07 2014 Fedora Release Engineering - 2.9.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild