diff --git a/memory-constraints.changes b/memory-constraints.changes index a28a147..0febc5b 100644 --- a/memory-constraints.changes +++ b/memory-constraints.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 6 13:41:22 UTC 2018 - tchvatal@suse.com + +- Use install instead of mkdir and cp + ------------------------------------------------------------------- Fri Apr 6 13:00:10 UTC 2018 - tchvatal@suse.com diff --git a/memory-constraints.spec b/memory-constraints.spec index 6d04413..866bc0b 100644 --- a/memory-constraints.spec +++ b/memory-constraints.spec @@ -41,8 +41,7 @@ ensure we can produce results rather than OOM reports. : %install -mkdir -p %{buildroot}/%{_libexecdir}/rpm/macros.d -cp %{SOURCE0} %{buildroot}/%{_libexecdir}/rpm/macros.d/macros.%{name} +install -D -m 644 %{SOURCE0} %{buildroot}/%{_libexecdir}/rpm/macros.d/macros.%{name} %files %{_libexecdir}/rpm/macros.d/macros.%{name}