Use separate dirs for docs for py2 and py3 subpackages

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2016-05-04 21:36:35 -04:00
parent 3c921e6f0d
commit 1506a2ea41

View File

@ -2,7 +2,7 @@
Name: python-%{modname} Name: python-%{modname}
Version: 2.5.2 Version: 2.5.2
Release: 1%{?dist} Release: 2%{?dist}
Epoch: 1 Epoch: 1
Summary: Powerful extensions to the standard datetime module Summary: Powerful extensions to the standard datetime module
@ -14,9 +14,6 @@ Source0: https://github.com/dateutil/dateutil/archive/%{version}/%{modnam
BuildArch: noarch BuildArch: noarch
BuildRequires: python-sphinx BuildRequires: python-sphinx
# Use the same directory of the main package for subpackage licence and docs
%global _docdir_fmt %{name}
%description %description
The dateutil module provides powerful extensions to the standard datetime The dateutil module provides powerful extensions to the standard datetime
module available in Python 2.3+. module available in Python 2.3+.
@ -93,6 +90,9 @@ make -C docs html
%doc docs/_build/html %doc docs/_build/html
%changelog %changelog
* Thu May 5 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:2.5.2-2
- Use separate dirs for docs for py2 and py3 subpackages (#1332623)
* Sat Apr 09 2016 Igor Gnatenko <ignatenko@redhat.com> - 1:2.5.2-1 * Sat Apr 09 2016 Igor Gnatenko <ignatenko@redhat.com> - 1:2.5.2-1
- Update to 2.5.2 - Update to 2.5.2
- Adopt for new packaging guidelines - Adopt for new packaging guidelines