The backup db has existed to initialize when the media.db file size exceeds db space.
However it is no longer needed.
Currently media.db only manages active external storage.
Change-Id: If0c10d6fc3de13ffec93ee25318fe159f9717a50
Signed-off-by: minje.ahn <minje.ahn@samsung.com>
#dummy db file for reset media DB
%if 0%{?product_tv}
cp -rf %{_builddir}/%{name}-%{version}/data/media_product.db %{buildroot}/etc/multimedia/.media.db
-%else
-cp -rf %{_builddir}/%{name}-%{version}/data/media.db %{buildroot}/etc/multimedia/.media.db
%endif
%post
%if !0%{?product_tv}
%{_unitdir_user}/media-server-user.service
%{_unitdir_user}/media-server-user.path
+%else
+/etc/multimedia/.media.db
%endif
/etc/multimedia/media_content_config.ini
/etc/gumd/useradd.d/30_media-server-add.post
-/etc/multimedia/.media.db
%license LICENSE.APLv2.0
%files -n libmedia-utils