Do not make gcov rpm if run coverage manually
Change-Id: I24ec93c7dfcd343a9da6521519358781276f6a9f
%description ipsp
Bluetooth agent binary compiled for IPSP(Internet Protocol Support Profile)
%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} .
%prep
%setup -q
cp %{SOURCE1001} .
%manifest %{name}.manifest
%license LICENSE
%defattr(-, root, root)
%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
%files hfp_ag
%manifest %{name}.manifest
%{_bindir}/bluetooth-ipsp-agent
%{_datadir}/dbus-1/system-services/org.bluez.ipsp_agent.service
%{_sysconfdir}/dbus-1/system.d/bluetooth-ipsp-agent.conf
%{_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