summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2025-04-13 01:34:29 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2025-04-13 01:34:29 +0000
commitb41d7ad05070611bda1c91d880ff3747fe81d2b8 (patch)
tree212a6c0eaf3d77c88b845a0cf63af1bbb1033223
parent57775cf75cd880c3378b29f8fb2d8fba122d3409 (diff)
automatic import of biglybtHEADmasterf42f41f40
-rw-r--r--.gitignore1
-rw-r--r--biglybt.spec10
-rw-r--r--sources2
-rw-r--r--startupScript.patch11
4 files changed, 20 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 12f9ecf..49de91f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/BiglyBT-3.5.0.0.tar.gz
/BiglyBT-3.7.0.0.tar.gz
/BiglyBT-3.8.0.0.tar.gz
+/BiglyBT-3.8.0.2.tar.gz
diff --git a/biglybt.spec b/biglybt.spec
index 28ab225..d23af25 100644
--- a/biglybt.spec
+++ b/biglybt.spec
@@ -1,8 +1,8 @@
%global java_ver 21
Name: biglybt
-Version: 3.8.0.0
-Release: 2%{?dist}
+Version: 3.8.0.2
+Release: 1%{?dist}
Summary: A feature filled, open source, ad-free, BitTorrent client
License: GPL-2.0-or-later
@@ -18,6 +18,7 @@ Patch4: 06-half-disable-updater.patch
Patch9: 0001-no-bundled-apache-commons-lang.patch
Patch11: 0003-Fix-doc-generation.patch
Patch13: java21.patch
+Patch14: startupScript.patch
BuildArch: noarch
ExclusiveArch: %{java_arches}
@@ -138,7 +139,7 @@ mv target/xmvn-apidocs/legal/ .
install -p -D -m 0755 core/src/com/biglybt/platform/unix/startupScript %{buildroot}%{_bindir}/biglybt
######## CONFIGURATION OPTIONS ########
sed -i 's|AUTOUPDATE_SCRIPT=1|AUTOUPDATE_SCRIPT=0|' %{buildroot}%{_bindir}/biglybt
-#sed -i 's|JAVA_PROGRAM_DIR=""|JAVA_PROGRAM_DIR="/usr/lib/jvm/jre-%{java_ver}/bin/"|' %{buildroot}%{_bindir}/biglybt
+sed -i 's|JAVA_PROGRAM_DIR=""|JAVA_PROGRAM_DIR="/usr/lib/jvm/jre-%{java_ver}/bin/"|' %{buildroot}%{_bindir}/biglybt
sed -i 's|#PROGRAM_DIR="/home/username/apps/biglybt"|PROGRAM_DIR="/usr/share/java/biglybt"|' %{buildroot}%{_bindir}/biglybt
sed -i 's|#USER_PLUGINS_DIR|USER_PLUGINS_DIR|' %{buildroot}%{_bindir}/biglybt
#sed -i 's|JAVA_PROPS=""|JAVA_PROPS="--add-opens=java.base/java.net=ALL-UNNAMED"|' %{buildroot}%{_bindir}/biglybt
@@ -177,6 +178,9 @@ install -p -m 0644 %{SOURCE4} %{buildroot}%{_mandir}/man1
%changelog
+* Sat Apr 12 2025 Sérgio Basto <sergio@serjux.com> - 3.8.0.2-1
+- Update to 3.8.0.2
+
* Sat Mar 01 2025 Sérgio Basto <sergio@serjux.com> - 3.8.0.0-2
- Use apache.commons.text
diff --git a/sources b/sources
index 316af21..1dd176a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a909eb96cf471d6d3d2ac9e9b9ddd504 BiglyBT-3.8.0.0.tar.gz
+9c34a54b3f95efe89afa4d56d47d49ec BiglyBT-3.8.0.2.tar.gz
diff --git a/startupScript.patch b/startupScript.patch
new file mode 100644
index 0000000..c5e779e
--- /dev/null
+++ b/startupScript.patch
@@ -0,0 +1,11 @@
+--- ./core/src/com/biglybt/platform/unix/startupScript 2025-03-02 20:53:39.874450174 +0000
++++ ./core/src/com/biglybt/platform/unix/startupScript 2025-04-12 14:17:53.274705195 +0100
+@@ -36,6 +36,8 @@ JAVA_ARGS=$(grep -o '^[^#]*' ~/.biglybt/
+ JAVA_VERSION=""
+ isJ17=false
+ JAVABIN="${JAVA_PROGRAM_DIR}java"
++JAVA_HEADER=$("$JAVABIN" -version 2>&1 | grep -i version | head -n 1)
++JAVA_VERSION=$(echo "${JAVA_HEADER}" | sed "s/^.* version \"\(.*\)\".*$/\1/")
+
+ look_for_java()
+ {