Accepting request 677237 from devel:languages:ocaml

- 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
 
- 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.


Note that packages that use it to build need to be updated since dune changed some of its metadata files.

I tried to submit the related packages all at once in https://build.opensuse.org/request/show/677236, but apparently I can't.
I will submit the packages one by one once this is accepted.

OBS-URL: https://build.opensuse.org/request/show/677237
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-dune?expand=0&rev=3
This commit is contained in:
Yuchen Lin 2019-02-19 11:03:12 +00:00 committed by Git OBS Bridge
commit 7ab1e86731
5 changed files with 27 additions and 12 deletions

View File

@ -3,7 +3,7 @@
<param name="url">git://github.com/ocaml/dune.git</param>
<param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="revision">1.0+beta20</param>
<param name="revision">1.7.1</param>
<param name="filename">ocaml-dune</param>
</service>
<service name="recompress" mode="disabled">

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7495ec5879e2cc8c338a405e046959353c11e1aeefca7c5fdd476f5824c07378
size 310952

3
ocaml-dune-1.7.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:988af191322d0baebcbfd183c58c63986e0cef1fd60297bb1b00c5449f4e0b83
size 501232

View File

@ -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

View File

@ -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}/*/*