diff --git a/_service b/_service
index 87daf6e..a0776ac 100644
--- a/_service
+++ b/_service
@@ -3,7 +3,7 @@
git://github.com/ocaml/dune.git
git
@PARENT_TAG@
- 1.0+beta20
+ 1.7.1
ocaml-dune
diff --git a/ocaml-dune-1.0+beta20.tar.xz b/ocaml-dune-1.0+beta20.tar.xz
deleted file mode 100644
index c770e7e..0000000
--- a/ocaml-dune-1.0+beta20.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7495ec5879e2cc8c338a405e046959353c11e1aeefca7c5fdd476f5824c07378
-size 310952
diff --git a/ocaml-dune-1.7.1.tar.xz b/ocaml-dune-1.7.1.tar.xz
new file mode 100644
index 0000000..1254efe
--- /dev/null
+++ b/ocaml-dune-1.7.1.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:988af191322d0baebcbfd183c58c63986e0cef1fd60297bb1b00c5449f4e0b83
+size 501232
diff --git a/ocaml-dune.changes b/ocaml-dune.changes
index 8932164..cc6a431 100644
--- a/ocaml-dune.changes
+++ b/ocaml-dune.changes
@@ -1,3 +1,19 @@
+-------------------------------------------------------------------
+Mon Feb 18 09:55:20 UTC 2019 - andy@onthewings.net
+
+- Update to version 1.7.1:
+ * Change the layout of build artifacts inside _build.
+ * Various other new features and bug fixes. For details, see
+ https://github.com/ocaml/dune/blob/1.7.1/CHANGES.md
+
+-------------------------------------------------------------------
+Fri Feb 1 09:26:44 UTC 2019 - andy@onthewings.net
+
+- Update to version 1.6.3:
+ * Various new features and bug fixes. For details, see
+ https://github.com/ocaml/dune/blob/1.6.3/CHANGES.md
+ * Switched to MIT license.
+
-------------------------------------------------------------------
Thu May 17 21:50:30 UTC 2018 - antoine.belvire@opensuse.org
diff --git a/ocaml-dune.spec b/ocaml-dune.spec
index 8c3389d..7d21cec 100644
--- a/ocaml-dune.spec
+++ b/ocaml-dune.spec
@@ -1,7 +1,7 @@
#
# spec file for package ocaml-dune
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,11 +17,11 @@
Name: ocaml-dune
-Version: 1.0+beta20
+Version: 1.7.1
Release: 0
%{?ocaml_preserve_bytecode}
Summary: A composable build system for OCaml
-License: Apache-2.0
+License: MIT
Group: Development/Languages/OCaml
Url: https://github.com/ocaml/dune
Conflicts: ocaml-jbuilder
@@ -38,20 +38,19 @@ A composable build system for OCaml
%setup -q
%build
-sed -i~ s/ocamlopt/ocamlxxx/ bootstrap.ml
-diff -u bootstrap.ml~ bootstrap.ml || : diff
make %{?_smp_mflags} PREFIX=%{_prefix}
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_mandir}/man1
-cp -av _build/default/bin/main.exe %{buildroot}%{_bindir}/dune
+cp -av _boot/default/bin/main_dune.exe %{buildroot}%{_bindir}/dune
ln -sfvbn dune %{buildroot}%{_bindir}/jbuilder
-cp -av _build/default/doc/*.1 %{buildroot}%{_mandir}/man1/
+cp -av _boot/default/doc/*.1 %{buildroot}%{_mandir}/man1/
%files
%defattr(-,root,root)
-%doc CHANGES.md README.md LICENSE.md
+%doc CHANGES.md README.md
+%license LICENSE.md
%{_bindir}/*
%{_mandir}/*/*