From 92360f8f6d683802cd03da1c5d3d02155a50dab55ec8b600811ff42f06fa2042 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Wed, 27 Jan 2021 21:29:16 +0000 Subject: [PATCH] fix OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-dune?expand=0&rev=63 --- ocaml-dune.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ocaml-dune.spec b/ocaml-dune.spec index 1794eb7..204cc52 100644 --- a/ocaml-dune.spec +++ b/ocaml-dune.spec @@ -15,12 +15,11 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define build_flavor @BUILD_FLAVOR@%{nil} -%define tag ocaml-dune -%if "%{build_flavor}" == "" -%define pkg %{tag} +%define flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "" +%define nsuffix %{nil} %else -%define pkg %{tag}-%{build_flavor} +%define nsuffix -%{flavor} %endif %define pkg ocaml-dune