spec: Use %license macro to copy license
[platform/upstream/libtheora.git] / packaging / libtheora.spec
index 57f5b0c..3a5a90b 100644 (file)
@@ -60,7 +60,7 @@ rm -rf %{buildroot}/%{_datadir}/doc/%{name}-%{version}/*
 %files
 %manifest %{name}.manifest
 %defattr(-,root,root)
-%doc COPYING LICENSE
+%license COPYING LICENSE
 %{_libdir}/libtheora.so.0*
 %{_libdir}/libtheoradec.so.1*
 %{_libdir}/libtheoraenc.so.1*