X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=whenjobs.spec.in;h=c8fa291b016f579e1e37832555cdc08f2426a5a0;hb=af1c5a6d443f43ab70da7e9bc37b3eca6af64145;hp=22ad6de73b328d7af7b643d53eba1fbdcd7221d6;hpb=5fd395fada4321c9ac71a8af7d9a445b8171ed82;p=whenjobs.git diff --git a/whenjobs.spec.in b/whenjobs.spec.in index 22ad6de..c8fa291 100644 --- a/whenjobs.spec.in +++ b/whenjobs.spec.in @@ -1,9 +1,12 @@ %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 @@ -17,6 +20,7 @@ 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 @@ -26,6 +30,9 @@ 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. @@ -72,6 +79,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* @@ -79,5 +87,5 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Fri Feb 17 2012 Richard W.M. Jones - @PACKAGE_VERSION@-1 +* Fri Feb 17 2012 Richard W.M. Jones - @PACKAGE_VERSION@-@RPM_RELEASE@ - Initial release.