rpms/translate-toolkit/devel translate-toolkit-1.7.0-bug603597_r14946_moz2po_needs_output_dir.patch, NONE, 1.1 translate-toolkit.spec, 1.45, 1.46
dwayne
dwayne at fedoraproject.org
Thu Jul 22 06:11:30 UTC 2010
Author: dwayne
Update of /cvs/pkgs/rpms/translate-toolkit/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv8904
Modified Files:
translate-toolkit.spec
Added Files:
translate-toolkit-1.7.0-bug603597_r14946_moz2po_needs_output_dir.patch
Log Message:
* Thu Jul 22 2010 Dwayne Bailey <dwayne at translate.org.za> - 1.7.0-3
- Depend on aeidon for subtitle support
- Backport r14946 to fix rhbz#603597 - moz2po output to directory
translate-toolkit-1.7.0-bug603597_r14946_moz2po_needs_output_dir.patch:
optrecurse.py | 2 ++
1 file changed, 2 insertions(+)
--- NEW FILE translate-toolkit-1.7.0-bug603597_r14946_moz2po_needs_output_dir.patch ---
--- src/trunk/translate/misc/optrecurse.py 2010/07/14 13:25:45 14945
+++ src/trunk/translate/misc/optrecurse.py 2010/07/14 20:12:34 14946
@@ -454,6 +454,8 @@
"""recurse through directories and process files"""
if self.isrecursive(options.input, 'input') and getattr(options, "allowrecursiveinput", True):
if not self.isrecursive(options.output, 'output'):
+ if not options.output:
+ self.error(optparse.OptionValueError("No output directory given"))
try:
self.warning("Output directory does not exist. Attempting to create")
os.mkdir(options.output)
Index: translate-toolkit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/translate-toolkit/devel/translate-toolkit.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -p -r1.45 -r1.46
--- translate-toolkit.spec 7 Jun 2010 10:29:34 -0000 1.45
+++ translate-toolkit.spec 22 Jul 2010 06:11:30 -0000 1.46
@@ -2,7 +2,7 @@
Name: translate-toolkit
Version: 1.7.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Tools to assist with translation and software localization
Group: Development/Tools
@@ -14,6 +14,7 @@ BuildRoot: %{_tmppath}/%{name}-%{ve
Patch0: translate-toolkit-1.5.3-stoplist.patch
Patch1: translate-toolkit-1.5.0-langmodel_dir.patch
Patch2: translate-toolkit-1.7.0-lang_zh_lamba.patch
+Patch3: translate-toolkit-1.7.0-bug603597_r14946_moz2po_needs_output_dir.patch
BuildArch: noarch
BuildRequires: python2-devel
@@ -31,6 +32,7 @@ Requires: python-psyco
%endif
Requires: python-simplejson
Requires: python-vobject
+Requires: aeidon
%description
@@ -70,6 +72,7 @@ toolkit or to use the libraries in other
%patch0 -p1
%patch1 -p1
%patch2 -p2
+%patch3 -p2
%build
@@ -128,6 +131,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu Jul 22 2010 Dwayne Bailey <dwayne at translate.org.za> - 1.7.0-3
+- Depend on aeidon for subtitle support
+- Backport r14946 to fix rhbz#603597 - moz2po output to directory
+
* Mon Jun 7 2010 Dwayne Bailey <dwayne at translate.org.za> - 1.7.0-2
- Backport upstream r14600 to fix rhbz#600561
More information about the scm-commits
mailing list