mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
[prismlauncher] support EPEL and F35 (again)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user