X-Git-Url: http://git.annexia.org/?p=whenjobs.git;a=blobdiff_plain;f=whenjobs.spec.in;h=8b663e44324c27bf2ea443230f61cf6f6f9d785a;hp=c8fa291b016f579e1e37832555cdc08f2426a5a0;hb=7e01f4e655c5ceadbb571f4ded19427b41ae2933;hpb=af1c5a6d443f43ab70da7e9bc37b3eca6af64145 diff --git a/whenjobs.spec.in b/whenjobs.spec.in index c8fa291..8b663e4 100644 --- a/whenjobs.spec.in +++ b/whenjobs.spec.in @@ -6,7 +6,7 @@ Name: @PACKAGE_NAME@ Version: @PACKAGE_VERSION@ -Release: @RPM_RELEASE@ +Release: @RPM_RELEASE@%{?dist} Summary: Replacement for cron with dependencies Group: Development/Libraries @@ -25,6 +25,10 @@ BuildRequires: mailx # For building manual pages. BuildRequires: /usr/bin/perldoc +# Not clear what requires this, but it is needed. +BuildRequires: pcre-devel +BuildRequires: ocaml-pcre-devel + # Requires camlp4 and ocamlfind at runtime. Requires: /usr/bin/ocamlc Requires: ocaml-camlp4-devel @@ -69,16 +73,12 @@ cat <$RPM_BUILD_ROOT/%{_sysconfdir}/prelink.conf.d/%{name}.conf EOF -%clean -rm -rf $RPM_BUILD_ROOT - - %files -%defattr(-,root,root,-) %doc COPYING README %{_sysconfdir}/prelink.conf.d/%{name}.conf %{_bindir}/whenjobs %{_sbindir}/whenjobsd +%dir %{_libdir}/whenjobs %{_libdir}/whenjobs/*.cmi %{_libdir}/whenjobs/pa_when.cmo %{_libdir}/whenjobs/whenlib.cma @@ -87,5 +87,5 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Fri Feb 17 2012 Richard W.M. Jones - @PACKAGE_VERSION@-@RPM_RELEASE@ +* Sun Mar 18 2012 Richard W.M. Jones - @PACKAGE_VERSION@-@RPM_RELEASE@ - Initial release.