[qt5-qtsvg] examples subpkg

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


commit b33793c5187f783d17833276425669aa275bd634
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Mon Jan 27 07:13:59 2014 -0600

    examples subpkg

 qt5-qtsvg.spec |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/qt5-qtsvg.spec b/qt5-qtsvg.spec
index a5aa66b..ccb45c7 100644
--- a/qt5-qtsvg.spec
+++ b/qt5-qtsvg.spec
@@ -8,7 +8,7 @@
 Summary: Qt5 - Support for rendering and displaying SVG
 Name:    qt5-%{qt_module}
 Version: 5.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
 License: LGPLv2 with exceptions or GPLv3 with exceptions
@@ -47,6 +47,12 @@ BuildArch: noarch
 %{summary}.
 %endif
 
+%package examples
+Summary: Programming examples for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+%description examples
+%{summary}.
+
 
 %prep
 %setup -q -n %{qt_module}-opensource-src-%{version}%{?pre:-%{pre}}
@@ -105,8 +111,16 @@ rm -fv %{buildroot}%{_qt5_libdir}/lib*.la
 %{_qt5_docdir}/qtsvg/
 %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-2
+- -examples subpkg
+
 * Thu Dec 12 2013 Rex Dieter <rdieter at fedoraproject.org> 5.2.0-1
 - 5.2.0
 


More information about the scm-commits mailing list