-gui: don't require gtk2 (__requires_exclude_from platformthemes) (#1154884)

* Thu Oct 23 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.3.2-4
- -gui: don't require gtk2 (__requires_exclude_from platformthemes) (#1154884)
This commit is contained in:
Kevin Kofler 2014-10-23 15:50:33 +02:00
parent 1d141c16c7
commit 04d5416fba

View File

@ -29,7 +29,7 @@
Summary: Qt5 - QtBase components
Name: qt5-qtbase
Version: 5.3.2
Release: 3%{?dist}
Release: 4%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions
@ -101,6 +101,13 @@ Patch100: qtbase-qfiledialog-implement-getopenfileurl-and-friends.patch
%define _qt5_sysconfdir %{_qt5_settingsdir}
%define _qt5_translationdir %{_datadir}/qt5/translations
# Do not check any files in %%{_qt5_plugindir}/platformthemes/ for requires.
# Those themes are there for platform integration. If the required libraries are
# not there, the platform to integrate with isn't either. Then Qt will just
# silently ignore the plugin that fails to load. Thus, there is no need to let
# RPM drag in gtk2 as a dependency for the GTK+ 2 dialog support.
%global __requires_exclude_from ^%{_qt5_plugindir}/platformthemes/.*$
# for %%check
BuildRequires: cmake
BuildRequires: cups-devel
@ -761,6 +768,9 @@ fi
%changelog
* Thu Oct 23 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.3.2-4
- -gui: don't require gtk2 (__requires_exclude_from platformthemes) (#1154884)
* Mon Oct 13 2014 Jan Grulich <jgrulich@redhat.com> 5.3.2-3
- QFileDialog: implement getOpenFileUrl and friends for real