mirror of https://github.com/KLayout/klayout.git
Fixed RPM spec file and build script.
This commit is contained in:
parent
3f417f76bb
commit
1a87dcb807
2
build.sh
2
build.sh
|
|
@ -473,7 +473,7 @@ fi
|
|||
$QMAKE -v
|
||||
|
||||
# Force a minimum rebuild because of version info
|
||||
touch src/version/version.h
|
||||
touch $CURR_DIR/src/version/version.h
|
||||
|
||||
qmake_cmd="$QMAKE $CURR_DIR/src/klayout.pro -recursive \
|
||||
CONFIG+=$CONFIG \
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue