# Source0-md5: c4dedabced3f11af450e6750e7201f8a
URL: http://sourceforge.net/projects/collective/
BuildRequires: python
+BuildRequires: rpmbuild(macros) >= 1.268
%pyrequires_eq python-modules
+Requires(post,postun): /usr/sbin/installzopeproduct
+Requires: Zope
Requires: Zope-CMF
Requires: Zope-CMFPlone
-Requires: Zope
-Requires(post,postun): /usr/sbin/installzopeproduct
-BuildArch: noarch
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Conflicts: CMF
Conflicts: Plone
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
CMFVisualEditor is a Zope product, a skin for Plone that makes use of
%post
/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
-if [ -f /var/lock/subsys/zope ]; then
- /etc/rc.d/init.d/zope restart >&2
-fi
+%service -q zope restart
%postun
if [ "$1" = "0" ]; then
/usr/sbin/installzopeproduct -d %{zope_subname}
- if [ -f /var/lock/subsys/zope ]; then
- /etc/rc.d/init.d/zope restart >&2
- fi
+ %service -q zope restart
fi
%files