Use QT5 for Fedora.
This commit is contained in:
parent
0839f4d794
commit
b5c42cae4e
19
pcp.spec
19
pcp.spec
@ -87,6 +87,10 @@ Source4: %{github}/pcp-webapp-blinkenlights/archive/1.0.0/pcp-webapp-blinkenligh
|
|||||||
# Qt development and runtime environment missing components before el6
|
# Qt development and runtime environment missing components before el6
|
||||||
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
|
%if 0%{?rhel} == 0 || 0%{?rhel} > 5
|
||||||
%global disable_qt 0
|
%global disable_qt 0
|
||||||
|
# We need qt5 for fedora
|
||||||
|
%if 0%{?fedora} != 0
|
||||||
|
%global default_qt 5
|
||||||
|
%endif
|
||||||
%else
|
%else
|
||||||
%global disable_qt 1
|
%global disable_qt 1
|
||||||
%endif
|
%endif
|
||||||
@ -165,7 +169,12 @@ BuildRequires: systemd-devel
|
|||||||
%endif
|
%endif
|
||||||
%if !%{disable_qt}
|
%if !%{disable_qt}
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
|
%if 0%{?default_qt} != 5
|
||||||
BuildRequires: qt4-devel >= 4.4
|
BuildRequires: qt4-devel >= 4.4
|
||||||
|
%else
|
||||||
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
BuildRequires: qt5-qtsvg-devel
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Requires: bash gawk sed grep fileutils findutils initscripts which
|
Requires: bash gawk sed grep fileutils findutils initscripts which
|
||||||
@ -2486,7 +2495,7 @@ cd
|
|||||||
|
|
||||||
%if !%{disable_selinux}
|
%if !%{disable_selinux}
|
||||||
%preun selinux
|
%preun selinux
|
||||||
if [ `semodule -l | grep pcpupstream` ]
|
if semodule -l | grep pcpupstream >/dev/null 2>&1
|
||||||
then
|
then
|
||||||
%if 0%{?fedora} >= 24 || 0%{?rhel} > 6
|
%if 0%{?fedora} >= 24 || 0%{?rhel} > 6
|
||||||
semodule -X 400 -r pcpupstream >/dev/null
|
semodule -X 400 -r pcpupstream >/dev/null
|
||||||
@ -2495,7 +2504,7 @@ then
|
|||||||
%endif
|
%endif
|
||||||
fi
|
fi
|
||||||
%triggerun selinux -- docker-selinux
|
%triggerun selinux -- docker-selinux
|
||||||
if [ `semodule -l | grep pcpupstream-docker` ]
|
if semodule -l | grep pcpupstream-docker >/dev/null 2>&1
|
||||||
then
|
then
|
||||||
%if 0%{?fedora} >= 24 || 0%{?rhel} > 6
|
%if 0%{?fedora} >= 24 || 0%{?rhel} > 6
|
||||||
semodule -X 400 -r pcpupstream-docker
|
semodule -X 400 -r pcpupstream-docker
|
||||||
@ -2505,7 +2514,7 @@ semodule -r pcpupstream-docker
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%triggerun selinux -- container-selinux
|
%triggerun selinux -- container-selinux
|
||||||
if [ `semodule -l | grep pcpupstream-container` ]
|
if semodule -l | grep pcpupstream-container >/dev/null 2>&1
|
||||||
then
|
then
|
||||||
%if 0%{?fedora} >= 24 || 0%{?rhel} > 6
|
%if 0%{?fedora} >= 24 || 0%{?rhel} > 6
|
||||||
semodule -X 400 -r pcpupstream-container
|
semodule -X 400 -r pcpupstream-container
|
||||||
@ -2967,6 +2976,10 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 17 2017 Dave Brolley <brolley@redhat.com> - 3.11.10-1
|
||||||
|
- Require qt5 for Fedora.
|
||||||
|
- Update to latest PCP Sources.
|
||||||
|
|
||||||
* Fri Mar 31 2017 Nathan Scott <nathans@redhat.com> - 3.11.9-1
|
* Fri Mar 31 2017 Nathan Scott <nathans@redhat.com> - 3.11.9-1
|
||||||
- Fix pmchart chart legends toggling behaviour (BZ 1359961)
|
- Fix pmchart chart legends toggling behaviour (BZ 1359961)
|
||||||
- Improve multiple local context attr handling (BZ 1430248)
|
- Improve multiple local context attr handling (BZ 1430248)
|
||||||
|
Loading…
Reference in New Issue
Block a user