Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-02-21 03:28:04 +01:00
commit ed3026138d

View file

@ -4,7 +4,7 @@
Name: python-%{modname}
Version: 0.16.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Client library for OGC web services
License: BSD
URL: https://geopython.github.io/OWSLib
@ -12,7 +12,7 @@ Source0: https://files.pythonhosted.org/packages/source/O/%{modname}/%{mo
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-setuptools
BuildRequires: python2-setuptools
%if 0%{?with_python3}
BuildRequires: python3-devel
@ -27,10 +27,10 @@ service (hence OWS) interface standards, and their related content models.
%package -n python2-owslib
Summary: %summary
Requires: pyproj
Requires: python-dateutil
Requires: python-requests
Requires: pytz
Requires: python2-pyproj
Requires: python2-dateutil
Requires: python2-requests
Requires: python2-pytz
%{?python_provide:%python_provide python2-owslib}
# Remove before F30
Provides: %{name} = %{version}-%{release}
@ -106,6 +106,10 @@ popd
%endif # if with_python3
%changelog
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.16.0-3
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild