From a9ccaaea691ea347fc3a4757b2ab1f978abc5b18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Tue, 11 Apr 2023 17:21:30 +0200 Subject: RPM: tqscintilla: fix build on opensuse MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- redhat/dependencies/tqscintilla/tqscintilla.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'redhat/dependencies') 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 -- cgit v1.2.3