EPEL8..9 fix

This commit is contained in:
TI_Eugene 2022-01-25 02:19:16 +03:00
parent f6fc3d9935
commit b0de325d34
1 changed files with 9 additions and 6 deletions

View File

@ -1,8 +1,6 @@
#%%global prerelease beta1
# RHEL & Fedora <= 33
%global with_qt4 0%{?rhel} || 0%{?fedora} <= 33
# Fedora *
%global with_qt5 0%{?fedora}
%global with_qt4 0%{?rhel} && 0%{?rhel} < 8
%global with_qt5 (0%{?rhel} && 0%{?rhel} >= 8) || 0%{?fedora}
Name: qpdfview
@ -146,8 +144,10 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%if %{with_qt5}
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-qt5.desktop
%endif
# unknown language
# rm -f %{buildroot}/%{_datadir}/%{name}/%{name}_ast.qm
# unknown language (epel7..9, f34)
%if 0%{?rhel} || 0%{?fedora} <= 34
rm -f %{buildroot}/%{_datadir}/%{name}/%{name}_ast.qm
%endif
%if %{with_qt4}
@ -185,6 +185,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-qt5.desktop
%{_mandir}/man?/*
%changelog
* Mon Jan 24 2022 TI_Eugene <ti.eugene@gmail.com> - 0.4.18-9
- EPEL8..9 fix
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.18-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild