diff --git a/python-lightblue.spec b/python-lightblue.spec index 91aa6b4..6b8b3ff 100644 --- a/python-lightblue.spec +++ b/python-lightblue.spec @@ -1,14 +1,11 @@ %global srcname lightblue -%if 0%{?fedora} -%global with_python3 1 -%endif #TODO file License issue missing in dist file upstream Name: python-lightblue Version: 0.1.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A Python library to work with Lightblue database Group: Development/Libraries @@ -16,21 +13,12 @@ License: GPLv3 URL: https://github.com/Allda/python-lightblue Source0: https://pypi.io/packages/source/p/%{name}/%{name}-%{version}.tar.gz -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-nose -BuildRequires: python2-mock -BuildRequires: python2-beanbag -BuildRequires: python2-dpath - -%if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-nose BuildRequires: python3-mock BuildRequires: python3-beanbag BuildRequires: python3-dpath -%endif # if with_python3 BuildArch: noarch @@ -38,20 +26,6 @@ BuildArch: noarch A Python library to work with Lightblue database API. More lightblue information can be found at https://lightblue.io -%package -n python2-%{srcname} -Summary: A Python library to work with Lightblue database - -Requires: python2-dpath -Requires: python2-beanbag - -%{?python_provide:%python_provide python2-%{srcname}} - -%description -n python2-%{srcname} -A Python library to work with Lightblue database API. More lightblue information -can be found at https://lightblue.io - - -%if 0%{?with_python3} %package -n python3-%{srcname} Summary: A Python library to work with Lightblue database @@ -63,7 +37,6 @@ Requires: python3-beanbag %description -n python3-%{srcname} A Python library to work with Lightblue database API. More lightblue information can be found at https://lightblue.io -%endif # if with_python3 %prep %autosetup @@ -71,39 +44,28 @@ can be found at https://lightblue.io sed -i 's/rednose/\#rednose/' setup.cfg %build -%py2_build -%if 0%{?with_python3} %py3_build -%endif # if with_python3 %install -%py2_install -%if 0%{?with_python3} %py3_install -%endif # if with_python3 %check -nosetests-%{python2_version} -%if 0%{?with_python3} nosetests-%{python3_version} -%endif # if with_python3 -%files -n python2-%{srcname} -%doc README.md -%{python2_sitelib}/* - -%if 0%{?with_python3} %files -n python3-%{srcname} %doc README.md %{python3_sitelib}/* -%endif # if with_python3 %changelog +* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 0.1.4-4 +- Subpackage python2-lightblue has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Jul 14 2018 Fedora Release Engineering - 0.1.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild