diff --git a/pyosmium.spec b/pyosmium.spec index a752177..c06a558 100644 --- a/pyosmium.spec +++ b/pyosmium.spec @@ -2,7 +2,7 @@ Name: pyosmium Version: 2.14.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for libosmium License: BSD @@ -10,11 +10,11 @@ URL: http://osmcode.org/pyosmium/ Source0: https://github.com/osmcode/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ -BuildRequires: python2-devel python3-devel +BuildRequires: python3-devel BuildRequires: python3-sphinx python3-sphinxcontrib-autoprogram -BuildRequires: python2-nose python3-nose -BuildRequires: python2-mock python3-mock -BuildRequires: boost-devel boost-python2-devel boost-python3-devel +BuildRequires: python3-nose +BuildRequires: python3-mock +BuildRequires: boost-devel boost-python3-devel BuildRequires: libosmium-devel >= %{libosmium_version} BuildRequires: libosmium-static >= %{libosmium_version} @@ -23,15 +23,6 @@ Provides Python bindings for the Libosmium C++ library, a library for working with OpenStreetMap data in a fast and flexible manner. -%package -n python2-osmium -Summary: %{summary} -%{?python_provide:%python_provide python2-osmium} - -%description -n python2-osmium -Provides Python bindings for the Libosmium C++ library, a library -for working with OpenStreetMap data in a fast and flexible manner. - - %package -n python3-osmium Summary: %{summary} %{?python_provide:%python_provide python3-osmium} @@ -46,29 +37,20 @@ for working with OpenStreetMap data in a fast and flexible manner. %build -%py2_build %py3_build cd doc make html SPHINXBUILD=sphinx-build-3 %install -%py2_install %py3_install %check cd test -%{__python2} run_tests.py %{__python3} run_tests.py -%files -n python2-osmium -%doc README.md README.rst CHANGELOG.md doc/_build/html -%license LICENSE.TXT -%{python2_sitearch}/* - - %files -n python3-osmium %doc README.md README.rst CHANGELOG.md doc/_build/html %license LICENSE.TXT @@ -77,6 +59,9 @@ cd test %changelog +* Mon Oct 1 2018 Tom Hughes - 2.14.3-2 +- Drop python2 subpackage + * Thu Aug 9 2018 Tom Hughes - 2.14.3-1 - Update to 2.14.3 upstream release