[packages/bacula-web] do not package empty templates_c

glen glen at pld-linux.org
Thu Jan 24 17:52:43 CET 2013


commit 8eb594c50f6baf8830fc08c8a231e05169fd2602
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jan 24 18:52:32 2013 +0200

    do not package empty templates_c

 bacula-web.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/bacula-web.spec b/bacula-web.spec
index c11d85d..8222731 100644
--- a/bacula-web.spec
+++ b/bacula-web.spec
@@ -47,9 +47,11 @@ information from your bacula catalog's database.
 %patch0 -p1
 
 mv config/config.php{.sample,}
-rm locale/*/LC_MESSAGES/*.po
+%{__rm} locale/*/LC_MESSAGES/*.po
 mv core/external .
 
+%{__rm} -r templates_c
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir},%{cachedir}}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bacula-web.git/commitdiff/8eb594c50f6baf8830fc08c8a231e05169fd2602



More information about the pld-cvs-commit mailing list