From 3ea24cba59e409b06298ef1aa8f27be812b9d2ff Mon Sep 17 00:00:00 2001 From: Björn Esser Date: Sep 08 2020 16:04:40 +0000 Subject: Prefer install over cp for single files --- diff --git a/AusweisApp2.spec b/AusweisApp2.spec index 0e78aa8..35451d8 100644 --- a/AusweisApp2.spec +++ b/AusweisApp2.spec @@ -176,7 +176,7 @@ help2man \ # Excessive docs. mkdir -p %{buildroot}%{_pkgdocdir}/notes \ %{buildroot}%{_pkgdocdir}/sdk -cp -p README.rst %{buildroot}%{_pkgdocdir} +install -pm 0644 README.rst %{buildroot}%{_pkgdocdir} %if %{with doxy} mkdir -p %{buildroot}%{_pkgdocdir}/doxy cp -a %{_vpath_builddir}/doc/html/* %{buildroot}%{_pkgdocdir}/doxy