Use %{_bindir} macro
Change-Id: I0dc5c38119ac874586843991cbe27aef107b4b8c
-mkdir -p %{buildroot}/%{_datadir}/license
-mkdir -p %{buildroot}/usr/bin
-cp -rf %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 %{buildroot}/%{_datadir}/license/%{name}
-cp test/video_util_test %{buildroot}/usr/bin/
+mkdir -p %{buildroot}%{_bindir}
+cp test/video_util_test %{buildroot}%{_bindir}
%files
%manifest %{name}.manifest
%{_libdir}/lib*.so.*
%files
%manifest %{name}.manifest
%{_libdir}/lib*.so.*
-%{_datadir}/license/%{name}
-/usr/bin/*
+%license LICENSE.APLv2
+%{_bindir}/*
%files devel
%manifest %{name}.manifest
%files devel
%manifest %{name}.manifest