From 3f417f76bbbe2f6281b131dad52f61104223b573 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 10 Sep 2017 20:15:13 +0000 Subject: [PATCH] Started to add conditional require statements for the various RH-based distributions. --- scripts/rpm-data/klayout.spec | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scripts/rpm-data/klayout.spec b/scripts/rpm-data/klayout.spec index a40dc04d9..d36f3e5d0 100644 --- a/scripts/rpm-data/klayout.spec +++ b/scripts/rpm-data/klayout.spec @@ -31,6 +31,18 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build # so's of klayout itself) AutoReqProv: no +# CentOS7 requirements +%if "%{target_system}" == "centos7" +Requires: ruby >= 2.0.0 +Requires: python >= 2.7.5 +Requires: qt >= 4.8.5 +%endif + +%if "%{target_system}" == "centos6" +# CentOS6 requirements +# ... +%endif + %description Mask layout viewer and editor for the chip design engineer.