Commit 08655107 authored by Kevin Deldycke's avatar Kevin Deldycke

Add missing custom commands


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5167 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f1425df9
%define product ERP5Type %define product ERP5Type
%define version 0.10 %define version 0.10
%define release 1 %define release 2
%define zope_home %{_prefix}/lib/zope %define zope_home %{_prefix}/lib/zope
%define software_home %{zope_home}/lib/python %define software_home %{zope_home}/lib/python
...@@ -40,6 +40,7 @@ the Rapid Application Developpement feature used in ERP5. ...@@ -40,6 +40,7 @@ the Rapid Application Developpement feature used in ERP5.
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}
%post %post
mkdir /var/lib/zope/Document
if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart service zope restart
fi fi
...@@ -56,6 +57,9 @@ fi ...@@ -56,6 +57,9 @@ fi
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%changelog %changelog
* Thu Jan 19 2006 Kevin Deldycke <kevin@nexedi.com> 0.10-2mdk
- Add missing custom post-command
* Wed Jan 18 2006 Kevin Deldycke <kevin@nexedi.com> 0.10-1mdk * Wed Jan 18 2006 Kevin Deldycke <kevin@nexedi.com> 0.10-1mdk
- Update to version 0.10 - Update to version 0.10
......
%define product ZSQLCatalog %define product ZSQLCatalog
%define version 0.10 %define version 0.10
%define release 1 %define release 2
%define zope_home %{_prefix}/lib/zope %define zope_home %{_prefix}/lib/zope
%define software_home %{zope_home}/lib/python %define software_home %{zope_home}/lib/python
...@@ -40,6 +40,8 @@ which can be connected to any SQL relationnal database through ZSQLMethods. ...@@ -40,6 +40,8 @@ which can be connected to any SQL relationnal database through ZSQLMethods.
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}
%post %post
mkdir /var/lib/zope/Extensions
ln -s %{software_home}/Products/%{name}/zsqlbrain.py /var/lib/zope/Extensions/
if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then if [ "`%{_prefix}/bin/zopectl status`" != "daemon manager not running" ] ; then
service zope restart service zope restart
fi fi
...@@ -56,6 +58,9 @@ fi ...@@ -56,6 +58,9 @@ fi
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%changelog %changelog
* Thu Jan 19 2006 Kevin Deldycke <kevin@nexedi.com> 0.10-2mdk
- Add missing custom post-command
* Wed Jan 18 2006 Kevin Deldycke <kevin@nexedi.com> 0.10-1mdk * Wed Jan 18 2006 Kevin Deldycke <kevin@nexedi.com> 0.10-1mdk
- Update to version 0.10 - Update to version 0.10
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment