Move to latest git commit upstream.

- Enable bytecode builds.
This commit is contained in:
Richard W.M. Jones 2015-07-22 17:20:03 +01:00
parent 5b30dcf322
commit 88f545ca37
3 changed files with 12 additions and 3 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ ocaml-cairo-1.2.0-gita5c5ee9f.tar.gz
/ocaml-cairo-1.2.0-git08b40192975.tar.gz
/ocaml-cairo-1.2.0-git872c9bc92e6.tar.gz
/ocaml-cairo-5c1df1516ad99bde444bf5717801e7df75252a6c.tar.gz
/ocaml-cairo-675e51b639824f97e06683b080d57f2037064738.tar.gz

View File

@ -15,13 +15,13 @@
# http://cairographics.org/cairo-ocaml/
# Packaging git pre-releases here.
%global commit 5c1df1516ad99bde444bf5717801e7df75252a6c
%global commit 675e51b639824f97e06683b080d57f2037064738
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: ocaml-cairo
Epoch: 2
Version: 0.4.7
Release: 0.6.git%{shortcommit}%{?dist}
Release: 0.7.git%{shortcommit}%{?dist}
Summary: OCaml library for accessing cairo graphics
License: LGPLv3+
@ -112,7 +112,11 @@ export DESTDIR=$RPM_BUILD_ROOT
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
%if %{native_compiler}
ocamlfind install cairo2 src/{*.mli,*.cmi,*.cma,*.a,*.cmxa,*.cmx,dll*.so} META
%else
ocamlfind install cairo2 src/{*.mli,*.cmi,*.cma,dll*.so} META
%endif
%files
@ -139,6 +143,10 @@ ocamlfind install cairo2 src/{*.mli,*.cmi,*.cma,*.a,*.cmxa,*.cmx,dll*.so} META
%changelog
* Wed Jul 22 2015 Richard W.M. Jones <rjones@redhat.com> - 2:0.4.7-0.7.git675e51b
- Move to latest git commit upstream.
- Enable bytecode builds.
* Wed Jun 24 2015 Richard W.M. Jones <rjones@redhat.com> - 2:0.4.7-0.6.git5c1df15
- ocaml-4.02.2 final rebuild.

View File

@ -1 +1 @@
5119bd2096b310613c7fe082c84dab15 ocaml-cairo-5c1df1516ad99bde444bf5717801e7df75252a6c.tar.gz
13c84051cf35a5e2d5a871d615b5d1fd ocaml-cairo-675e51b639824f97e06683b080d57f2037064738.tar.gz