s390x: Don't copy *.o files when building bytecode.
This commit is contained in:
parent
5ea1f4554e
commit
644ce6ce84
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: ocaml-labltk
|
Name: ocaml-labltk
|
||||||
Version: 8.06.0
|
Version: 8.06.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
|
|
||||||
Summary: Tcl/Tk interface for OCaml
|
Summary: Tcl/Tk interface for OCaml
|
||||||
|
|
||||||
@ -67,9 +67,11 @@ make install \
|
|||||||
BINDIR=$RPM_BUILD_ROOT%{_bindir} \
|
BINDIR=$RPM_BUILD_ROOT%{_bindir} \
|
||||||
INSTALLDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/labltk \
|
INSTALLDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/labltk \
|
||||||
STUBLIBDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
|
STUBLIBDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
|
||||||
|
%if %{native_compiler}
|
||||||
# The *.o files are not installed by the Makefile. AIUI
|
# The *.o files are not installed by the Makefile. AIUI
|
||||||
# that prevents linking with native code programs.
|
# that prevents linking with native code programs.
|
||||||
install -m 0644 camltk/*.o $RPM_BUILD_ROOT%{_libdir}/ocaml/labltk
|
install -m 0644 camltk/*.o $RPM_BUILD_ROOT%{_libdir}/ocaml/labltk
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -100,6 +102,9 @@ install -m 0644 camltk/*.o $RPM_BUILD_ROOT%{_libdir}/ocaml/labltk
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 22 2015 Richard W.M. Jones <rjones@redhat.com> - 8.06.0-4
|
||||||
|
- s390x: Don't copy *.o files when building bytecode.
|
||||||
|
|
||||||
* Wed Jun 24 2015 Richard W.M. Jones <rjones@redhat.com> - 8.06.0-3
|
* Wed Jun 24 2015 Richard W.M. Jones <rjones@redhat.com> - 8.06.0-3
|
||||||
- ocaml-4.02.2 final rebuild.
|
- ocaml-4.02.2 final rebuild.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user