rpms/ocaml/devel ocaml-find-requires.sh, 1.1, 1.2 ocaml.spec, 1.32, 1.33
Richard W.M. Jones (rjones)
fedora-extras-commits at redhat.com
Mon Sep 3 14:35:42 UTC 2007
Author: rjones
Update of /cvs/pkgs/rpms/ocaml/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11350
Modified Files:
ocaml-find-requires.sh ocaml.spec
Log Message:
* Mon Sep 3 2007 Richard W.M. Jones <rjones at redhat.com> - 3.10.0-6
- ocaml-runtime provides ocaml(runtime) = 3.10.0, and
ocaml-find-requires.sh modified so that it adds this requires
to other packages. Now can upgrade base ocaml packages without
needing to rebuild everything else.
Index: ocaml-find-requires.sh
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml/devel/ocaml-find-requires.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ocaml-find-requires.sh 2 Jul 2007 15:13:39 -0000 1.1
+++ ocaml-find-requires.sh 3 Sep 2007 14:35:10 -0000 1.2
@@ -66,8 +66,7 @@
sort -u
if [ -n "$emit_compiler_version" ]; then
- # Every OCaml program depends on the precise version of the
- # compiler which was used to compile it.
- # rpm -q --qf '%{NAME} = %{VERSION}-%{RELEASE}\n' ocaml
- echo "ocaml = `cat /usr/lib*/ocaml/fedora-ocaml-release`"
+ # 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`"
fi
Index: ocaml.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml/devel/ocaml.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- ocaml.spec 3 Sep 2007 13:24:15 -0000 1.32
+++ ocaml.spec 3 Sep 2007 14:35:10 -0000 1.33
@@ -1,6 +1,6 @@
Name: ocaml
Version: 3.10.0
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Objective Caml compiler and programming environment
@@ -38,6 +38,7 @@
Requires: gcc
Requires: ncurses-devel
Requires: gdbm-devel
+Provides: ocaml(compiler) = %{version}
ExcludeArch: ppc64
%description
@@ -54,6 +55,7 @@
Group: System Environment/Libraries
Summary: Objective Caml runtime environment
Requires: util-linux-ng
+Provides: ocaml(runtime) = %{version}
%description runtime
Objective Caml is a high-level, strongly-typed, functional and
@@ -421,6 +423,12 @@
%changelog
+* Mon Sep 3 2007 Richard W.M. Jones <rjones at redhat.com> - 3.10.0-6
+- ocaml-runtime provides ocaml(runtime) = 3.10.0, and
+ ocaml-find-requires.sh modified so that it adds this requires
+ to other packages. Now can upgrade base ocaml packages without
+ needing to rebuild everything else.
+
* Mon Sep 3 2007 Richard W.M. Jones <rjones at redhat.com> - 3.10.0-5
- Don't include the release number in fedora-ocaml-release file, so
that packages built against this won't depend on the Fedora release.
More information about the fedora-extras-commits
mailing list