[qt5-qtlocation] build -examples only when supported

Rex Dieter rdieter at fedoraproject.org
Mon Jan 27 13:01:41 UTC 2014


commit 956d8e483cfd1b7cfc5a2693641249c3f9788756
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Mon Jan 27 07:02:06 2014 -0600

    build -examples only when supported

 qt5-qtlocation.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/qt5-qtlocation.spec b/qt5-qtlocation.spec
index caab75b..229aed4 100644
--- a/qt5-qtlocation.spec
+++ b/qt5-qtlocation.spec
@@ -6,7 +6,7 @@
 Summary: Qt5 - Location component
 Name:    qt5-%{qt_module}
 Version: 5.2.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 
 # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
 License: LGPLv2 with exceptions or GPLv3 with exceptions
@@ -105,11 +105,16 @@ rm -fv %{buildroot}%{_qt5_libdir}/lib*.la
 %{_qt5_docdir}/qtpositioning/
 %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-3
+- build -examples only when supported
+
 * Sun Jan 26 2014 Rex Dieter <rdieter at fedoraproject.org> 5.2.0-2
 - -examples subpkg
 


More information about the scm-commits mailing list