Olaf Hering 2021-01-27 21:19:28 +00:00 committed by Git OBS Bridge
parent 21a27d5b22
commit 69113cb0d0

View File

@ -23,7 +23,8 @@
%define pkg %{tag}-%{build_flavor}
%endif
Name: %{pkg}
%define pkg ocaml-dune
Name: %{pkg}%{nsuffix}
Version: 2.8.2
Release: 0
%{?ocaml_preserve_bytecode}
@ -31,7 +32,7 @@ Summary: A composable build system for OCaml
License: MIT
Group: Development/Languages/OCaml
URL: https://opam.ocaml.org/packages/dune
Source0: %{tag}-%{version}.tar.xz
Source0: %{pkg}-%{version}.tar.xz
Requires: ocamlfind(compiler-libs)
BuildRequires: ocaml-rpm-macros >= 20210121
BuildRequires: ocaml(ocaml_base_version) >= 4.08
@ -65,7 +66,7 @@ The %{name}-devel package contains libraries and signature files for
developing applications that use %{name}.
%prep
%autosetup -p1 -n %{tag}-%{version}
%autosetup -p1 -n %{pkg}-%{version}
%build
%if "%{build_flavor}" == ""