diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-08-15 18:25:59 +0200 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-08-15 18:25:59 +0200 |
commit | 6aa7914606af593a9284c409d624cbbe4f3f92b4 (patch) | |
tree | 40d0b9966a66c09043f52495b84a86b161062ddf | |
parent | 065d812dc48237a7e6b633067b96b24a81e60bf8 (diff) | |
download | hyperkitty-6aa7914606af593a9284c409d624cbbe4f3f92b4.tar.gz hyperkitty-6aa7914606af593a9284c409d624cbbe4f3f92b4.tar.xz hyperkitty-6aa7914606af593a9284c409d624cbbe4f3f92b4.zip |
Update RPM to keep the static files cache on uninstall
-rw-r--r-- | hyperkitty.spec | 16 |
1 files 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 <abompard@fedoraproject.org> - 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 <abompard@fedoraproject.org> - 0.1.6-1 - version 0.1.6 |