Commit 6f8ba3f5 authored by Kevin Deldycke's avatar Kevin Deldycke

Add missing custom commands


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5165 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7e0d66ce
%define product ERP5 %define product ERP5
%define version 0.10 %define version 0.10
%define release 3 %define release 4
%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
...@@ -41,6 +41,10 @@ very short time. ...@@ -41,6 +41,10 @@ very short time.
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}
%post %post
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/
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
...@@ -57,6 +61,9 @@ fi ...@@ -57,6 +61,9 @@ fi
#---------------------------------------------------------------------- #----------------------------------------------------------------------
%changelog %changelog
* Thu Jan 19 2006 Kevin Deldycke <kevin@nexedi.com> 0.10-4mdk
- Add missing custom post-command
* Wed Jan 18 2006 Kevin Deldycke <kevin@nexedi.com> 0.10-3mdk * Wed Jan 18 2006 Kevin Deldycke <kevin@nexedi.com> 0.10-3mdk
- Add a version to the required zope package - Add a version to the required zope package
......
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