Fixed RPM spec file and build script.

This commit is contained in:
Matthias Koefferlein
2017-09-10 21:08:56 +00:00
parent 3f417f76bb
commit 1a87dcb807
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -75,7 +75,12 @@ elif which qmake-qt5; then
fi
# TODO: remove -without-qtbinding
%if "%{git_source}" != ""
# build from git sources if possible
cd %{git_source}
%else
cd %{_sourcedir}
%endif
./build.sh -rpath %{_libdir}/klayout \
-bin %{_builddir}/bin.$TARGET \
-build %{_builddir}/build.$TARGET \