[packages/pootle/dev-2.7] update path for translations
glen
glen at pld-linux.org
Fri May 6 22:44:00 CEST 2016
commit 8df5b20b4c4258f55b32dfcdb0a8e0c88140a0c4
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri May 6 23:43:50 2016 +0300
update path for translations
pootle.spec | 3 +++
settings.patch | 11 +++++++++++
2 files changed, 14 insertions(+)
---
diff --git a/pootle.spec b/pootle.spec
index c3427b2..7d3b028 100644
--- a/pootle.spec
+++ b/pootle.spec
@@ -63,6 +63,9 @@ It's features include::
#%{__sed} -i -e '1s,#!.*env python,#!%{__python},' wsgi.py
+# not packaging for Travis CI
+rm pootle/settings/91-travis.conf
+
%build
%py_build
diff --git a/settings.patch b/settings.patch
index d19d755..5884de1 100644
--- a/settings.patch
+++ b/settings.patch
@@ -69,3 +69,14 @@
#EMAIL_HOST_PASSWORD = 'YOUR_PASSWORD'
#EMAIL_HOST = 'smtp.gmail.com'
#EMAIL_PORT = 587
+--- Pootle-2.7.3/pootle/settings/60-translation.conf~ 2016-04-25 17:04:49.000000000 +0300
++++ Pootle-2.7.3/pootle/settings/60-translation.conf 2016-05-06 23:42:45.773331232 +0300
+@@ -5,7 +5,7 @@
+
+
+ # The directory where the translation files are kept
+-POOTLE_TRANSLATION_DIRECTORY = working_path('translations')
++POOTLE_TRANSLATION_DIRECTORY = '/var/lib/pootle/po'
+
+ # On POSIX systems, files synchronized to disk will be assigned these
+ # permissions. Use 0644/0755 for publically-readable files, or 0600/0700 if you
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pootle.git/commitdiff/8df5b20b4c4258f55b32dfcdb0a8e0c88140a0c4
More information about the pld-cvs-commit
mailing list