[packages/pootle/dev-2.7] cleanup empty dir
glen
glen at pld-linux.org
Sun May 8 10:25:01 CEST 2016
commit 44eb794923f6eb49acd301dde4cdf35fe6940848
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun May 8 11:24:56 2016 +0300
cleanup empty dir
pootle.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/pootle.spec b/pootle.spec
index a86f5af..6454d3f 100644
--- a/pootle.spec
+++ b/pootle.spec
@@ -4,7 +4,7 @@
Summary: Localization and translation management web application
Name: pootle
Version: 2.7.3
-Release: 0.5
+Release: 0.6
License: GPL v2
Group: Development/Tools
Source0: https://github.com/translate/pootle/releases/download/%{version}/Pootle-%{version}.tar.bz2
@@ -77,6 +77,7 @@ install -d $RPM_BUILD_ROOT{%{_sbindir},%{_datadir}/%{name},%{_sharedstatedir}/%{
# move these to /var/lib/pootle/po
mv $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/translations/{terminology,tutorial} \
$RPM_BUILD_ROOT%{_sharedstatedir}/%{name}/po
+rmdir $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/translations
# install_dirs.py was modified _after_ install completed, so compile again
# before py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pootle.git/commitdiff/44eb794923f6eb49acd301dde4cdf35fe6940848
More information about the pld-cvs-commit
mailing list