Fix build with ocaml-re 1.7.3.
This commit is contained in:
parent
f06dee8e83
commit
96e9f6fa1c
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Name: ocaml-dose3
|
Name: ocaml-dose3
|
||||||
Version: 5.0.1
|
Version: 5.0.1
|
||||||
Release: 10.20180821git%{shortcommit0}%{?dist}
|
Release: 11.20180821git%{shortcommit0}%{?dist}
|
||||||
Summary: Framework for managing distribution packages and dependencies
|
Summary: Framework for managing distribution packages and dependencies
|
||||||
|
|
||||||
%global libname %(echo %{name} | sed -e 's/^ocaml-//')
|
%global libname %(echo %{name} | sed -e 's/^ocaml-//')
|
||||||
@ -96,6 +96,9 @@ sed "s/*.cmx /*.cmxignore /g" -i Makefile
|
|||||||
sed "s,*.cmxs,*.cmxs _build/doselibs/*.cmx,g" -i Makefile
|
sed "s,*.cmxs,*.cmxs _build/doselibs/*.cmx,g" -i Makefile
|
||||||
sed "s,cmxa cmxs,cmx cmxa cmxs,g" -i Makefile.config.in
|
sed "s,cmxa cmxs,cmx cmxa cmxs,g" -i Makefile.config.in
|
||||||
|
|
||||||
|
# Fix an issue with re 1.7.3+
|
||||||
|
sed "s/module Str = Re_str/module Str = Re.Str/g" -i rpm/version.ml
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-zip --with-oUnit --with-rpm4 --with-xml
|
%configure --with-zip --with-oUnit --with-rpm4 --with-xml
|
||||||
|
|
||||||
@ -167,6 +170,9 @@ ln -s %{_bindir}/distcheck %{buildroot}%{_bindir}/eclipsecheck
|
|||||||
%{_mandir}/man8/*.8*
|
%{_mandir}/man8/*.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 22 2018 Ben Rosser <rosser.bjr@gmail.com> - 5.0.1-11.20180821git2c1b8df
|
||||||
|
- Fix build with ocaml-re 1.7.3.
|
||||||
|
|
||||||
* Tue Aug 21 2018 Ben Rosser <rosser.bjr@gmail.com> - 5.0.1-10.20180821git2c1b8df
|
* Tue Aug 21 2018 Ben Rosser <rosser.bjr@gmail.com> - 5.0.1-10.20180821git2c1b8df
|
||||||
- Update to newer SCM (git) checkout.
|
- Update to newer SCM (git) checkout.
|
||||||
- Modify Makefile in prep section in order to install cmx files.
|
- Modify Makefile in prep section in order to install cmx files.
|
||||||
|
Loading…
Reference in New Issue
Block a user