summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2017-07-25 18:36:32 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2017-07-25 18:36:32 +0200
commit2a9e6e2053407cd126bf1154086f3ca170c7d5a9 (patch)
tree0bc55a768492922ffffc01167dd96624d8384f93 /redhat/dependencies
parenta166e45221dabbf06d176ce3186e5f52b1549a1f (diff)
downloadtde-packaging-2a9e6e2053407cd126bf1154086f3ca170c7d5a9.tar.gz
tde-packaging-2a9e6e2053407cd126bf1154086f3ca170c7d5a9.zip
RPM packaging: update build scripts
Diffstat (limited to 'redhat/dependencies')
-rw-r--r--redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec8
1 files changed, 3 insertions, 5 deletions
diff --git a/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec b/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec
index e6d2a7d20..a0a3c5978 100644
--- a/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec
+++ b/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec
@@ -193,29 +193,27 @@ export QTDIR=%{_libdir}/tqt3
# Installs supplementary headers
for i in include/*.h; do
- %__install -D -m 644 $i %{buildroot}${QTINC}/private/${i##*/}
+ %__install -D -m 644 $i %{buildroot}${QTINC}/private/${i##*/}
done
# Installs the HTML documentation correctly
for i in doc/html/*; do
- %__install -D -m 644 $i %{buildroot}%{tde_tdedocdir}/HTML/en/%{name}/${i##*/}
+ %__install -D -m 644 $i %{buildroot}%{tde_tdedocdir}/HTML/en/%{name}/${i##*/}
done
# Installs the Designer plugin
for i in designer/*.so; do
- %__install -D -m 644 $i %{buildroot}${QTDIR}/plugins/designer/${i##*/}
+ %__install -D -m 644 $i %{buildroot}${QTDIR}/plugins/designer/${i##*/} || %__install -D -m 644 ${QTDIR}/plugins/$i %{buildroot}${QTDIR}/plugins/designer/${i##*/}
done
# Installs libraries
%__mkdir_p %{buildroot}%{_libdir}
%__mv -f tmplib/* %{buildroot}%{_libdir}
-
# Fix private headers location
%__mv -f %{buildroot}/private %{buildroot}%{_includedir}/tqt3
%__mv -f %{buildroot}%{_includedir}/tqt3 %{buildroot}%{_includedir}/tqscintilla
-
# Fix permissions
chmod a-x %{buildroot}%{_includedir}/tqscintilla/*.h
chmod a-x %{buildroot}%{_includedir}/tqscintilla/*.h