From 6aa7914606af593a9284c409d624cbbe4f3f92b4 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Thu, 15 Aug 2013 18:25:59 +0200 Subject: Update RPM to keep the static files cache on uninstall --- hyperkitty.spec | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/hyperkitty.spec b/hyperkitty.spec index 4ec2c55..a5d7853 100644 --- a/hyperkitty.spec +++ b/hyperkitty.spec @@ -1,8 +1,8 @@ %global pypi_name HyperKitty Name: hyperkitty -Version: 0.1.6 -Release: 1%{?dist} +Version: 0.1.7 +Release: 0.1%{?dist} Summary: A web interface to access GNU Mailman v3 archives License: GPLv3 @@ -139,14 +139,6 @@ rm -f hyperkitty_standalone/__init__.py assets build --parse-templates &>/dev/null || : -%preun -# The static files are a cache and can be removed with the package -if [ $1 -eq 0 ] ; then - # Package removal, not upgrade - rm -rf %{_localstatedir}/lib/%{name}/sites/default/static -fi - - %files %doc html README.rst COPYING.txt %config(noreplace) %{_sysconfdir}/%{name} @@ -162,6 +154,10 @@ fi %changelog +* Thu Aug 15 2013 Aurelien Bompard - 0.1.7-0.1 +- don't remove the static files cache on uninstall (it may have local + modifications) + * Tue Jul 23 2013 Aurelien Bompard - 0.1.6-1 - version 0.1.6 -- cgit