diff --git a/product/ERP5/spec/ERP5.spec b/product/ERP5/spec/ERP5.spec
index 2f45a957323397463e107e4af76fc10a0da53502..713862e1681ff9435ca6e228aaa6b58d143561a9 100755
--- a/product/ERP5/spec/ERP5.spec
+++ b/product/ERP5/spec/ERP5.spec
@@ -1,6 +1,6 @@
 %define product ERP5
 %define version 0.10
-%define release 5
+%define release 6
 
 %define zope_home %{_prefix}/lib/zope
 %define software_home %{zope_home}/lib/python
@@ -44,7 +44,7 @@ very short time.
 mkdir /var/lib/zope/Extensions
 mkdir /var/lib/zope/PropertySheet
 mkdir /var/lib/zope/Constraint
-ln -s %{software_home}/Products/%{name}/Extensions/zsqlbrain.py /var/lib/zope/Extensions/
+ln -s %{software_home}/Products/%{product}/Extensions/zsqlbrain.py /var/lib/zope/Extensions/
 if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
   service zope restart
 fi
@@ -61,6 +61,9 @@ fi
 
 #----------------------------------------------------------------------
 %changelog
+* Mon Jan 23 2006 Kevin Deldycke <kevin@nexedi.com> 0.10-6mdk
+- Fix bad symlink
+
 * Thu Jan 19 2006 Kevin Deldycke <kevin@nexedi.com> 0.10-5mdk
 - Don't need Translation Service Zope product for ERP5
 
diff --git a/product/ERP5/spec/ZSQLCatalog.spec b/product/ERP5/spec/ZSQLCatalog.spec
index 353ed7da3b4544aa53757ad10215428cd9a2b65f..e062eb15a693413eb3c56b65973e613da063a9d1 100755
--- a/product/ERP5/spec/ZSQLCatalog.spec
+++ b/product/ERP5/spec/ZSQLCatalog.spec
@@ -1,6 +1,6 @@
 %define product ZSQLCatalog
 %define version 0.10
-%define release 2
+%define release 3
 
 %define zope_home %{_prefix}/lib/zope
 %define software_home %{zope_home}/lib/python
@@ -41,7 +41,7 @@ which can be connected to any SQL relationnal database through ZSQLMethods.
 
 %post
 mkdir /var/lib/zope/Extensions
-ln -s %{software_home}/Products/%{name}/zsqlbrain.py /var/lib/zope/Extensions/
+ln -s %{software_home}/Products/%{product}/zsqlbrain.py /var/lib/zope/Extensions/
 if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
   service zope restart
 fi
@@ -58,6 +58,9 @@ fi
 
 #----------------------------------------------------------------------
 %changelog
+* Mon Jan 23 2006 Kevin Deldycke <kevin@nexedi.com> 0.10-3mdk
+- Fix bad symlink
+
 * Thu Jan 19 2006 Kevin Deldycke <kevin@nexedi.com> 0.10-2mdk
 - Add missing custom post-command