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
|
Name: ocaml-camlimages
|
||||||
Version: 4.1.0
|
Version: 4.1.0
|
||||||
Release: 13%{?dist}
|
Release: 14%{?dist}
|
||||||
Summary: OCaml image processing library
|
Summary: OCaml image processing library
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -72,7 +74,9 @@ cp -pr License.txt htmlref $RPM_BUILD_ROOT/usr/share/doc/ocaml-camlimages
|
|||||||
%doc README License.txt
|
%doc README License.txt
|
||||||
%{_libdir}/ocaml/camlimages
|
%{_libdir}/ocaml/camlimages
|
||||||
%exclude %{_libdir}/ocaml/camlimages/*.a
|
%exclude %{_libdir}/ocaml/camlimages/*.a
|
||||||
|
%if %{opt}
|
||||||
%exclude %{_libdir}/ocaml/camlimages/*.cmxa
|
%exclude %{_libdir}/ocaml/camlimages/*.cmxa
|
||||||
|
%endif
|
||||||
# There aren't any *.cmx files
|
# There aren't any *.cmx files
|
||||||
#%exclude %{_libdir}/ocaml/camlimages/*.cmx
|
#%exclude %{_libdir}/ocaml/camlimages/*.cmx
|
||||||
%exclude %{_libdir}/ocaml/camlimages/*.mli
|
%exclude %{_libdir}/ocaml/camlimages/*.mli
|
||||||
@ -83,13 +87,18 @@ cp -pr License.txt htmlref $RPM_BUILD_ROOT/usr/share/doc/ocaml-camlimages
|
|||||||
%files devel
|
%files devel
|
||||||
%doc htmlref
|
%doc htmlref
|
||||||
%{_libdir}/ocaml/camlimages/*.a
|
%{_libdir}/ocaml/camlimages/*.a
|
||||||
|
%if %{opt}
|
||||||
%{_libdir}/ocaml/camlimages/*.cmxa
|
%{_libdir}/ocaml/camlimages/*.cmxa
|
||||||
|
%endif
|
||||||
# There aren't any *.cmx files
|
# There aren't any *.cmx files
|
||||||
#%{_libdir}/ocaml/camlimages/*.cmx
|
#%{_libdir}/ocaml/camlimages/*.cmx
|
||||||
%{_libdir}/ocaml/camlimages/*.mli
|
%{_libdir}/ocaml/camlimages/*.mli
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jun 24 2015 Richard W.M. Jones <rjones@redhat.com> - 4.1.0-13
|
||||||
- ocaml-4.02.2 final rebuild.
|
- ocaml-4.02.2 final rebuild.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user