[uwsgi/f21] Splitting off the documentation to its subpackage

Jorge A Gallegos kad at fedoraproject.org
Fri Aug 29 04:49:13 UTC 2014


commit 63f114056cfae5df3bc9781598bd233ae3c00a95
Author: Jorge Gallegos <kad at fedoraproject.org>
Date:   Thu Aug 28 21:12:01 2014 -0700

    Splitting off the documentation to its subpackage

 uwsgi.spec |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/uwsgi.spec b/uwsgi.spec
index 1d05923..0932e0c 100644
--- a/uwsgi.spec
+++ b/uwsgi.spec
@@ -66,6 +66,14 @@ Requires: %{name}
 This package contains the development header files and libraries
 for uWSGI extensions
 
+%description -n %{name}-docs
+This package contains the documentation files for uWSGI
+
+%package -n %{name}-docs
+Summary:  uWSGI - Documentation
+Group:    Documentation
+Requires: %{name}
+
 %package -n %{name}-plugin-common
 Summary:  uWSGI - Common plugins for uWSGI
 Group:    System Environment/Daemons
@@ -441,11 +449,14 @@ exit 0
 %{_unitdir}/%{name}.service
 %dir %{_sysconfdir}/%{name}.d
 %dir /run/%{name}
-%doc LICENSE README README.Fedora CHANGELOG docs
+%doc LICENSE README README.Fedora CHANGELOG
 
 %files -n %{name}-devel
 %{_includedir}/%{name}
 
+%files -n %{name}-docs
+%doc docs
+
 %files -n %{name}-plugin-common
 %dir %{_libdir}/%{name}
 %{_libdir}/%{name}/http_plugin.so


More information about the scm-commits mailing list