From 7975f6bd70f721a78273e181f6fb6ebb694ecfa1 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 16 Dec 2009 17:05:33 +0000 Subject: [PATCH] Use __ocaml_requires_opts / __ocaml_provides_opts. --- ocaml.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ocaml.spec b/ocaml.spec index a42db1c..05b2166 100644 --- a/ocaml.spec +++ b/ocaml.spec @@ -2,7 +2,7 @@ Name: ocaml Version: 3.11.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Objective Caml compiler and programming environment @@ -56,8 +56,8 @@ Requires: rpm-build >= 4.8.0 Provides: ocaml(compiler) = %{version} ExclusiveArch: alpha armv4l %{ix86} ia64 x86_64 ppc sparc sparcv9 ppc64 -%global __ocaml_requires %{_rpmconfigdir}/ocaml-find-requires.sh -c -f %{buildroot}%{_bindir}/ocamlobjinfo -%global __ocaml_provides %{_rpmconfigdir}/ocaml-find-provides.sh -f %{buildroot}%{_bindir}/ocamlobjinfo +%global __ocaml_requires_opts -c -f %{buildroot}%{_bindir}/ocamlobjinfo +%global __ocaml_provides_opts -f %{buildroot}%{_bindir}/ocamlobjinfo %description @@ -443,6 +443,9 @@ fi %changelog +* Wed Dec 16 2009 Richard W.M. Jones - 3.11.1-8 +- Use __ocaml_requires_opts / __ocaml_provides_opts. + * Wed Dec 16 2009 Richard W.M. Jones - 3.11.1-7 - Remove ocaml-find-{requires,provides}.sh from this package. These are now in upstream RPM 4.8 (RHBZ#545116).