From 3dc909e9eb72c7686f08b4141224f9db2747523129d335ae7358d74730b7af7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 6 Apr 2018 13:41:45 +0000 Subject: [PATCH] - Use install instead of mkdir and cp OBS-URL: https://build.opensuse.org/package/show/network:chromium/memory-constraints?expand=0&rev=11 --- memory-constraints.changes | 5 +++++ memory-constraints.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) 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}