%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
%define debug_package %{nil}
+# Prevent unwanted bytecode stripping by RPM.
+%define __strip /bin/true
+
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
-Release: 1
+Release: @RPM_RELEASE@
Summary: Replacement for cron with dependencies
Group: Development/Libraries
BuildRequires: ocaml-calendar-devel >= 2
BuildRequires: ocaml-ocamlnet-devel >= 3
BuildRequires: ocaml-camlp4-devel
+BuildRequires: mailx
# For building manual pages.
BuildRequires: /usr/bin/perldoc
Requires: ocaml-camlp4-devel
Requires: ocaml-findlib-devel
+# Requires mailx for sending email.
+Requires: mailx
+
%description
Whenjobs is a powerful but simple cron replacement.
%{_sysconfdir}/prelink.conf.d/%{name}.conf
%{_bindir}/whenjobs
%{_sbindir}/whenjobsd
+%{_libdir}/whenjobs/*.cmi
%{_libdir}/whenjobs/pa_when.cmo
%{_libdir}/whenjobs/whenlib.cma
%{_mandir}/man1/*.1*
%changelog
-* Fri Feb 17 2012 Richard W.M. Jones <rjones@redhat.com> - @PACKAGE_VERSION@-1
+* Fri Feb 17 2012 Richard W.M. Jones <rjones@redhat.com> - @PACKAGE_VERSION@-@RPM_RELEASE@
- Initial release.