rpm: Add BR pcre-devel.
[whenjobs.git] / whenjobs.spec.in
index aba6433..cb52aa6 100644 (file)
@@ -20,15 +20,22 @@ BuildRequires:   ocaml-findlib-devel
 BuildRequires:   ocaml-calendar-devel >= 2
 BuildRequires:   ocaml-ocamlnet-devel >= 3
 BuildRequires:   ocaml-camlp4-devel
+BuildRequires:   mailx
 
 # For building manual pages.
 BuildRequires:   /usr/bin/perldoc
 
+# Not clear what requires this, but it is needed.
+BuildRequires:   pcre-devel, ocaml-pcre-devel
+
 # Requires camlp4 and ocamlfind at runtime.
 Requires:        /usr/bin/ocamlc
 Requires:        ocaml-camlp4-devel
 Requires:        ocaml-findlib-devel
 
+# Requires mailx for sending email.
+Requires:        mailx
+
 
 %description
 Whenjobs is a powerful but simple cron replacement.
@@ -75,6 +82,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_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*