According to [1], %prep section of the spec file should contain a single
%setup macro, nothing else. According to [2], manifest %files are best
copied to %{buildroot}%{_datadir} in the %install section.
Moved manifest copy operations from %prep to %install accordingly.
References
[1] https://source.tizen.org/documentation/reference/git-build-system/usage/gbs-build
[2] https://wiki.tizen.org/Security/Application_installation_and_Manifest
Change-Id: I8dfbf5399364333880fcb63ba8e4163a32994312
%prep
%setup -q
-cp %{SOURCE1001} .
%build
touch %{buildroot}%{macro_ca_certificates_tizen}
echo "%TZ_SYS_REVOKED_CERTS_FINGERPRINTS_RUNTIME %{fingerprint_rw_dir}/fingerprint_list_runtime.xml" >> %{buildroot}%{macro_ca_certificates_tizen}
+cp %{SOURCE1001} %{buildroot}%{_datadir}/
%files
%defattr(-,root,root,-)
-%manifest %{name}.manifest
+%manifest %{_datadir}/%{name}.manifest
%license LICENSE
%{tizen_dir}/*
%{fingerprint_dir}/*