Author: moixs
Update of /cvs/free/rpms/motion/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv1660
Modified Files:
motion.spec sources
Log Message:
Fix log file rotation and add compression
Index: motion.spec
===================================================================
RCS file: /cvs/free/rpms/motion/devel/motion.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- motion.spec 10 Aug 2011 14:32:04 -0000 1.9
+++ motion.spec 12 Aug 2011 06:11:12 -0000 1.10
@@ -1,6 +1,6 @@
Name: motion
Version: 3.3.0
-Release: trunkREV531%{?dist}
+Release: trunkREV532%{?dist}
Summary: A motion detection system
Group: Applications/Multimedia
@@ -38,7 +38,7 @@
mv %{buildroot}%{_sysconfdir}/%{name}/motion-dist.conf
%{buildroot}%{_sysconfdir}/%{name}/motion.conf
#We move the logrotate configuration
mkdir %{buildroot}%{_sysconfdir}/logrotate.d
-mv %{_builddir}/%{name}-%{version}/motion.logrotate
%{buildroot}%{_sysconfdir}/logrotate.d/motion.logrotate
+mv %{_builddir}/%{name}-%{version}/motion.logrotate
%{buildroot}%{_sysconfdir}/logrotate.d/motion
#We change the PID file path to match the one in the startup script
sed -i 's|/var/run/motion/motion.pid|/var/run/motion.pid|g'
%{buildroot}%{_sysconfdir}/%{name}/motion.conf
#We remove SQL directives in the configuration file, as we don't use them
@@ -88,13 +88,16 @@
%attr(0644,root,root) %{_datadir}/%{name}-%{version}/examples/thread2.conf
%attr(0644,root,root) %{_datadir}/%{name}-%{version}/examples/thread3.conf
%attr(0644,root,root) %{_datadir}/%{name}-%{version}/examples/thread4.conf
-%attr(0644,root,root) %{_sysconfdir}/logrotate.d/motion.logrotate
+%attr(0644,root,root) %{_sysconfdir}/logrotate.d/motion
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/motion.conf
%attr(0755,root,root) %{_bindir}/motion
%attr(0644,root,root) %{_mandir}/man1/motion.1*
%attr(0755,root,root) %{_initrddir}/%{name}
%changelog
+* Mon Aug 10 2011 Steven Moix <steven.moix(a)axianet.ch> - 3.3.0-trunkREV532
+- Fix log rotation and also add compression to it
+
* Mon Aug 10 2011 Steven Moix <steven.moix(a)axianet.ch> -
3.3.0-0.2.20110810trunkREV531
- Corrects rpmfusion bugs 1878, 1879 and 1880
Index: sources
===================================================================
RCS file: /cvs/free/rpms/motion/devel/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources 10 Aug 2011 14:32:04 -0000 1.6
+++ sources 12 Aug 2011 06:11:12 -0000 1.7
@@ -1 +1 @@
-9aa28d7016027c8ecedc57cdeafd731f motion-3.3.0.tar.gz
+31d91149e3a89b9e66d44a109ccdf50c motion-3.3.0.tar.gz