This commit is contained in:
windowsboy111
2023-02-08 21:19:12 +08:00
parent 1b2ae1ee64
commit 4403bfbdf8
8 changed files with 11 additions and 6 deletions
+2 -1
View File
@@ -12,10 +12,11 @@ Requires: java-latest-openjdk hicolor-icon-theme xrandr
Recommends: ffmpeg
BuildArch: noarch
%description
opsu! is an unofficial open-source client for the rhythm game osu!, written in Java using Slick2D and LWJGL (wrappers around OpenGL and OpenAL).
%prep
%build
cat <<EOF > %{name}.sh
#!/bin/sh
@@ -136,7 +136,7 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
%check
## disabled due to inconsistent results in copr builds that are not reproducible locally
# %ctest
%dnl %ctest
%if 0%{?fedora} > 35
appstream-util validate-relax --nonet \
@@ -137,7 +137,7 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
%check
## disabled due to inconsistent results in copr builds that are not reproducible locally
# %ctest
%dnl %ctest
%if 0%{?fedora} > 35
appstream-util validate-relax --nonet \
@@ -113,7 +113,7 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
%check
## disabled due to inconsistent results in copr builds that are not reproducible locally
# %ctest
%dnl %ctest
%if 0%{?fedora} > 35
appstream-util validate-relax --nonet \
+1 -1
View File
@@ -110,7 +110,7 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
%check
## disabled due to inconsistent results in copr builds that are not reproducible locally
# %ctest
%dnl %ctest
%if 0%{?fedora} > 35
appstream-util validate-relax --nonet \
@@ -42,6 +42,8 @@ Source: %{gosource}
%generate_buildrequires
%go_generate_buildrequires
%build
%install
%gopkginstall
@@ -43,6 +43,8 @@ Source: %{gosource}
%generate_buildrequires
%go_generate_buildrequires
%build
%install
%gopkginstall
+1 -1
View File
@@ -38,7 +38,7 @@ cd %{name}-%{version}
cat <<EOF > dist/gradle.sh
#!/bin/sh
export GRADLE_HOME=%{buildroot}/usr/share/java/gradle
export GRADLE_HOME=/usr/share/java/gradle
EOF
# remove ADOPTIUM contraint from all build related files