summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2023-04-11 17:21:30 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2023-04-11 17:21:30 +0200
commita9ccaaea691ea347fc3a4757b2ab1f978abc5b18 (patch)
treed5c03a047475121910cdb6d09e4fe26e3fb9ede4
parent87de643a0d9dee6e69286d9a48dea90ae1aa6a57 (diff)
downloadtde-packaging-a9ccaaea691ea347fc3a4757b2ab1f978abc5b18.tar.gz
tde-packaging-a9ccaaea691ea347fc3a4757b2ab1f978abc5b18.zip
RPM: tqscintilla: fix build on opensuse
Signed-off-by: François Andriot <albator78@libertysurf.fr>
-rw-r--r--redhat/dependencies/tqscintilla/tqscintilla.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/redhat/dependencies/tqscintilla/tqscintilla.spec b/redhat/dependencies/tqscintilla/tqscintilla.spec
index 7599dd2fa..b926e184e 100644
--- a/redhat/dependencies/tqscintilla/tqscintilla.spec
+++ b/redhat/dependencies/tqscintilla/tqscintilla.spec
@@ -208,8 +208,10 @@ fi
%__rm -rf %{?buildroot}
%__make install -C build DESTDIR=%{?buildroot}
-# Fix headers location
-#%__mv "%{?buildroot}%{_includedir}/tqt3" "%{?buildroot}%{_includedir}/tqscintilla"
+%if "%{?_docdir}" != "%{_datadir}/doc"
+%__mkdir_p "%{?buildroot}%{_docdir}"
+%__mv "%{?buildroot}%{_datadir}/doc/libtqscintilla/" "%{?buildroot}%{_docdir}/libtqscintilla/"
+%endif
%clean