Subpackage python2-configobj has been removed

This commit is contained in:
Miro Hrončok 2019-10-20 21:47:48 +02:00
parent 0902d4f223
commit bc6882514b

View File

@ -1,6 +1,6 @@
Name: python-configobj Name: python-configobj
Version: 5.0.6 Version: 5.0.6
Release: 18%{?dist} Release: 19%{?dist}
Summary: Config file reading, writing, and validation Summary: Config file reading, writing, and validation
License: BSD License: BSD
URL: http://configobj.readthedocs.org/ 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://pypi.python.org/packages/source/c/configobj/configobj-5.0.6.tar.gz
Source0: https://github.com/DiffSK/configobj/archive/v%{version}.tar.gz Source0: https://github.com/DiffSK/configobj/archive/v%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python2-setuptools
BuildRequires: python2-six
BuildRequires: python2-pytest
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-six 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. straightforward programmers interface and a simple syntax for config files.
%description %_description %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 %package -n python3-configobj
Summary: %{summary} Summary: %{summary}
%{?python_provide:%python_provide python3-configobj} %{?python_provide:%python_provide python3-configobj}
@ -41,29 +31,17 @@ Requires: python3-six
%autosetup -n configobj-%{version} %autosetup -n configobj-%{version}
%build %build
%py2_build
%py3_build %py3_build
%install %install
%py3_install %py3_install
%py2_install
%check %check
# this needs to be set for tests.test_configobj.test_options_deprecation # this needs to be set for tests.test_configobj.test_options_deprecation
export PYTHONWARNINGS=always export PYTHONWARNINGS=always
%{__python2} test_configobj.py
py.test-%{python2_version} tests
%{__python3} test_configobj.py %{__python3} test_configobj.py
py.test-%{python3_version} tests 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 %files -n python3-configobj
%doc README.md %doc README.md
%license LICENSE %license LICENSE
@ -74,6 +52,10 @@ py.test-%{python3_version} tests
%{python3_sitelib}/configobj-%{version}-py?.?.egg-info %{python3_sitelib}/configobj-%{version}-py?.?.egg-info
%changelog %changelog
* Sun Oct 20 2019 Miro Hrončok <mhroncok@redhat.com> - 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 <mhroncok@redhat.com> - 5.0.6-18 * Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 5.0.6-18
- Rebuilt for Python 3.8.0rc1 (#1748018) - Rebuilt for Python 3.8.0rc1 (#1748018)