From 3a91e975281a4135b9cccd1d5268be525a3912b4 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Sep 09 2019 22:42:53 +0000 Subject: Subpackage python2-openidc-client has been removed --- diff --git a/python-openidc-client.spec b/python-openidc-client.spec index 393ae2c..11397da 100644 --- a/python-openidc-client.spec +++ b/python-openidc-client.spec @@ -4,15 +4,9 @@ %global commit cd8d91c0503124305727f38a0f9fe93bb472209c %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%if 0%{?rhel} && 0%{?rhel} <= 7 -%bcond_with python3 -%else -%bcond_without python3 -%endif - Name: python-%{srcname} Version: 0.6.0 -Release: 6.20180605git%{shortcommit}%{?dist} +Release: 7.20180605git%{shortcommit}%{?dist} Summary: Python OpenID Connect client with token caching and management License: MIT @@ -24,28 +18,6 @@ BuildArch: noarch %description %{summary}. -%package -n python2-%{srcname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{srcname}} -BuildRequires: python2-devel -%if 0%{?rhel} && 0%{?rhel} <= 7 -BuildRequires: python-setuptools -BuildRequires: python-mock -BuildRequires: python-requests -Requires: python-requests -%else -BuildRequires: python2-setuptools -BuildRequires: python2-mock -BuildRequires: python2-requests -Requires: python2-requests -%endif - -%description -n python2-%{srcname} -%{summary}. - -Python 2 version. - -%if %{with python3} %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} @@ -58,38 +30,30 @@ Requires: python3-requests %{summary}. Python 3 version. -%endif %prep %autosetup -n %{name}-%{commit} %build -%py2_build %py3_build %install -%py2_install %py3_install %check -%{__python2} setup.py test %{__python3} setup.py test -%files -n python2-openidc-client -%license COPYING -%doc README.md -%{python2_sitelib}/%{pkgname}-*.egg-info/ -%{python2_sitelib}/%{pkgname}/ - -%if %{with python3} %files -n python3-openidc-client %license COPYING %doc README.md %{python3_sitelib}/%{pkgname}-*.egg-info/ %{python3_sitelib}/%{pkgname}/ -%endif %changelog +* Mon Sep 09 2019 Miro Hrončok - 0.6.0-7.20180605gitcd8d91c +- Subpackage python2-openidc-client has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Fri Aug 16 2019 Miro Hrončok - 0.6.0-6.20180605gitcd8d91c - Rebuilt for Python 3.8