mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-05 03:12:18 +00:00
lint
This commit is contained in:
@@ -12,10 +12,11 @@ Requires: java-latest-openjdk hicolor-icon-theme xrandr
|
|||||||
Recommends: ffmpeg
|
Recommends: ffmpeg
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
%description
|
%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).
|
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
|
%build
|
||||||
cat <<EOF > %{name}.sh
|
cat <<EOF > %{name}.sh
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
## disabled due to inconsistent results in copr builds that are not reproducible locally
|
## disabled due to inconsistent results in copr builds that are not reproducible locally
|
||||||
# %ctest
|
%dnl %ctest
|
||||||
|
|
||||||
%if 0%{?fedora} > 35
|
%if 0%{?fedora} > 35
|
||||||
appstream-util validate-relax --nonet \
|
appstream-util validate-relax --nonet \
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
## disabled due to inconsistent results in copr builds that are not reproducible locally
|
## disabled due to inconsistent results in copr builds that are not reproducible locally
|
||||||
# %ctest
|
%dnl %ctest
|
||||||
|
|
||||||
%if 0%{?fedora} > 35
|
%if 0%{?fedora} > 35
|
||||||
appstream-util validate-relax --nonet \
|
appstream-util validate-relax --nonet \
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
## disabled due to inconsistent results in copr builds that are not reproducible locally
|
## disabled due to inconsistent results in copr builds that are not reproducible locally
|
||||||
# %ctest
|
%dnl %ctest
|
||||||
|
|
||||||
%if 0%{?fedora} > 35
|
%if 0%{?fedora} > 35
|
||||||
appstream-util validate-relax --nonet \
|
appstream-util validate-relax --nonet \
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
## disabled due to inconsistent results in copr builds that are not reproducible locally
|
## disabled due to inconsistent results in copr builds that are not reproducible locally
|
||||||
# %ctest
|
%dnl %ctest
|
||||||
|
|
||||||
%if 0%{?fedora} > 35
|
%if 0%{?fedora} > 35
|
||||||
appstream-util validate-relax --nonet \
|
appstream-util validate-relax --nonet \
|
||||||
|
|||||||
@@ -42,6 +42,8 @@ Source: %{gosource}
|
|||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
%go_generate_buildrequires
|
%go_generate_buildrequires
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%gopkginstall
|
%gopkginstall
|
||||||
|
|
||||||
|
|||||||
@@ -43,6 +43,8 @@ Source: %{gosource}
|
|||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
%go_generate_buildrequires
|
%go_generate_buildrequires
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%gopkginstall
|
%gopkginstall
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ cd %{name}-%{version}
|
|||||||
|
|
||||||
cat <<EOF > dist/gradle.sh
|
cat <<EOF > dist/gradle.sh
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
export GRADLE_HOME=%{buildroot}/usr/share/java/gradle
|
export GRADLE_HOME=/usr/share/java/gradle
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# remove ADOPTIUM contraint from all build related files
|
# remove ADOPTIUM contraint from all build related files
|
||||||
|
|||||||
Reference in New Issue
Block a user