[TOPCOM] Split examples into a noarch subpackage, due to their size.

Jerry James jjames at fedoraproject.org
Tue Sep 3 17:17:41 UTC 2013


commit c25c28baa202c12dd5779be16624f447b83fd78c
Author: Jerry James <jamesjer at betterlinux.com>
Date:   Tue Sep 3 11:17:22 2013 -0600

    Split examples into a noarch subpackage, due to their size.

 TOPCOM.spec |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/TOPCOM.spec b/TOPCOM.spec
index ef730bf..e99a09b 100644
--- a/TOPCOM.spec
+++ b/TOPCOM.spec
@@ -1,6 +1,6 @@
 Name:           TOPCOM
 Version:        0.17.4
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Triangulations Of Point Configurations and Oriented Matroids
 
 Group:          Applications/Engineering
@@ -43,6 +43,15 @@ Group:          Development/Libraries
 %description libs
 Command line tools that expose %{name} library functionality.
 
+%package examples
+Summary:        Example inputs and outputs for TOPCOM
+Group:          Documentation
+Requires:       %{name} = %{version}-%{release}
+BuildArch:      noarch
+
+%description examples
+Example input and output files for TOPCOM.
+
 %prep
 %setup -q
 %setup -q -T -D -a 1
@@ -98,7 +107,6 @@ rm -f examples/Makefile*
 %postun libs -p /sbin/ldconfig
 
 %files
-%doc examples
 %{_bindir}/*
 %{_mandir}/man1/*
 %{_mandir}/man7/*
@@ -111,7 +119,13 @@ rm -f examples/Makefile*
 %doc AUTHORS ChangeLog COPYING README
 %{_libdir}/*.so.*
 
+%files examples
+%doc examples
+
 %changelog
+* Tue Sep  3 2013 Jerry James <loganjerry at gmail.com> - 0.17.4-4
+- Split examples into a noarch subpackage, due to their size
+
 * Fri Aug 02 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.17.4-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list