diff --git a/.gitignore b/.gitignore index 0be2a4c..ece59f8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /retrace-server-1.0.tar.gz /retrace-server-1.1.tar.gz /retrace-server-1.2.tar.gz +/retrace-server-1.3.tar.gz diff --git a/retrace-server.spec b/retrace-server.spec index 5e1bc79..e2b8f4b 100644 --- a/retrace-server.spec +++ b/retrace-server.spec @@ -2,7 +2,7 @@ Summary: Application for remote coredump analysis Name: retrace-server -Version: 1.2 +Version: 1.3 Release: 1%{?dist} License: GPLv2+ Group: Applications/System @@ -19,13 +19,14 @@ BuildRequires: xmlto %{?el6:Requires: python-argparse} Requires: rsync -Requires: mock +Requires: mock >= 1.1.11 Requires: xz Requires: elfutils Requires: createrepo Requires: mod_wsgi Requires: mod_ssl Requires: python-webob +Requires: yum-utils Requires(preun): /sbin/install-info Requires(post): /sbin/install-info @@ -67,10 +68,12 @@ exit 0 /sbin/install-info %{_infodir}/%{name} %{_infodir}/dir 2> /dev/null || : /usr/sbin/usermod -a -G mock apache 2> /dev/null || : +if [ "$1" = 1 ] +then #add disabled crontab entry to apache's crontab -%define apache_crontab_entry "# 0 * * * * /usr/bin/retrace-server-cleanup >> /var/log/retrace-server/cleanup_error.log 2>&1" - -(crontab -u apache -l 2> /dev/null; echo %{apache_crontab_entry}) | crontab -u apache - 2> /dev/null + %define apache_crontab_entry "# 0 * * * * /usr/bin/retrace-server-cleanup >> /var/log/retrace-server/cleanup_error.log 2>&1" + (crontab -u apache -l 2> /dev/null; echo %{apache_crontab_entry}) | crontab -u apache - 2> /dev/null +fi %preun if [ "$1" = 0 ] @@ -87,14 +90,14 @@ fi %config(noreplace) %{_sysconfdir}/yum.repos.d/%{name}.repo %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %dir %attr(0755,retrace,retrace) %{_localstatedir}/cache/%{name} -%dir %attr(0755,retrace,retrace) %{_localstatedir}/log/%{name} +%dir %attr(0775,retrace,apache) %{_localstatedir}/log/%{name} %dir %attr(0775,retrace,apache) %{_localstatedir}/spool/%{name} %dir %{_datadir}/%{name} %{_bindir}/%{name}-worker %{_bindir}/%{name}-cleanup %{_bindir}/%{name}-reposync %{_bindir}/coredump2packages -%{python_site}/retrace.py* +%{python_site}/retrace/* %{_datadir}/%{name}/* %attr(0600,root,root) %{_localstatedir}/spool/cron/retrace %doc %{_mandir}/man1/%{name}-cleanup.1.gz @@ -104,6 +107,15 @@ fi %doc COPYING INSTALL README TODO %changelog +* Tue Aug 23 2011 Michal Toman 1.3-1 +- cron jobs are not enabled by default +- support X-Task-Type header +- use atomic operations to lock/rename +- add support for http(s) and ftp in reposync +- abort if release is not supported +- add option to use createrepo --update +- add support for F16 + * Wed Jun 29 2011 Michal Toman 1.2-1 - add option to verify GPG signatures - make HTTPS optional diff --git a/sources b/sources index b71f78d..77b61d7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -67b1a1f8707389fc5a7989210ed7a64e retrace-server-1.2.tar.gz +460f2d0babc7e5c6b7c772389617f2e2 retrace-server-1.3.tar.gz