From c1dfde25f0df0f1d6a33c500dbbed3fa2d115e1a Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Sep 19 2016 15:44:00 +0000 Subject: Use the python_provide macro --- diff --git a/python-wheel.spec b/python-wheel.spec index b9daf02..151ed45 100644 --- a/python-wheel.spec +++ b/python-wheel.spec @@ -2,7 +2,7 @@ Name: python-%{pypi_name} Version: 0.30.0a0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A built-package format for Python License: MIT @@ -37,6 +37,8 @@ BuildRequires: pyxdg BuildRequires: python-keyring BuildRequires: python-jsonschema +%{?python_provide:%python_provide python2-%{pypi_name}} + %description -n python2-%{pypi_name} %{_description} Python 2 version. @@ -50,6 +52,8 @@ BuildRequires: python3-pyxdg BuildRequires: python3-keyring BuildRequires: python3-jsonschema +%{?python_provide:%python_provide python3-%{pypi_name}} + %description -n python3-%{pypi_name} %{_description} Python 3 version. @@ -97,6 +101,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -v --ignore build %exclude %{python3_sitelib}/%{pypi_name}/test %changelog +* Mon Sep 19 2016 Charalampos Stratakis - 0.30.0a0-2 +- Use the python_provide macro + * Mon Sep 19 2016 Charalampos Stratakis - 0.30.0a0-1 - Update to 0.30.0a0 - Added patch to remove keyrings.alt dependency