- Patch to temporarily fix missing dynlink.cma.
- Rebuild for OCaml 3.11.0.
This commit is contained in:
parent
b9f066f981
commit
1ca0d9b997
11
ocaml-gettext-0.3.2-dynlink.patch
Normal file
11
ocaml-gettext-0.3.2-dynlink.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- ocaml-gettext-0.3.2.orig/ocaml-gettext/Makefile 2008-04-29 21:12:45.000000000 +0100
|
||||||
|
+++ ocaml-gettext-0.3.2/ocaml-gettext/Makefile 2008-12-05 12:22:12.000000000 +0000
|
||||||
|
@@ -63,7 +63,7 @@
|
||||||
|
|
||||||
|
ocaml-xgettext: $(BUILDBIN)
|
||||||
|
$(OCAMLC) \
|
||||||
|
- -I +camlp4 camlp4lib.cma \
|
||||||
|
+ -I +camlp4 dynlink.cma camlp4lib.cma \
|
||||||
|
unix.cma \
|
||||||
|
`$(OCAMLFIND) query -r -predicates byte gettext.extract -i-format` \
|
||||||
|
`$(OCAMLFIND) query -r -predicates byte gettext.extract -a-format` \
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: ocaml-gettext
|
Name: ocaml-gettext
|
||||||
Version: 0.3.2
|
Version: 0.3.2
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: OCaml library for i18n
|
Summary: OCaml library for i18n
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -12,7 +12,10 @@ URL: http://sylvain.le-gall.net/ocaml-gettext.html
|
|||||||
Source0: http://sylvain.le-gall.net/download/%{name}-%{version}.tar.gz
|
Source0: http://sylvain.le-gall.net/download/%{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: ocaml >= 3.10.0
|
# Fix dynlink.cma now required with OCaml 3.11.0.
|
||||||
|
Patch0: ocaml-gettext-0.3.2-dynlink.patch
|
||||||
|
|
||||||
|
BuildRequires: ocaml >= 3.11.0-1
|
||||||
BuildRequires: ocaml-findlib-devel >= 1.2.1-3
|
BuildRequires: ocaml-findlib-devel >= 1.2.1-3
|
||||||
BuildRequires: ocaml-ocamldoc
|
BuildRequires: ocaml-ocamldoc
|
||||||
BuildRequires: ocaml-camlp4-devel
|
BuildRequires: ocaml-camlp4-devel
|
||||||
@ -97,6 +100,7 @@ signature files for developing applications that use
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -216,6 +220,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 5 2008 Richard W.M. Jones <rjones@redhat.com> - 0.3.2-6
|
||||||
|
- Patch to temporarily fix missing dynlink.cma.
|
||||||
|
- Rebuild for OCaml 3.11.0.
|
||||||
|
|
||||||
* Wed Nov 26 2008 Richard W.M. Jones <rjones@redhat.com> - 0.3.2-5
|
* Wed Nov 26 2008 Richard W.M. Jones <rjones@redhat.com> - 0.3.2-5
|
||||||
- Rebuild for OCaml 3.11.0+rc1.
|
- Rebuild for OCaml 3.11.0+rc1.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user