diff --git a/python-semantic_version.spec b/python-semantic_version.spec index 54bf3ef..1e99c0f 100644 --- a/python-semantic_version.spec +++ b/python-semantic_version.spec @@ -7,7 +7,7 @@ Name: python-%{pypi_name} Version: 2.6.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Library implementing the 'SemVer' scheme License: BSD @@ -29,7 +29,7 @@ BuildRequires: python-setuptools BuildRequires: python2-django %else BuildRequires: python2-setuptools -BuildRequires: python2-django1.11 +# Django doesn't have Python 2 support since 2.0 %endif %{?python_provide:%python_provide python2-%{pypi_name}} Provides: python-semantic-version @@ -53,7 +53,11 @@ Python 3 version %package doc Summary: Documentation for python-%{pypi_name} +%if %{with python3} +BuildRequires: python3-sphinx +%else BuildRequires: python-sphinx +%endif %description doc %{summary}. @@ -108,6 +112,10 @@ rm -rf html/.{doctrees,buildinfo} %doc html %changelog +* Tue Jan 08 2019 Petr Viktorin - 2.6.0-8 +- Remove Fedora build dependency on a compatibility build of Django +- Use python3-sphinx on Fedora + * Sat Jul 14 2018 Fedora Release Engineering - 2.6.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild