use %license

This commit is contained in:
David Tardon 2015-12-27 17:01:31 +01:00
parent 506e79e013
commit 9b3367b23a

View File

@ -68,7 +68,8 @@ install -m 0644 wpd2*.1 %{buildroot}/%{_mandir}/man1
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%doc COPYING.LGPL COPYING.MPL CREDITS README %doc CREDITS README
%license COPYING.LGPL COPYING.MPL
%{_libdir}/%{name}-%{apiversion}.so.* %{_libdir}/%{name}-%{apiversion}.so.*
%files tools %files tools
@ -86,7 +87,7 @@ install -m 0644 wpd2*.1 %{buildroot}/%{_mandir}/man1
%{_includedir}/%{name}-%{apiversion} %{_includedir}/%{name}-%{apiversion}
%files doc %files doc
%doc COPYING.LGPL COPYING.MPL %license COPYING.LGPL COPYING.MPL
%doc docs/doxygen/html %doc docs/doxygen/html
%doc docs/%{name}.dia %doc docs/%{name}.dia
%doc docs/%{name}.png %doc docs/%{name}.png