Disable qt6 frontend as it doesn't build on s390x

Resolves: #1923798
This commit is contained in:
Marek Kasik 2021-07-26 17:47:55 +02:00
parent 52ca443c6e
commit 27e0274008

View File

@ -4,7 +4,7 @@
Summary: PDF rendering library
Name: poppler
Version: 21.07.0
Release: 1%{?dist}
Release: 2%{?dist}
License: (GPLv2 or GPLv3) and GPLv2+ and LGPLv2+ and MIT
URL: http://poppler.freedesktop.org/
Source0: http://poppler.freedesktop.org/poppler-%{version}.tar.xz
@ -47,7 +47,6 @@ BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml)
BuildRequires: pkgconfig(Qt6)
BuildRequires: boost-devel
Requires: poppler-data
@ -104,20 +103,6 @@ Obsoletes: %{name}-qt-devel < 0.90.0-9
%description qt5-devel
%{summary}.
%package qt6
Summary: Qt6 wrapper for poppler
Requires: %{name}%{?_isa} = %{version}-%{release}
%description qt6
%{summary}.
%package qt6-devel
Summary: Development files for Qt6 wrapper
Requires: %{name}-qt6%{?_isa} = %{version}-%{release}
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Requires: qt6-qtbase-devel
%description qt6-devel
%{summary}.
%package cpp
Summary: Pure C++ wrapper for poppler
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -214,14 +199,6 @@ test "$(pkg-config --modversion poppler-qt5)" = "%{version}"
%{_libdir}/pkgconfig/poppler-qt5.pc
%{_includedir}/poppler/qt5/
%files qt6
%{_libdir}/libpoppler-qt6.so.2*
%files qt6-devel
%{_libdir}/libpoppler-qt6.so
%{_libdir}/pkgconfig/poppler-qt6.pc
%{_includedir}/poppler/qt6/
%files cpp
%{_libdir}/libpoppler-cpp.so.0*
@ -235,6 +212,10 @@ test "$(pkg-config --modversion poppler-qt5)" = "%{version}"
%{_mandir}/man1/*
%changelog
* Mon Jul 26 2021 Marek Kasik <mkasik@redhat.com> - 21.07.0-2
- Disable qt6 frontend as it doesn't build on s390x
- Resolves: #1923798
* Mon Jul 26 2021 Marek Kasik <mkasik@redhat.com> - 21.07.0-1
- Update to 21.07.0
- Add requirement of boost for performance gain in splash