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: I96a6e3fcd8a0f1fdf16121e7d2ef77603200739b
%prep
%setup -q
-cp %{SOURCE1001} .
%build
export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
%install
%make_install
+mkdir -p %{buildroot}%{_datadir}/
+cp -a %{SOURCE1001} %{buildroot}%{_datadir}/
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
-%manifest %{name}.manifest
+%manifest %{_datadir}/%{name}.manifest
%license LICENSE
%license LICENSE.BSL-1.0
%{_libdir}/libcryptsvc.so.*