commit 7fe883746a7933b304fd40a664544ebe003a9949
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Sat Dec 8 00:12:35 2018 +0100
Remove pre-created doc directory
motion.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/motion.spec b/motion.spec
index 93d7798..a2c41be 100644
--- a/motion.spec
+++ b/motion.spec
@@ -81,8 +81,8 @@ mv %{buildroot}%{_sysconfdir}/%{name}/camera1-dist.conf
%{buildroot}%{_sysconfdi
mv %{buildroot}%{_sysconfdir}/%{name}/camera2-dist.conf
%{buildroot}%{_sysconfdir}/%{name}/camera2.conf
mv %{buildroot}%{_sysconfdir}/%{name}/camera3-dist.conf
%{buildroot}%{_sysconfdir}/%{name}/camera3.conf
mv %{buildroot}%{_sysconfdir}/%{name}/camera4-dist.conf
%{buildroot}%{_sysconfdir}/%{name}/camera4.conf
-#Delete COPYING from doc directory
-rm %{buildroot}%{_datadir}/doc/motion/COPYING
+#Delete doc directory
+rm -rf %{buildroot}%{_datadir}/doc
#Remove init files
rm %{buildroot}%{_datadir}/%{name}/examples/motion.init-*
#We change the PID file path to match the one in the startup script