[packages/qt5-qttools] don't compile and install example binaries

atler atler at pld-linux.org
Sat Jan 16 17:33:02 CET 2021


commit d4812328d4b1d8d256b18212381bbf4c06917195
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Jan 16 17:31:29 2021 +0100

    don't compile and install example binaries
    
    ...fixes rpm4 error about arch specific files in noarch package

 qt5-qttools.spec | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/qt5-qttools.spec b/qt5-qttools.spec
index 3cfb625..4c0b351 100644
--- a/qt5-qttools.spec
+++ b/qt5-qttools.spec
@@ -331,7 +331,8 @@ Przykłady do narzędzi Qt5.
 %endif
 
 %build
-qmake-qt5
+qmake-qt5 \
+	CONFIG-=compile_examples
 %{__make}
 %{?with_doc:%{__make} docs}
 
@@ -518,10 +519,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %ghost %{_libdir}/libQt5DesignerComponents.so.5
 
 %dir %{qt5dir}/plugins/designer
-%attr(755,root,root) %{qt5dir}/plugins/designer/libcontainerextension.so
-%attr(755,root,root) %{qt5dir}/plugins/designer/libcustomwidgetplugin.so
-%attr(755,root,root) %{qt5dir}/plugins/designer/libtaskmenuextension.so
-%attr(755,root,root) %{qt5dir}/plugins/designer/libworldtimeclockplugin.so
 
 # common for base -devel and plugin-specific files (from other source packages)
 %dir %{_libdir}/cmake/Qt5Designer
@@ -536,10 +533,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/qt5/QtDesignerComponents
 %{_pkgconfigdir}/Qt5Designer.pc
 %{_libdir}/cmake/Qt5Designer/Qt5DesignerConfig*.cmake
-%{_libdir}/cmake/Qt5Designer/Qt5Designer_AnalogClockPlugin.cmake
-%{_libdir}/cmake/Qt5Designer/Qt5Designer_MultiPageWidgetPlugin.cmake
-%{_libdir}/cmake/Qt5Designer/Qt5Designer_TicTacToePlugin.cmake
-%{_libdir}/cmake/Qt5Designer/Qt5Designer_WorldTimeClockPlugin.cmake
 %dir %{_libdir}/cmake/Qt5DesignerComponents
 %{_libdir}/cmake/Qt5DesignerComponents/Qt5DesignerComponentsConfig.cmake
 %{_libdir}/cmake/Qt5DesignerComponents/Qt5DesignerComponentsConfigVersion.cmake
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt5-qttools.git/commitdiff/d4812328d4b1d8d256b18212381bbf4c06917195



More information about the pld-cvs-commit mailing list