From 962441975dd317bc26ab5e860f5dbb412f6d2c57 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 1 May 2018 06:46:26 +0000 Subject: [PATCH] Fixed RPM build spec file. --- scripts/rpm-data/klayout.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/rpm-data/klayout.spec b/scripts/rpm-data/klayout.spec index fb6479fa1..13f8f52ee 100644 --- a/scripts/rpm-data/klayout.spec +++ b/scripts/rpm-data/klayout.spec @@ -43,7 +43,7 @@ Requires: qt-x11 >= 4.8.5 Requires: libcurl >= 7.19.7 Requires: ruby >= 1.8.7 Requires: python >= 2.6.6 -BUILDOPT="-libcurl" +%define buildopt -libcurl %endif %if "%{target_system}" == "opensuse42_2" @@ -89,7 +89,7 @@ cd %{_sourcedir} ./build.sh -rpath %{_libdir}/klayout \ -bin %{_builddir}/bin.$TARGET \ -build %{_builddir}/build.$TARGET \ - $BUILDOPT \ + %{buildopt} \ -j2 cp -p LICENSE Changelog CONTRIB %{_builddir}