Remove gcov rpm
[platform/core/connectivity/bluetooth-agent.git] / 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