fix license handling

This commit is contained in:
Tom Callaway 2014-07-12 10:39:58 -04:00
parent 58fa5e8b64
commit a182c23956

View File

@ -1,7 +1,7 @@
Summary: An XML parser library Summary: An XML parser library
Name: expat Name: expat
Version: 2.1.0 Version: 2.1.0
Release: 8%{?dist} Release: 9%{?dist}
Group: System Environment/Libraries Group: System Environment/Libraries
Source: http://downloads.sourceforge.net/expat/expat-%{version}.tar.gz Source: http://downloads.sourceforge.net/expat/expat-%{version}.tar.gz
Patch0: expat-2.1.0-xmlwfargs.patch Patch0: expat-2.1.0-xmlwfargs.patch
@ -68,7 +68,9 @@ rm -rf ${RPM_BUILD_ROOT}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README COPYING %doc README
%{!?_licensedir:%global license %%doc}
%license COPYING
%{_bindir}/* %{_bindir}/*
%{_libdir}/lib*.so.* %{_libdir}/lib*.so.*
%{_mandir}/*/* %{_mandir}/*/*
@ -85,6 +87,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/lib*.a %{_libdir}/lib*.a
%changelog %changelog
* Sat Jul 12 2014 Tom Callaway <spot@fedoraproject.org> - 2.1.0-9
- fix license handling
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-8 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild