diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-06-04 22:53:06 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-06-04 22:53:06 +0200 |
commit | 68eebc97af33370f378c96c3f3b6691d72105e7b (patch) | |
tree | 58ab3d1720efc746684545f2226ae0162af46273 | |
parent | 9325a91c511ee40537c7a34dab1469ae68b26a73 (diff) |
mysql workbench 5.1.22
-rw-r--r-- | mysql-workbench-5.2.22-python.patch | 33 | ||||
-rw-r--r-- | mysql-workbench.spec | 10 |
2 files changed, 41 insertions, 2 deletions
diff --git a/mysql-workbench-5.2.22-python.patch b/mysql-workbench-5.2.22-python.patch new file mode 100644 index 0000000..9a3bfbc --- /dev/null +++ b/mysql-workbench-5.2.22-python.patch @@ -0,0 +1,33 @@ +--- mysql-workbench-oss-5.2.22/res/scripts/snippets/shell_snippets.py.orig 2010-06-04 21:38:58.639945233 +0200 ++++ mysql-workbench-oss-5.2.22/res/scripts/snippets/shell_snippets.py 2010-06-04 21:39:15.835195627 +0200 +@@ -1,19 +1,19 @@ +- # iterate through all schemas +- for schema in grt.root.wb.doc.physicalModels[0].catalog.schemata: ++# iterate through all schemas ++for schema in grt.root.wb.doc.physicalModels[0].catalog.schemata: + print schema.name + +- # iterate through all tables from schema +- schema = grt.root.wb.doc.physicalModels[0].catalog.schemata[0] +- for table in schema.tables: ++# iterate through all tables from schema ++schema = grt.root.wb.doc.physicalModels[0].catalog.schemata[0] ++for table in schema.tables: + print table.name + +- # iterate through columns from schema +- schema = grt.root.wb.doc.physicalModels[0].catalog.schemata[0] +- for table in schema.tables: ++# iterate through columns from schema ++schema = grt.root.wb.doc.physicalModels[0].catalog.schemata[0] ++for table in schema.tables: + for column in table.columns: + print table.name, column.name + +- # iterate through all figures of a diagram +- diagram = grt.root.wb.doc.physicalModels[0].diagram +- for figure in diagram.figures: ++# iterate through all figures of a diagram ++diagram = grt.root.wb.doc.physicalModels[0].diagram ++for figure in diagram.figures: + print figure.__grtclassname__, figure.left, figure.top diff --git a/mysql-workbench.spec b/mysql-workbench.spec index 8a25c28..00d8aa4 100644 --- a/mysql-workbench.spec +++ b/mysql-workbench.spec @@ -1,10 +1,10 @@ #global postver b -%global cppconnver 1.1.0 +%global cppconnver 1.1.0-0.1.bzr819 Summary: A MySQL visual database modeling tool Name: mysql-workbench -Version: 5.2.21 +Version: 5.2.22 Release: 1%{?dist} Group: Applications/Databases License: GPLv2 @@ -16,6 +16,7 @@ Source: %{name}-oss-%{version}%{?postver}.tar.gz # !!! This patch use versioned soname !!! Patch1: %{name}-5.2.17-cppconn.patch Patch2: %{name}-5.2.16-scintilla.patch +Patch3: %{name}-5.2.22-python.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: pcre-devel >= 3.9 @@ -72,6 +73,7 @@ tools environment for: %patch1 -p1 -b .cppconn #patch2 -p1 -b .scintilla +%patch3 -p1 -b .fixindent # we use System provided libraries rm -rf ext/boost @@ -135,6 +137,10 @@ update-desktop-database &> /dev/null || : %changelog +* Fri Jun 04 2010 Remi Collet <RPMS@famillecollet.com> 5.2.22-1 +- update to 5.2.22 RC Community (OSS) Edition +- build against mysql-connector-c++ 1.1.0 (bzr819) + * Wed May 12 2010 Remi Collet <RPMS@famillecollet.com> 5.2.21-1 - update to 5.2.21 RC Community (OSS) Edition |