Remove gcov rpm 78/276978/1 accepted/tizen/unified/20220630.211947 submit/tizen/20220629.005223
authorWootak Jung <wootak.jung@samsung.com>
Wed, 29 Jun 2022 00:35:06 +0000 (09:35 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Wed, 29 Jun 2022 00:36:28 +0000 (09:36 +0900)
Do not make gcov rpm if run coverage manually

Change-Id: I24ec93c7dfcd343a9da6521519358781276f6a9f

packaging/bluetooth-agent.spec

index e247ef8..f6c36e0 100644 (file)
@@ -98,16 +98,6 @@ Group:      Network & Connectivity/Bluetooth
 %description ipsp
 Bluetooth agent binary compiled for IPSP(Internet Protocol Support Profile)
 
-%if 0%{?gcov:1}
-%package gcov
-Summary: Test package for bluetooth-agent
-Group:   TO_BE/FILLED
-Requires: %{name} = %{version}-%{release}
-
-%description gcov
-This package is C-API test application.
-%endif
-
 %prep
 %setup -q
 cp %{SOURCE1001} .
@@ -190,6 +180,9 @@ popd
 %manifest %{name}.manifest
 %license LICENSE
 %defattr(-, root, root)
+%exclude %{_bindir}/gtest-bluetooth-agent
+%exclude %{_libdir}/lib*
+%exclude %{_datadir}/gcov/obj/*
 
 %files hfp_ag
 %manifest %{name}.manifest
@@ -242,11 +235,3 @@ popd
 %{_bindir}/bluetooth-ipsp-agent
 %{_datadir}/dbus-1/system-services/org.bluez.ipsp_agent.service
 %{_sysconfdir}/dbus-1/system.d/bluetooth-ipsp-agent.conf
-
-%if 0%{?gcov:1}
-%files gcov
-%manifest %{name}.manifest
-%{_bindir}/gtest-bluetooth-agent
-%{_libdir}/lib*
-%{_datadir}/gcov/obj/*
-%endif