Changed files:
Zope-I18NLayer.spec -> 1.10
# Source0-md5: 63097d2b464724c381afd3d598233994
URL: http://plone.org/Members/longsleep/I18NLayer/
BuildRequires: python
# Source0-md5: 63097d2b464724c381afd3d598233994
URL: http://plone.org/Members/longsleep/I18NLayer/
BuildRequires: python
+BuildRequires: rpmbuild(macros) >= 1.268
%pyrequires_eq python-modules
Requires: Zope
Requires: Zope-CMFPlone
%pyrequires_eq python-modules
Requires: Zope
Requires: Zope-CMFPlone
-Requires: Zope-archetypes
Requires: Zope-PloneLanguageTool
Requires: Zope-PloneLanguageTool
+Requires: Zope-archetypes
Requires(post,postun): /usr/sbin/installzopeproduct
BuildArch: noarch
Requires(post,postun): /usr/sbin/installzopeproduct
BuildArch: noarch
%post
/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
%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}
%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