fix executable paths with setconf [release 1.5.30_M1-2mamba;Sat Jul 31 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 02:33:51 +01:00
parent bfe653d71f
commit 067c2ab9de

View File

@ -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 <silvan.calarco@mambasoft.it> 1.5.30_M1-2mamba
- fix executable paths with setconf
* Sun Jul 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.30_M1-1mamba
- package created using the webbuild interface