[prismlauncher] support EPEL and F35 (again)

This commit is contained in:
seth
2022-12-05 22:11:42 -05:00
committed by windowsboy111
parent c51c562b9b
commit cc00a586d1
4 changed files with 16 additions and 8 deletions
@@ -30,11 +30,11 @@
%global build_platform Fedora
%endif
%if 0%{?rhel_version}
%if 0%{?rhel}
%global build_platform RedHat
%endif
%if 0%{?centos_version}
%if 0%{?centos}
%global build_platform CentOS
%endif
@@ -132,8 +132,10 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
%check
%ctest
%if 0%{?fedora} > 35
appstream-util validate-relax --nonet \
%{buildroot}%{_metainfodir}/org.prismlauncher.PrismLauncher.metainfo.xml
%endif
desktop-file-validate %{buildroot}%{_datadir}/applications/org.prismlauncher.PrismLauncher.desktop
@@ -30,11 +30,11 @@
%global build_platform Fedora
%endif
%if 0%{?rhel_version}
%if 0%{?rhel}
%global build_platform RedHat
%endif
%if 0%{?centos_version}
%if 0%{?centos}
%global build_platform CentOS
%endif
@@ -133,8 +133,10 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
%check
%ctest
%if 0%{?fedora} > 35
appstream-util validate-relax --nonet \
%{buildroot}%{_metainfodir}/org.prismlauncher.PrismLauncher.metainfo.xml
%endif
desktop-file-validate %{buildroot}%{_datadir}/applications/org.prismlauncher.PrismLauncher.desktop
@@ -21,11 +21,11 @@
%global build_platform Fedora
%endif
%if 0%{?rhel_version}
%if 0%{?rhel}
%global build_platform RedHat
%endif
%if 0%{?centos_version}
%if 0%{?centos}
%global build_platform CentOS
%endif
@@ -116,8 +116,10 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
%check
%ctest
%if 0%{?fedora} > 35
appstream-util validate-relax --nonet \
%{buildroot}%{_metainfodir}/org.prismlauncher.PrismLauncher.metainfo.xml
%endif
desktop-file-validate %{buildroot}%{_datadir}/applications/org.prismlauncher.PrismLauncher.desktop
+4 -2
View File
@@ -20,11 +20,11 @@
%global build_platform Fedora
%endif
%if 0%{?rhel_version}
%if 0%{?rhel}
%global build_platform RedHat
%endif
%if 0%{?centos_version}
%if 0%{?centos}
%global build_platform CentOS
%endif
@@ -113,8 +113,10 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
%check
%ctest
%if 0%{?fedora} > 35
appstream-util validate-relax --nonet \
%{buildroot}%{_metainfodir}/org.prismlauncher.PrismLauncher.metainfo.xml
%endif
desktop-file-validate %{buildroot}%{_datadir}/applications/org.prismlauncher.PrismLauncher.desktop