- ocaml-find-requires.sh: Calculate runtime version using ocamlrun
-version instead of fedora-ocaml-release file.
This commit is contained in:
parent
44da86600b
commit
7f67559c7f
@ -1,7 +1,7 @@
|
||||
#!/bin/sh -
|
||||
# OCaml-specific "find-requires" for RPM.
|
||||
# By Richard W.M. Jones <rjones@redhat.com>
|
||||
# $Id: ocaml-find-requires.sh,v 1.3 2007/09/06 11:49:59 rjones Exp $
|
||||
# $Id: ocaml-find-requires.sh,v 1.4 2008/11/20 15:30:55 rjones Exp $
|
||||
|
||||
#set -x
|
||||
|
||||
@ -69,5 +69,5 @@ sort -u
|
||||
if [ -n "$emit_compiler_version" ]; then
|
||||
# Every OCaml program depends on the version of the
|
||||
# runtime which was used to compile it.
|
||||
echo "ocaml(runtime) = `cat /usr/lib*/ocaml/fedora-ocaml-release`"
|
||||
echo "ocaml(runtime) = `ocamlrun -version | awk '{print $NF}' | sed 's/\+.*//'`"
|
||||
fi
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Name: ocaml
|
||||
Version: 3.11.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
|
||||
Summary: Objective Caml compiler and programming environment
|
||||
|
||||
@ -433,6 +433,10 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 4 2009 Richard W.M. Jones <rjones@redhat.com> - 3.11.1-2
|
||||
- ocaml-find-requires.sh: Calculate runtime version using ocamlrun
|
||||
-version instead of fedora-ocaml-release file.
|
||||
|
||||
* Wed Sep 30 2009 Richard W.M. Jones <rjones@redhat.com> - 3.11.1-1
|
||||
- OCaml 3.11.1 (this is virtually the same as the release candidate
|
||||
that we were using for Fedora 12).
|
||||
|
Loading…
Reference in New Issue
Block a user