Requires(post,preun): /sbin/chkconfig
Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
Requires: perl-Locale-gettext
+Requires: rc-scripts
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.h
rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/scripts/po
+%clean
+rm -rf $RPM_BUILD_ROOT
+
%post
if [ "$1" = "1" ]; then
/sbin/chkconfig --add dchub
fi
fi
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO