From 79e919ef61a097f48b506050df0c1c89e46c4c2e Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Tue, 1 May 2018 08:40:02 +0200 Subject: [PATCH] Update RPM spec for building on CentOS6. --- scripts/rpm-data/klayout.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/rpm-data/klayout.spec b/scripts/rpm-data/klayout.spec index f2e4a1b01..fb6479fa1 100644 --- a/scripts/rpm-data/klayout.spec +++ b/scripts/rpm-data/klayout.spec @@ -40,7 +40,10 @@ Requires: qt-x11 >= 4.8.5 %if "%{target_system}" == "centos6" # CentOS6 requirements -# ... +Requires: libcurl >= 7.19.7 +Requires: ruby >= 1.8.7 +Requires: python >= 2.6.6 +BUILDOPT="-libcurl" %endif %if "%{target_system}" == "opensuse42_2" @@ -86,6 +89,7 @@ cd %{_sourcedir} ./build.sh -rpath %{_libdir}/klayout \ -bin %{_builddir}/bin.$TARGET \ -build %{_builddir}/build.$TARGET \ + $BUILDOPT \ -j2 cp -p LICENSE Changelog CONTRIB %{_builddir}