Move to latest git commit upstream.
- Enable bytecode builds.
This commit is contained in:
parent
5b30dcf322
commit
88f545ca37
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user