Remove Fedora build dependency on a compatibility build of Django
Also, use python3-sphinx on Fedora
This commit is contained in:
parent
29cf0c8e1f
commit
be4e60fb32
@ -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 <pviktori@redat.com> - 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 <releng@fedoraproject.org> - 2.6.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user