Update to prerelease of 7.08 which will support OCaml 4.08.

This commit is contained in:
Richard W.M. Jones 2019-06-27 14:29:03 +01:00
parent 02ee537a99
commit 7c782e268c
4 changed files with 17 additions and 2169 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
/rel700.tar.gz
/rel703.tar.gz
/rel705.tar.gz
/camlp5-7.07-git9b9eb124c.tar.gz

File diff suppressed because it is too large Load Diff

View File

@ -4,22 +4,21 @@
%endif
Name: ocaml-camlp5
Version: 7.05
Release: 8%{?dist}
Version: 7.08
Release: 0.1.git9b9eb124c%{?dist}
Summary: Classical version of camlp4 OCaml preprocessor
License: BSD
URL: https://camlp5.github.io/
Source0: https://github.com/camlp5/camlp5/archive/rel705.tar.gz
#Source0: https://github.com/camlp5/camlp5/archive/rel700.tar.gz
# Constructed using:
# git archive --format=tar --prefix=camlp5-7.07/ HEAD | gzip > /var/tmp/camlp5-7.07-git9b9eb124c.tar.gz
Source0: camlp5-7.07-git9b9eb124c.tar.gz
# Kill -warn-error A
Patch0: camlp5-6.11-kill-warn-error.patch
# Patch to add support for OCaml 4.07.
# https://github.com/camlp5/camlp5/issues/22
Patch1: 194223346be22fa602594897a281d7eb4f3f1b1e.patch
BuildRequires: ocaml
BuildRequires: ocaml-ocamldoc
@ -47,10 +46,9 @@ developing applications that use %{name}.
%prep
%setup -q -n camlp5-rel705
find . -name .gitignore -delete
%setup -q -n camlp5-7.07
%patch0 -p1
%patch1 -p1
find . -name .gitignore -delete
# Build with debug information
sed -i 's,WARNERR="",WARNERR="-g",' configure
@ -71,11 +69,11 @@ ulimit -a
ulimit -Hs 65536
ulimit -Ss 65536
%endif
make world.opt
make %{_smp_mflags} world.opt
%else
make world
make %{_smp_mflags} world
%endif
make -C doc/htmlp
make -C doc/htmlp -j1
%install
mkdir -p $RPM_BUILD_ROOT%{_libdir}/ocaml
@ -117,6 +115,10 @@ rm -f doc/htmlp/{*.sh,Makefile,html2*}
%changelog
* Thu Jun 27 2019 Richard W.M. Jones <rjones@redhat.com> - 7.08-0.1
- Update to prerelease of 7.08 which will support OCaml 4.08.
- Enable parallel builds.
* Mon Apr 29 2019 Richard W.M. Jones <rjones@redhat.com> - 7.05-8
- Bump release and rebuild.

View File

@ -1 +1 @@
SHA512 (rel705.tar.gz) = fed60b71884883b78ae6db6f72230d155c364633141dfa936b5defc9701629b4c4845b61b43cfd8f0bc85467c5713f48659e5809796e181dcf02dc051d266762
SHA512 (camlp5-7.07-git9b9eb124c.tar.gz) = 227c9a58f9b70e8b6ada6eb67b151da4feb2b90d06d040d40bb28f492b16b9800a3cfc513b52c8f6d518b003d653091a1e87b93ea5f3c6a865358c9fbb82d522