[qt5-qtdeclarative] build -examples only if supported

Rex Dieter rdieter at fedoraproject.org
Mon Jan 27 12:59:45 UTC 2014


commit d896d1ccd3fc9e71387fb5f8bc174a8e10706ad3
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Mon Jan 27 07:00:11 2014 -0600

    build -examples only if supported

 qt5-qtdeclarative.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/qt5-qtdeclarative.spec b/qt5-qtdeclarative.spec
index 23de58d..1478ac1 100644
--- a/qt5-qtdeclarative.spec
+++ b/qt5-qtdeclarative.spec
@@ -13,7 +13,7 @@
 Summary: Qt5 - QtDeclarative component
 Name:    qt5-%{qt_module}
 Version: 5.2.0
-Release: 4%{?dist}
+Release: 5%{?dist}
 
 # See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
 License: LGPLv2 with exceptions or GPLv3 with exceptions
@@ -187,11 +187,16 @@ popd
 %{_qt5_docdir}/qtquickdialogs/
 %endif
 
+%if 0%{?_qt5_examplesdir:1}
 %files examples
 %{_qt5_examplesdir}/
+%endif
 
 
 %changelog
+* Mon Jan 27 2014 Rex Dieter <rdieter at fedoraproject.org> 5.2.0-5
+- build -examples only if supported
+
 * Sun Jan 26 2014 Rex Dieter <rdieter at fedoraproject.org> 5.2.0-4
 - -examples subpkg
 


More information about the scm-commits mailing list