projects
/
platform
/
core
/
multimedia
/
libmm-fileinfo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c4ff86
)
Fix build error without gtests
47/193747/1
accepted/tizen/unified/20181127.073258
submit/tizen/20181126.011146
author
jiyong.min
<jiyong.min@samsung.com>
Mon, 26 Nov 2018 02:10:06 +0000
(11:10 +0900)
committer
jiyong.min
<jiyong.min@samsung.com>
Mon, 26 Nov 2018 02:10:06 +0000
(11:10 +0900)
Change-Id: I7eb22626683c57234d272302228beb831093d434
packaging/libmm-fileinfo.spec
patch
|
blob
|
history
diff --git
a/packaging/libmm-fileinfo.spec
b/packaging/libmm-fileinfo.spec
index
a4d00c1
..
e0397ef
100644
(file)
--- a/
packaging/libmm-fileinfo.spec
+++ b/
packaging/libmm-fileinfo.spec
@@
-68,9
+68,11
@@
CFLAGS="${CFLAGS} -D_MM_PROJECT_FLOATER -DEXPORT_API=\"__attribute__((visibility
mkdir -p %{buildroot}%{_sysconfdir}/multimedia
cp -rf %{_builddir}/%{name}-%{version}/mm_file_config.ini %{buildroot}%{_sysconfdir}/multimedia/mm_file_config.ini
+%if 0%{?gtests:1}
mkdir -p %{buildroot}%{_bindir}
cp -rf %{_builddir}/%{name}-%{version}/unittest/*.mp4 %{buildroot}%{_bindir}/
cp -rf %{_builddir}/%{name}-%{version}/unittest/*.mp3 %{buildroot}%{_bindir}/
+%endif
%post -p /sbin/ldconfig