Dereference symlinks when copying data files.

This commit is contained in:
Richard W.M. Jones 2017-11-08 18:47:30 +00:00
parent 65788eb6b1
commit 79785d1436

View File

@ -1,6 +1,6 @@
Name: ocaml-camomile Name: ocaml-camomile
Version: 0.8.6 Version: 0.8.6
Release: 2%{?dist} Release: 3%{?dist}
Summary: Unicode library for OCaml Summary: Unicode library for OCaml
# Several files are MIT and UCD licensed, but the overall work is LGPLv2+ # Several files are MIT and UCD licensed, but the overall work is LGPLv2+
@ -71,7 +71,7 @@ mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_datadir} mkdir -p $RPM_BUILD_ROOT%{_datadir}
ocamlfind install camomile _build/install/default/lib/camomile/* ocamlfind install camomile _build/install/default/lib/camomile/*
cp -r _build/install/default/share/camomile $RPM_BUILD_ROOT%{_datadir} cp -r -L _build/install/default/share/camomile $RPM_BUILD_ROOT%{_datadir}
%ifarch %{ocaml_native_compiler} %ifarch %{ocaml_native_compiler}
cp _build/default/Camomile/tools/camomilecharmap.exe $RPM_BUILD_ROOT%{_bindir}/camomilecharmap cp _build/default/Camomile/tools/camomilecharmap.exe $RPM_BUILD_ROOT%{_bindir}/camomilecharmap
cp _build/default/Camomile/tools/camomilelocaledef.exe $RPM_BUILD_ROOT%{_bindir}/camomilelocaledef cp _build/default/Camomile/tools/camomilelocaledef.exe $RPM_BUILD_ROOT%{_bindir}/camomilelocaledef
@ -113,8 +113,9 @@ jbuilder runtest
%changelog %changelog
* Wed Nov 08 2017 Richard W.M. Jones <rjones@redhat.com> - 0.8.6-2 * Wed Nov 08 2017 Richard W.M. Jones <rjones@redhat.com> - 0.8.6-3
- OCaml 4.06.0 rebuild. - OCaml 4.06.0 rebuild.
- Dereference symlinks when copying data files.
* Tue Oct 17 2017 Richard W.M. Jones <rjones@redhat.com> - 0.8.6-1 * Tue Oct 17 2017 Richard W.M. Jones <rjones@redhat.com> - 0.8.6-1
- New upstream version 0.8.6. - New upstream version 0.8.6.