Changed files:
Zope-Hotfix.spec -> 1.3
URL: http://www.zope.org/Products/Zope/Hotfix-2005-04-05/announce-Hotfix_20050405/
BuildRequires: python
%pyrequires_eq python-modules
URL: http://www.zope.org/Products/Zope/Hotfix-2005-04-05/announce-Hotfix_20050405/
BuildRequires: python
%pyrequires_eq python-modules
+BuildRequires: rpmbuild(macros) >= 1.268
Requires(post,postun): /usr/sbin/installzopeproduct
Requires(post,postun): /usr/sbin/installzopeproduct
Obsoletes: Zope-Hotfix = 040713
Obsoletes: Zope-Hotfix = 040714
BuildArch: noarch
Obsoletes: Zope-Hotfix = 040713
Obsoletes: Zope-Hotfix = 040714
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