mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-01 17:32:18 +00:00
lint
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user