diff --git a/files/chatty.sh b/files/chatty.sh --- a/files/chatty.sh +++ b/files/chatty.sh @@ -1,3 +1,7 @@ #!/bin/sh -exec /usr/lib64/openjdk-8/bin/java -jar /usr/share/chatty/Chatty.jar "$@" +if [ -z "$JAVA_HOME" ]; then + export JAVA_HOME=/usr/lib64/openjdk-11 +fi + +exec $JAVA_HOME/bin/java -jar /usr/share/chatty/Chatty.jar "$@" diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,8 +1,8 @@ name : chatty -version : '0.11' -release : 14 +version : '0.12' +release : 15 source : - - https://github.com/chatty/chatty/archive/v0.11.tar.gz : 6ade796c9f93f91fd8afe9559371351bb19d6516c115e15227605f3c44dcde37 + - https://github.com/chatty/chatty/archive/v0.12.tar.gz : 624abea8897c1ee2f8e83b9f8d58eb28492f28236e6246f8bb2bfb75b581a2ba license : - GPL-3.0-or-later - MIT @@ -15,11 +15,11 @@ - gradle - unzip rundeps : - - openjdk-8 + - openjdk-11 setup : | %apply_patches build : | - export GRADLE_USER_HOME=/home/build/YPKG/root/chatty/ + export GRADLE_USER_HOME=$workdir/.gradle gradle --no-daemon release install : | # Unzip to destination diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -2,8 +2,8 @@ chatty - Fabio Forni - livingsilver94.solus@redaril.me + Campbell Jones + dev@serebit.com GPL-3.0-or-later MIT @@ -34,12 +34,12 @@ - - 2020-04-19 - 0.11 + + 2020-06-06 + 0.12 Packaging update - Fabio Forni - livingsilver94.solus@redaril.me + Campbell Jones + dev@serebit.com \ No newline at end of file