Splitting off the documentation to its subpackage

This commit is contained in:
Jorge Gallegos 2014-08-28 21:12:01 -07:00
parent c4714c6fa8
commit 63f114056c

View File

@ -66,6 +66,14 @@ Requires: %{name}
This package contains the development header files and libraries This package contains the development header files and libraries
for uWSGI extensions 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 %package -n %{name}-plugin-common
Summary: uWSGI - Common plugins for uWSGI Summary: uWSGI - Common plugins for uWSGI
Group: System Environment/Daemons Group: System Environment/Daemons
@ -441,11 +449,14 @@ exit 0
%{_unitdir}/%{name}.service %{_unitdir}/%{name}.service
%dir %{_sysconfdir}/%{name}.d %dir %{_sysconfdir}/%{name}.d
%dir /run/%{name} %dir /run/%{name}
%doc LICENSE README README.Fedora CHANGELOG docs %doc LICENSE README README.Fedora CHANGELOG
%files -n %{name}-devel %files -n %{name}-devel
%{_includedir}/%{name} %{_includedir}/%{name}
%files -n %{name}-docs
%doc docs
%files -n %{name}-plugin-common %files -n %{name}-plugin-common
%dir %{_libdir}/%{name} %dir %{_libdir}/%{name}
%{_libdir}/%{name}/http_plugin.so %{_libdir}/%{name}/http_plugin.so