Enable bytecode compilation.
This commit is contained in:
parent
b73f3ccad5
commit
79949d3643
|
@ -1,6 +1,8 @@
|
|||
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||
|
||||
Name: ocaml-camlimages
|
||||
Version: 4.1.0
|
||||
Release: 13%{?dist}
|
||||
Release: 14%{?dist}
|
||||
Summary: OCaml image processing library
|
||||
|
||||
Group: Development/Libraries
|
||||
|
@ -72,7 +74,9 @@ cp -pr License.txt htmlref $RPM_BUILD_ROOT/usr/share/doc/ocaml-camlimages
|
|||
%doc README License.txt
|
||||
%{_libdir}/ocaml/camlimages
|
||||
%exclude %{_libdir}/ocaml/camlimages/*.a
|
||||
%if %{opt}
|
||||
%exclude %{_libdir}/ocaml/camlimages/*.cmxa
|
||||
%endif
|
||||
# There aren't any *.cmx files
|
||||
#%exclude %{_libdir}/ocaml/camlimages/*.cmx
|
||||
%exclude %{_libdir}/ocaml/camlimages/*.mli
|
||||
|
@ -83,13 +87,18 @@ cp -pr License.txt htmlref $RPM_BUILD_ROOT/usr/share/doc/ocaml-camlimages
|
|||
%files devel
|
||||
%doc htmlref
|
||||
%{_libdir}/ocaml/camlimages/*.a
|
||||
%if %{opt}
|
||||
%{_libdir}/ocaml/camlimages/*.cmxa
|
||||
%endif
|
||||
# There aren't any *.cmx files
|
||||
#%{_libdir}/ocaml/camlimages/*.cmx
|
||||
%{_libdir}/ocaml/camlimages/*.mli
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 22 2015 Richard W.M. Jones <rjones@redhat.com> - 4.1.0-14
|
||||
- Enable bytecode compilation.
|
||||
|
||||
* Wed Jun 24 2015 Richard W.M. Jones <rjones@redhat.com> - 4.1.0-13
|
||||
- ocaml-4.02.2 final rebuild.
|
||||
|
||||
|
|
Loading…
Reference in New Issue