Move python3 runtime dependencies to the right subpackage
- Properly exclude python3 binaries
This commit is contained in:
parent
bb7f33ebc7
commit
6f5543e14a
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
Name: python-sphinx
|
Name: python-sphinx
|
||||||
Version: 1.1.2
|
Version: 1.1.2
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Python documentation generator
|
Summary: Python documentation generator
|
||||||
|
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -30,9 +30,7 @@ BuildRequires: python-jinja2
|
|||||||
BuildRequires: python-nose
|
BuildRequires: python-nose
|
||||||
# Test dependencies
|
# Test dependencies
|
||||||
BuildRequires: texlive-latex
|
BuildRequires: texlive-latex
|
||||||
Requires: python-docutils
|
|
||||||
Requires: python-jinja2
|
|
||||||
Requires: python-pygments
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
@ -40,11 +38,11 @@ BuildRequires: python3-docutils
|
|||||||
BuildRequires: python3-jinja2
|
BuildRequires: python3-jinja2
|
||||||
BuildRequires: python3-pygments
|
BuildRequires: python3-pygments
|
||||||
BuildRequires: python3-nose
|
BuildRequires: python3-nose
|
||||||
Requires: python3-docutils
|
|
||||||
Requires: python3-jinja2
|
|
||||||
Requires: python3-pygments
|
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
|
Requires: python-docutils
|
||||||
|
Requires: python-jinja2
|
||||||
|
Requires: python-pygments
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Sphinx is a tool that makes it easy to create intelligent and
|
Sphinx is a tool that makes it easy to create intelligent and
|
||||||
@ -79,6 +77,9 @@ the Python docs:
|
|||||||
%package -n python3-sphinx
|
%package -n python3-sphinx
|
||||||
Summary: Python documentation generator
|
Summary: Python documentation generator
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
|
Requires: python3-docutils
|
||||||
|
Requires: python3-jinja2
|
||||||
|
Requires: python3-pygments
|
||||||
|
|
||||||
%description -n python3-sphinx
|
%description -n python3-sphinx
|
||||||
Sphinx is a tool that makes it easy to create intelligent and
|
Sphinx is a tool that makes it easy to create intelligent and
|
||||||
@ -225,6 +226,7 @@ popd
|
|||||||
%files -f sphinx.lang
|
%files -f sphinx.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS CHANGES EXAMPLES LICENSE README TODO
|
%doc AUTHORS CHANGES EXAMPLES LICENSE README TODO
|
||||||
|
%exclude %{_bindir}/sphinx-*-%{python3_version}
|
||||||
%{_bindir}/sphinx-*
|
%{_bindir}/sphinx-*
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
%dir %{_datadir}/sphinx/
|
%dir %{_datadir}/sphinx/
|
||||||
@ -250,6 +252,10 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Feb 5 2012 Michel Salim <salimma@fedoraproject.org> - 1.1.2-5
|
||||||
|
- Move python3 runtime dependencies to the right subpackage
|
||||||
|
- Properly exclude python3 binaries
|
||||||
|
|
||||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-4
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user