diff --git a/kotlin.spec b/kotlin.spec index 5fc7f3b..b6513a6 100644 --- a/kotlin.spec +++ b/kotlin.spec @@ -1,7 +1,7 @@ %define pkgver %(echo %version | tr _ -) Name: kotlin Version: 1.5.30_M1 -Release: 1mamba +Release: 2mamba Summary: Statically typed programming language that can interoperate with Java Group: Applications/Development Vendor: openmamba @@ -12,6 +12,7 @@ Source: https://github.com/JetBrains/kotlin/releases/download/v%{pkgver}/ License: Apache License 2.0 ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END +BuildRequires: setconf %description Statically typed programming language that can interoperate with Java. @@ -19,6 +20,12 @@ Statically typed programming language that can interoperate with Java. %prep %setup -q -n kotlinc +cd bin +setconf kotlin DIR %{_bindir} +setconf kotlinc-js DIR %{_bindir} +setconf kotlinc-jvm DIR %{_bindir} +setconf kotlinc KOTLIN_HOME %{_datadir}/kotlin + %build %install @@ -53,5 +60,8 @@ install -D -m0644 build.txt %{buildroot}%{_datadir}/kotlin/build.txt %doc license/LICENSE.txt license/COPYRIGHT.txt license/COPYRIGHT_HEADER.txt %changelog +* Sat Jul 31 2021 Silvan Calarco 1.5.30_M1-2mamba +- fix executable paths with setconf + * Sun Jul 25 2021 Silvan Calarco 1.5.30_M1-1mamba - package created using the webbuild interface