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}
|
Name: python-%{pypi_name}
|
||||||
Version: 2.6.0
|
Version: 2.6.0
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Library implementing the 'SemVer' scheme
|
Summary: Library implementing the 'SemVer' scheme
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -29,7 +29,7 @@ BuildRequires: python-setuptools
|
|||||||
BuildRequires: python2-django
|
BuildRequires: python2-django
|
||||||
%else
|
%else
|
||||||
BuildRequires: python2-setuptools
|
BuildRequires: python2-setuptools
|
||||||
BuildRequires: python2-django1.11
|
# Django doesn't have Python 2 support since 2.0
|
||||||
%endif
|
%endif
|
||||||
%{?python_provide:%python_provide python2-%{pypi_name}}
|
%{?python_provide:%python_provide python2-%{pypi_name}}
|
||||||
Provides: python-semantic-version
|
Provides: python-semantic-version
|
||||||
@ -53,7 +53,11 @@ Python 3 version
|
|||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for python-%{pypi_name}
|
Summary: Documentation for python-%{pypi_name}
|
||||||
|
%if %{with python3}
|
||||||
|
BuildRequires: python3-sphinx
|
||||||
|
%else
|
||||||
BuildRequires: python-sphinx
|
BuildRequires: python-sphinx
|
||||||
|
%endif
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
%{summary}.
|
%{summary}.
|
||||||
@ -108,6 +112,10 @@ rm -rf html/.{doctrees,buildinfo}
|
|||||||
%doc html
|
%doc html
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user