Tests package contains binaries compiled with different gcc versions. RPMs calls
ldd on them adding libgcc(3.5) to the package dependencies. As a result the
package can't be installed without --nodeps option.
This commit moves the test binaries to a separate package with automatic
dependencies disabled.
Change-Id: Ic77c85125f4d8348c8449dc04fc35116646f40c0
Group: Security/Testing
Requires: ca-certificates-tizen
Requires: %{name} = %{version}-%{release}
+Requires: %{name}-test-binaries = %{version}-%{release}
%description test
Certification service (tests)
+
+%package test-binaries
+Summary: Certification service (test binaries)
+Group: Security/Testing
+AutoReq: no
+Requires: %{name}-test = %{version}-%{release}
+
+%description test-binaries
+Certification service (test binaries)
%endif
%prep
%if 0%{?certsvc_test_build}
%files test
%bin_dir/cert-svc-test*
-%cert_svc_tests
+%dir %cert_svc_tests
+%cert_svc_tests/p12
+%cert_svc_tests/certs
%_libdir/libcert-svc-validator-plugin.so
%bin_dir/cert-svc-example*
%cert_svc_examples
+%files test-binaries
+%cert_svc_tests/apps
+
%endif