Python 2 binary package renamed to python2-owslib

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:41:55 -04:00
commit 80d6680038

View file

@ -4,7 +4,7 @@
Name: python-%{modname}
Version: 0.14.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Client library for OGC web services
License: BSD
URL: https://geopython.github.io/OWSLib
@ -13,20 +13,28 @@ BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-setuptools
Requires: pyproj
Requires: python-dateutil
Requires: python-requests
Requires: pytz
%if 0%{?with_python3}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%endif # if with_python3
%description
Package for client programming with Open Geospatial Consortium (OGC) web
%global _description\
Package for client programming with Open Geospatial Consortium (OGC) web\
service (hence OWS) interface standards, and their related content models.
%description %_description
%package -n python2-owslib
Summary: %summary
Requires: pyproj
Requires: python-dateutil
Requires: python-requests
Requires: pytz
%{?python_provide:%python_provide python2-owslib}
%description -n python2-owslib %_description
%if 0%{?with_python3}
%package -n python3-OWSLib
Summary: Client library for OGC web services
@ -82,7 +90,7 @@ popd
%endif # if with_python3
%files
%files -n python2-owslib
%doc LICENSE.txt README.txt CHANGES.txt CREDITS.txt
%{python_sitelib}/owslib
%{python_sitelib}/%{modname}-%{version}-py*.egg-info
@ -95,6 +103,10 @@ popd
%endif # if with_python3
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.14.0-4
- Python 2 binary package renamed to python2-owslib
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild