From 6b833eac43a79bf46c911bedbc96a8f7fef252f7 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 5 Jan 2025 12:02:16 +0000 Subject: automatic import of qscintilla --- qscintilla.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/qscintilla.spec b/qscintilla.spec index c398473..87ddbc3 100644 --- a/qscintilla.spec +++ b/qscintilla.spec @@ -69,6 +69,7 @@ QMAKEFEATURES=`pwd`/Qt5/features; export QMAKEFEATURES pushd designer-Qt4Qt5 %{qmake_qt5} designer.pro INCLUDEPATH+=../Qt4Qt5 LIBS+=-L../Qt4Qt5 %make_build +popd pushd Python %{__python3} \ @@ -79,12 +80,13 @@ pushd Python cat Makefile cat Qsci/Makefile %make_build QMAKE_LFLAGS_RELEASE=%{_qt5_ldflags} QMAKE_CXXFLAGS_RELEASE=%{_qt5_cxxflags} +popd %install -make -C Qt5 install INSTALL_ROOT=%{buildroot} +make -C Qt4Qt5 install INSTALL_ROOT=%{buildroot} ln -s libqscintilla2_qt5.so %{buildroot}%{_qt5_libdir}/libqscintilla2-qt5.so -make -C designer-Qt5 install INSTALL_ROOT=%{buildroot} -make -C Python3-qt5 install DESTDIR=%{buildroot} INSTALL_ROOT=%{buildroot} +make -C designer-Qt4Qt5 install INSTALL_ROOT=%{buildroot} +make -C Python install DESTDIR=%{buildroot} INSTALL_ROOT=%{buildroot} test -x %{buildroot}%{python3_sitearch}/PyQt5/Qsci.so || \ chmod a+x %{buildroot}%{python3_sitearch}/PyQt5/Qsci.so @@ -115,6 +117,8 @@ grep "%{_qt5_translationdir}" qscintilla.lang > qscintilla-qt5.lang %changelog * Sun Jan 05 2025 Funda Wang - 2.11.6-1 - update to 2.11.6 +- drop redunctant conditions regarding qt5 and python3, as we only provide + single flavour for now * Fri Feb 18 2022 liwu - 2.11.2-2 - Fix build error of qscintilla -- cgit v1.2.3