diff --git a/c4project.spec b/c4project.spec index 563c0f4..cc328dd 100644 --- a/c4project.spec +++ b/c4project.spec @@ -41,8 +41,7 @@ rm -rvf 'bm-xp' %install -install -d %{buildroot}%{_datadir}/cmake/%{name} -cp -rp * %{buildroot}%{_datadir}/cmake/%{name} +install -t %{buildroot}%{_datadir}/cmake/%{name} -D -p -m 0644 * %check