diff --git a/python-configobj.spec b/python-configobj.spec index eae8451..336710d 100644 --- a/python-configobj.spec +++ b/python-configobj.spec @@ -1,6 +1,6 @@ Name: python-configobj Version: 5.0.6 -Release: 18%{?dist} +Release: 19%{?dist} Summary: Config file reading, writing, and validation License: BSD URL: http://configobj.readthedocs.org/ @@ -11,10 +11,6 @@ URL: http://configobj.readthedocs.org/ # Source0: https://pypi.python.org/packages/source/c/configobj/configobj-5.0.6.tar.gz Source0: https://github.com/DiffSK/configobj/archive/v%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-six -BuildRequires: python2-pytest BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-six @@ -25,12 +21,6 @@ file round tripper. Its main feature is that it is very easy to use, with a\ straightforward programmers interface and a simple syntax for config files. %description %_description -%package -n python2-configobj -Summary: %{summary} -%{?python_provide:%python_provide python2-configobj} -Requires: python2-six -%description -n python2-configobj %_description - %package -n python3-configobj Summary: %{summary} %{?python_provide:%python_provide python3-configobj} @@ -41,29 +31,17 @@ Requires: python3-six %autosetup -n configobj-%{version} %build -%py2_build %py3_build %install %py3_install -%py2_install %check # this needs to be set for tests.test_configobj.test_options_deprecation export PYTHONWARNINGS=always -%{__python2} test_configobj.py -py.test-%{python2_version} tests %{__python3} test_configobj.py py.test-%{python3_version} tests -%files -n python2-configobj -%doc README.md -%license LICENSE -%{python2_sitelib}/_version.py* -%{python2_sitelib}/configobj.py* -%{python2_sitelib}/validate.py* -%{python2_sitelib}/configobj-%{version}-py?.?.egg-info - %files -n python3-configobj %doc README.md %license LICENSE @@ -74,6 +52,10 @@ py.test-%{python3_version} tests %{python3_sitelib}/configobj-%{version}-py?.?.egg-info %changelog +* Sun Oct 20 2019 Miro Hrončok - 5.0.6-19 +- Subpackage python2-configobj has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Thu Oct 03 2019 Miro Hrončok - 5.0.6-18 - Rebuilt for Python 3.8.0rc1 (#1748018)