[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#309979: rules incorrect build mozilla-locale-ptbr package



Package: mozilla-locale-ptbr
Version: 1.7.11-2
Severity: minor
Tags: patch

rules needs to patch some jar files in the original upstream package
but after building Debian version of pt-BR.jar the destination
directory `locale' isn't removed from the build tree and the
Debian version of BR.jar is incorrectly generated. Adicionally, the
directory `locale' remains in the resulting Debian package.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored:
LC_ALL set to pt_BR)

Versions of packages mozilla-locale-ptbr depends on:
ii  mozilla-browser               2:1.7.7-2  The Mozilla Internet
application s

-- no debconf information

"Queremos um mundo de paz mas ainda hasteamos nossas 
bandeiras usando mastros em forma de lança." regisfg

http://www.advogato.org/person/regisfg
Usuário GNU/Linux 341449 - http://counter.li.org
Ooops... Não basta ser GNU/Linux, tem que ser Debian! @

Este computador está protegido contra os vírus que você 
recebe todos os dias. Eu uso Debian GNU/Linux - kernel 2.6.9

Mantenha seu sistema atualizado, use apt-get !


	
	
		
____________________________________________________Yahoo! Mail, cada vez melhor: agora com 1GB de espaço grátis! http://mail.yahoo.com.br
Index: debian/rules
===================================================================
--- debian/rules	(revisão 101)
+++ debian/rules	(cópia de trabalho)
@@ -34,7 +34,8 @@
 		patch -p0 < $$patch ; \
 	done && \
 	rm -r pt-BR.jar && \
-	zip -r pt-BR.jar locale
+	zip -r pt-BR.jar locale && \
+	rm -rf locale
 
 	cd build-dir/bin/chrome/ && \
 	unzip BR.jar && \
@@ -46,7 +47,8 @@
 	mv locale/BR/navigator-region/region.properties.ptbr \
 	   locale/BR/navigator-region/region.properties && \
 	rm -r BR.jar && \
-	zip -r BR.jar locale
+	zip -r BR.jar locale && \
+	rm -rf locale
 
 	touch build-stamp
 

Reply to: