packages: bzr/bzr.spec, bzr/locale-path.patch (NEW)=?UTF-8?Q?=20?=- fixed locales install...

kiesiu kiesiu at pld-linux.org
Tue Mar 6 12:49:10 CET 2012


Author: kiesiu                       Date: Tue Mar  6 11:49:10 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed locales install path

---- Files affected:
packages/bzr:
   bzr.spec (1.75 -> 1.76) , locale-path.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/bzr/bzr.spec
diff -u packages/bzr/bzr.spec:1.75 packages/bzr/bzr.spec:1.76
--- packages/bzr/bzr.spec:1.75	Tue Mar  6 12:01:47 2012
+++ packages/bzr/bzr.spec	Tue Mar  6 12:49:04 2012
@@ -8,6 +8,7 @@
 Group:		Development/Version Control
 Source0:	http://launchpad.net/bzr/2.5/%{version}/+download/%{name}-%{version}.tar.gz
 # Source0-md5:	44eb47b77995098a28f017e2daa606b6
+Patch0:		locale-path.patch
 URL:		http://bazaar.canonical.com/
 BuildRequires:	python >= 1:2.6
 BuildRequires:	python-devel
@@ -75,6 +76,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 # move out of contrib, as we package contrib as doc
 mv contrib/bash/bzr bash_completion.sh
@@ -145,6 +147,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.76  2012/03/06 11:49:04  kiesiu
+- fixed locales install path
+
 Revision 1.75  2012/03/06 11:01:47  kiesiu
 - updated to 2.5.0
 

================================================================
Index: packages/bzr/locale-path.patch
diff -u /dev/null packages/bzr/locale-path.patch:1.1
--- /dev/null	Tue Mar  6 12:49:10 2012
+++ packages/bzr/locale-path.patch	Tue Mar  6 12:49:04 2012
@@ -0,0 +1,12 @@
+diff -uNr bzr-2.5.0/setup.py bzr-2.5.0.new/setup.py
+--- bzr-2.5.0/setup.py	2012-02-24 11:42:19.000000000 +0100
++++ bzr-2.5.0.new/setup.py	2012-03-06 12:42:37.528774052 +0100
+@@ -76,7 +76,7 @@
+ I18N_FILES = []
+ for filepath in glob.glob("bzrlib/locale/*/LC_MESSAGES/*.mo"):
+     langfile = filepath[len("bzrlib/locale/"):]
+-    targetpath = os.path.dirname(os.path.join("share/locale", langfile))
++    targetpath = os.path.dirname(os.path.join("locale", langfile))
+     I18N_FILES.append((targetpath, [filepath]))
+ 
+ def get_bzrlib_packages():
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/bzr/bzr.spec?r1=1.75&r2=1.76&f=u



More information about the pld-cvs-commit mailing list