[packages/QtIOCompressor] fix build without qt4
atler
atler at pld-linux.org
Thu Jan 21 18:04:33 CET 2021
commit 9156e87a67b8a60f5459fefd90a5474be3a2a236
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Jan 21 18:04:15 2021 +0100
fix build without qt4
QtIOCompressor.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/QtIOCompressor.spec b/QtIOCompressor.spec
index 507265d..fde5977 100644
--- a/QtIOCompressor.spec
+++ b/QtIOCompressor.spec
@@ -173,6 +173,7 @@ rm -rf $RPM_BUILD_ROOT
%post -n Qt5IOCompressor -p /sbin/ldconfig
%postun -n Qt5IOCompressor -p /sbin/ldconfig
+%if %{with qt4}
%files
%defattr(644,root,root,755)
%doc LGPL_EXCEPTION.txt README.TXT
@@ -186,6 +187,7 @@ rm -rf $RPM_BUILD_ROOT
%{qt4mkspecsdir}/features/qtiocompressor.prf
%{_includedir}/qt4/QtSolutions/QtIOCompressor
%{_includedir}/qt4/QtSolutions/qtiocompressor.h
+%endif
%if %{with qt5}
%files -n Qt5IOCompressor
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/QtIOCompressor.git/commitdiff/9156e87a67b8a60f5459fefd90a5474be3a2a236
More information about the pld-cvs-commit
mailing list