Use __ocaml_requires_opts / __ocaml_provides_opts.

This commit is contained in:
Richard W.M. Jones 2009-12-16 17:05:57 +00:00
parent b5f5626894
commit fc4ba7ecdc
1 changed files with 5 additions and 2 deletions

View File

@ -3,7 +3,7 @@
Name: ocaml-findlib
Version: 1.2.5
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Objective CAML package manager and build helper
Group: Development/Libraries
@ -20,7 +20,7 @@ BuildRequires: ocaml-ocamldoc
BuildRequires: m4, ncurses-devel
BuildRequires: gawk
%global __ocaml_requires %{_rpmconfigdir}/ocaml-find-requires.sh -i Asttypes -i Parsetree
%global __ocaml_requires_opts -i Asttypes -i Parsetree
%description
Objective CAML package manager and build helper.
@ -108,6 +108,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Dec 16 2009 Richard W.M. Jones <rjones@redhat.com> - 1.2.5-3
- Use __ocaml_requires_opts / __ocaml_provides_opts.
* Wed Dec 16 2009 Richard W.M. Jones <rjones@redhat.com> - 1.2.5-2
- Update to use RPM dependency generator.