From 7d86c01b4e2e2b5ea29bd1547632c3a7372603ad Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 27 Jan 2014 07:15:36 -0600 Subject: [PATCH] examples subpkg --- qt5-qttools.spec | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/qt5-qttools.spec b/qt5-qttools.spec index 27d396f..bec95d1 100644 --- a/qt5-qttools.spec +++ b/qt5-qttools.spec @@ -12,7 +12,7 @@ Summary: Qt5 - QtTool components Name: qt5-qttools 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,6 +105,12 @@ BuildArch: noarch %{summary}. %endif +%package examples +Summary: Programming examples for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +%description examples +%{summary}. + %prep %setup -q -n qttools-opensource-src-%{version}%{?pre:-%{pre}} @@ -335,8 +341,16 @@ fi %{_qt5_docdir}/qtuitools/ %endif +%if 0%{?_qt5_examplesdir:1} +%files examples +%{_qt5_examplesdir}/ +%endif + %changelog +* Mon Jan 27 2014 Rex Dieter 5.2.0-3 +- -examples subpkg + * Tue Jan 14 2014 Rex Dieter 5.2.0-2 - epel7 bootstrapped