Fix build due to Django dependency (bz#1556267)

This commit is contained in:
Javier Pena 2018-05-29 10:20:29 +02:00
parent 4a13a35fd7
commit 70ac3e67dc

View File

@ -7,7 +7,7 @@
Name: python-%{pypi_name}
Version: 2.6.0
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Library implementing the 'SemVer' scheme
License: BSD
@ -26,10 +26,11 @@ Summary: %{summary}
BuildRequires: python2-devel
%if 0%{?rhel} && 0%{?rhel} <= 7
BuildRequires: python-setuptools
BuildRequires: python2-django
%else
BuildRequires: python2-setuptools
BuildRequires: python2-django1.11
%endif
BuildRequires: python2-django
%{?python_provide:%python_provide python2-%{pypi_name}}
Provides: python-semantic-version
@ -107,6 +108,9 @@ rm -rf html/.{doctrees,buildinfo}
%doc html
%changelog
* Tue May 29 2018 Javier Peña <jpena@redhat.com> - 2.6.0-5
- Fix build due to Django dependency (bz#1556267)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild