From 4e4778afba6253f0ac5715e70a9cd78fc56fc93a Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Fri, 21 Feb 2020 21:16:38 +0100 Subject: [PATCH] CentOS8 builds, first fix iteration. --- scripts/rpm-data/klayout.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/scripts/rpm-data/klayout.spec b/scripts/rpm-data/klayout.spec index 4cd9b3216..f520bcc3a 100644 --- a/scripts/rpm-data/klayout.spec +++ b/scripts/rpm-data/klayout.spec @@ -31,6 +31,20 @@ Source0: http://www.klayout.de/downloads/%{name}-%{version}.tar.gz # so's of klayout itself) AutoReqProv: no +# CentOS8 requirements +%if "%{target_system}" == "centos8" +Requires: ruby >= 2.5.5 +Requires: python >= 3.6.0 +Requires: qt5-qtbase >= 5.11.1 +Requires: qt5-qtmultimedia >= 5.11.1 +Requires: qt5-qtxmlpatterns >= 5.11.1 +Requires: qt5-qtsvg >= 5.11.1 +Requires: qt5-qttools >= 5.11.1 + +%define buildopt -j2 +%define pylib %{python_sitearch} +%endif + # CentOS7 requirements %if "%{target_system}" == "centos7" Requires: ruby >= 2.0.0