commit a28b4b32302c3de7c4717f9cc064958a97c85700
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sat Mar 7 23:38:34 2020 +0000
install "-P" is deprecated
fix warning install: warning: option '-P' is deprecated, please use
'--preserve-context' instead
amule.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/amule.spec b/amule.spec
index 140cfd2..d65b7c6 100644
--- a/amule.spec
+++ b/amule.spec
@@ -109,7 +109,7 @@ desktop-file-install --vendor "" \
rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/INSTALL
rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/COPYING
-install -P -m 0644 -D %{SOURCE2} %{buildroot}%{_metainfodir}/%{name}.appdata.xml
+install -m 0644 -D %{SOURCE2} %{buildroot}%{_metainfodir}/%{name}.appdata.xml
%files -f %{name}.lang