Fixed RPM build spec file.

This commit is contained in:
root 2018-05-01 06:46:26 +00:00
parent 79e919ef61
commit 962441975d
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ Requires: qt-x11 >= 4.8.5
Requires: libcurl >= 7.19.7 Requires: libcurl >= 7.19.7
Requires: ruby >= 1.8.7 Requires: ruby >= 1.8.7
Requires: python >= 2.6.6 Requires: python >= 2.6.6
BUILDOPT="-libcurl" %define buildopt -libcurl
%endif %endif
%if "%{target_system}" == "opensuse42_2" %if "%{target_system}" == "opensuse42_2"
@ -89,7 +89,7 @@ cd %{_sourcedir}
./build.sh -rpath %{_libdir}/klayout \ ./build.sh -rpath %{_libdir}/klayout \
-bin %{_builddir}/bin.$TARGET \ -bin %{_builddir}/bin.$TARGET \
-build %{_builddir}/build.$TARGET \ -build %{_builddir}/build.$TARGET \
$BUILDOPT \ %{buildopt} \
-j2 -j2
cp -p LICENSE Changelog CONTRIB %{_builddir} cp -p LICENSE Changelog CONTRIB %{_builddir}