X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fcapi-ui-sticker.spec;h=86bd5c3f9f2e9381febafcc2bb4e8f968cb3074f;hb=9d3a861da894eebf9cf2dfd02d56ab444b1dd614;hp=c9f35ae6e16f54d510cf33a4eabb202ede528b40;hpb=a6dd3c25665efd30b368a13b85473788a76bcefc;p=platform%2Fcore%2Fuifw%2Fcapi-ui-sticker.git diff --git a/packaging/capi-ui-sticker.spec b/packaging/capi-ui-sticker.spec index c9f35ae..86bd5c3 100644 --- a/packaging/capi-ui-sticker.spec +++ b/packaging/capi-ui-sticker.spec @@ -1,6 +1,6 @@ Name: capi-ui-sticker Summary: Sticker client library and daemon -Version: 1.2.4 +Version: 1.2.11 Release: 1 Group: Graphics & UI Framework/Input License: Apache-2.0 @@ -128,6 +128,9 @@ rm -rf %{buildroot} builddir=$(basename $PWD) gcno_obj_dir=%{buildroot}%{_datadir}/gcov/obj/%{name}/"$builddir" mkdir -p "$gcno_obj_dir" +find ./server/ -name '*.gcno' -exec rm {} \; +find ./tests/ -name '*.gcno' -not -path "*/client/*" -exec rm {} \; +find . -name '*_dbus*.gcno' -exec rm {} \; find . -name '*.gcno' -exec cp --parents '{}' "$gcno_obj_dir" ';' %endif @@ -180,12 +183,14 @@ install -m 0644 %SOURCE3 %{buildroot}%{_sysconfdir}/dbus-1/system.d/capi-ui-stic %check %if 0%{?gcov:1} +%if 0%{?run_unittest:1} ctest --output-on-failure %{?_smp_mflags} lcov -c --ignore-errors graph --no-external -q -d . -o capi-ui-sticker.info genhtml capi-ui-sticker.info -o capi-ui-sticker.out zip -r capi-ui-sticker.zip capi-ui-sticker.out capi-ui-sticker.info install -m 0644 capi-ui-sticker.zip %{buildroot}%{_datadir}/gcov %endif +%endif %post /sbin/ldconfig @@ -234,7 +239,8 @@ chsmack -a "User::App::Shared" /opt/usr/share/sticker-data %files unittests %license LICENSE -%{_bindir}/* +%{_bindir}/capi-ui-sticker-unittest +%{_bindir}/tizen-unittests/%{name}/run-unittest.sh %if 0%{?gcov:1} %files gcov