[packages/weblate] fix path to manage script; update pld uid/gid
glen
glen at pld-linux.org
Mon Apr 24 00:47:25 CEST 2017
commit f001b8f0fe301d7d485c948416d2d4b3c9505bcb
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Apr 24 01:45:39 2017 +0300
fix path to manage script; update pld uid/gid
weblate.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/weblate.spec b/weblate.spec
index d5b17a6..aca9895 100644
--- a/weblate.spec
+++ b/weblate.spec
@@ -8,7 +8,7 @@
Summary: Web-based translation tool
Name: weblate
Version: 2.13.1
-Release: 0.4
+Release: 0.5
License: GPL v3.0+
Group: Applications/WWW
Source0: http://dl.cihar.com/weblate/Weblate-%{version}.tar.xz
@@ -163,7 +163,7 @@ cp -p examples/apache.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache2/vhosts.d/weblat
%post
# Static files
-%{WLDIR}/manage.py collectstatic --noinput
+%{_bindir}/weblate collectstatic --noinput || :
%clean
rm -rf $RPM_BUILD_ROOT
@@ -175,7 +175,7 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace) %{_sysconfdir}/apache2
%attr(755,root,root) %{_bindir}/weblate
%{WLDIR}
-%attr(755,wwwrun,www) %{WLDATADIR}
+%attr(640,root,http) %{WLDATADIR}
%dir %{py_sitescriptdir}/%{module}
%{py_sitescriptdir}/%{module}/*.py*
%{py_sitescriptdir}/%{module}/accounts
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/weblate.git/commitdiff/f001b8f0fe301d7d485c948416d2d4b3c9505bcb
More information about the pld-cvs-commit
mailing list