diff --git a/python-simplejson.spec b/python-simplejson.spec index d538be3..9090b95 100644 --- a/python-simplejson.spec +++ b/python-simplejson.spec @@ -34,37 +34,9 @@ with Python 2.5. It gets updated more regularly than the json module in the python stdlib. -%package -n python2-simplejson -Summary: Simple, fast, extensible JSON encoder/decoder for Python2 -BuildRequires: gcc -BuildRequires: python2-devel -BuildRequires: python2-setuptools -%if %{with tests} -BuildRequires: python2-nose -%endif -%{?python_provide:%python_provide python2-simplejson} - -%description -n python2-simplejson -simplejson is a simple, fast, complete, correct and extensible JSON - encoder and decoder for Python 2.5+. It is pure Python code -with no dependencies, but includes an optional C extension for a serious speed -boost. - -The encoder may be subclassed to provide serialization in any kind of -situation, without any special support by the objects to be serialized -(somewhat like pickle). - -The decoder can handle incoming JSON strings of any specified encoding (UTF-8 -by default). - -simplejson is the externally maintained development version of the json library -included with Python 2.6 and Python 3.0, but maintains backwards compatibility -with Python 2.5. It gets updated more regularly than the json module in the -python stdlib. - - %package -n python%{python3_pkgversion}-simplejson Summary: Simple, fast, extensible JSON encoder/decoder for Python3 +BuildRequires: gcc BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools %if %{with tests} @@ -98,7 +70,6 @@ python stdlib. %setup -q -n simplejson-%{version} %build -%py2_build %py3_build %if %{with docs} @@ -109,23 +80,13 @@ rm docs/.nojekyll %endif %install -%py2_install %py3_install %if %{with tests} %check -%{__python2} -m nose %{__python3} -m nose %endif -%files -n python2-simplejson -%license LICENSE.txt -%if %{with docs} -%doc docs -%endif -%{python2_sitearch}/simplejson/ -%{python2_sitearch}/simplejson-%{version}-py?.?.egg-info/ - %files -n python%{python3_pkgversion}-simplejson %license LICENSE.txt %if %{with docs} @@ -138,6 +99,7 @@ rm docs/.nojekyll * Mon Nov 18 2019 Randy Barlow - 3.17.0-1 - Update to 3.17.0 (#1773534). - https://github.com/simplejson/simplejson/blob/v3.17.0/CHANGES.txt +- Drop python2-simplejson. * Thu Oct 03 2019 Miro HronĨok - 3.16.0-5 - Rebuilt for Python 3.8.0rc1 (#1748018)