Move documentation to separate package (bug #1219139)
This commit is contained in:
parent
aa8e80881c
commit
7069738a81
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Name: python-virtualenv
|
Name: python-virtualenv
|
||||||
Version: 13.1.2
|
Version: 13.1.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Tool to create isolated Python environments
|
Summary: Tool to create isolated Python environments
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -41,6 +41,14 @@ is a successor to workingenv, and an extension of virtual-python. It is
|
|||||||
written by Ian Bicking, and sponsored by the Open Planning Project. It is
|
written by Ian Bicking, and sponsored by the Open Planning Project. It is
|
||||||
licensed under an MIT-style permissive license.
|
licensed under an MIT-style permissive license.
|
||||||
|
|
||||||
|
%if 0%{?fedora} > 0
|
||||||
|
%package -n python-virtualenv-doc
|
||||||
|
Summary: Documentation for python virtualenv
|
||||||
|
|
||||||
|
%description -n python-virtualenv-doc
|
||||||
|
Documentation for python virtualenv.
|
||||||
|
%endif
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
%package -n python3-virtualenv
|
%package -n python3-virtualenv
|
||||||
Summary: Tool to create isolated Python environments
|
Summary: Tool to create isolated Python environments
|
||||||
@ -101,22 +109,20 @@ popd
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%doc docs/*rst PKG-INFO AUTHORS.txt LICENSE.txt
|
%doc docs/*rst PKG-INFO AUTHORS.txt LICENSE.txt
|
||||||
# Include sphinx docs on Fedora
|
|
||||||
%if 0%{?fedora} > 0
|
|
||||||
%doc build/sphinx/*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%{python2_sitelib}/*
|
%{python2_sitelib}/*
|
||||||
%{_bindir}/virtualenv
|
%{_bindir}/virtualenv
|
||||||
%{_bindir}/virtualenv-%{python2_version}
|
%{_bindir}/virtualenv-%{python2_version}
|
||||||
|
|
||||||
|
%if 0%{?fedora} > 0
|
||||||
|
# Include sphinx docs on Fedora
|
||||||
|
%files -n python-virtualenv-doc
|
||||||
|
%doc build/sphinx/*
|
||||||
|
%endif
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
%files -n python3-virtualenv
|
%files -n python3-virtualenv
|
||||||
%doc docs/*rst PKG-INFO AUTHORS.txt LICENSE.txt
|
%doc docs/*rst PKG-INFO AUTHORS.txt LICENSE.txt
|
||||||
# Include sphinx docs on Fedora
|
|
||||||
%if 0%{?fedora} > 0
|
|
||||||
%doc build/sphinx/*
|
|
||||||
%endif
|
|
||||||
%{_bindir}/py3-virtualenv
|
%{_bindir}/py3-virtualenv
|
||||||
%{_bindir}/virtualenv-%{python3_version}
|
%{_bindir}/virtualenv-%{python3_version}
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
@ -125,6 +131,9 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 2 2015 Orion Poplawski <orion@cora.nwra.com> - 13.1.2-3
|
||||||
|
- Move documentation to separate package (bug #1219139)
|
||||||
|
|
||||||
* Wed Oct 14 2015 Robert Kuska <rkuska@redhat.com> - 13.1.2-2
|
* Wed Oct 14 2015 Robert Kuska <rkuska@redhat.com> - 13.1.2-2
|
||||||
- Rebuilt for Python3.5 rebuild
|
- Rebuilt for Python3.5 rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user