[PyXB/f21] Move documentation and examples to subpackage (Resolves: rhbz#1144488)

Michal Srb msrb at fedoraproject.org
Mon Sep 22 11:39:45 UTC 2014


commit 1f1adf1d1bb303027a0176ee3b20caa47b3d568c
Author: Michal Srb <msrb at redhat.com>
Date:   Mon Sep 22 13:29:32 2014 +0200

    Move documentation and examples to subpackage (Resolves: rhbz#1144488)

 PyXB.spec |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/PyXB.spec b/PyXB.spec
index 02fffd0..e3f0cc1 100644
--- a/PyXB.spec
+++ b/PyXB.spec
@@ -1,6 +1,6 @@
 Name:           PyXB
 Version:        1.2.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Python XML Schema Bindings
 License:        Apache
 URL:            http://pyxb.sourceforge.net/
@@ -14,6 +14,12 @@ PyXB (“pixbee”) is a pure Python package that generates Python source
 code for classes that correspond to data structures defined by
 XMLSchema.
 
+%package doc
+Summary:        PyXB documentation
+
+%description doc
+This package contains documentation and examples for PyXB.
+
 %prep
 %setup -q
 
@@ -24,11 +30,17 @@ XMLSchema.
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
  
 %files
-%doc doc/* LICENSE NOTICE PKG-INFO README.txt examples/*
+%doc LICENSE NOTICE
 %{python_sitelib}/*
 %{_bindir}/pyx*
 
+%files doc
+%doc doc/* LICENSE NOTICE PKG-INFO README.txt examples/*
+
 %changelog
+* Mon Sep 22 2014 Michal Srb <msrb at redhat.com> - 1.2.3-3
+- Move documentation and examples to subpackage (Resolves: rhbz#1144488)
+
 * Fri Jun 06 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.3-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list