Updated Coverage automation format 58/286058/4 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20231005.092601 accepted/tizen/unified/20221228.170014 tizen_8.0_m2_release
authorKrishna Kant Jaju <krishna.jaju@samsung.com>
Tue, 27 Dec 2022 04:10:29 +0000 (09:40 +0530)
committerKrishna Kant Jaju <krishna.jaju@samsung.com>
Tue, 27 Dec 2022 07:03:26 +0000 (07:03 +0000)
Change-Id: I05bd3e1a166b40ed864717fff414f083606ef8d1
Signed-off-by: Krishna Kant Jaju <krishna.jaju@samsung.com>
packaging/oauth2.spec

index 62385d5..bd78cb9 100644 (file)
@@ -1,6 +1,6 @@
 Name:       oauth2
 Summary:    Tizen oauth 2.0 Framework
-Version:    0.0.7
+Version:    0.0.8
 Release:    1
 Group:      Social & Content/API
 License:    Apache-2.0
@@ -94,18 +94,16 @@ cmake . \
 
 
 make %{?jobs:-j%jobs}
-%if 0%{?gcov:1}
-mkdir -p gcov-obj
-find . -name '*.gcno' -exec cp '{}' gcov-obj ';'
-%endif
 
 %install
 rm -rf %{buildroot}
 %make_install
 
 %if 0%{?gcov:1}
-mkdir -p %{buildroot}%{_datadir}/gcov/obj
-install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj
+builddir=$(basename $PWD)
+gcno_obj_dir=%{buildroot}%{_datadir}/gcov/obj/%{name}/"$builddir"
+mkdir -p "$gcno_obj_dir"
+find . -name '*.gcno' -exec cp --parents '{}' "$gcno_obj_dir" ';'
 %endif
 mkdir -p %{buildroot}%{_libdir}