diff --git a/python-m2r.spec b/python-m2r.spec index c4cc3b3..146cc08 100644 --- a/python-m2r.spec +++ b/python-m2r.spec @@ -3,7 +3,7 @@ Name: python-%{pkgname} Version: 0.2.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Markdown to reStructuredText converter License: MIT @@ -17,22 +17,6 @@ BuildArch: noarch %{desc} -%package -n python2-%{pkgname} -BuildRequires: python2-devel -BuildRequires: python2-docutils -BuildRequires: python2-mistune -BuildRequires: python2-pygments -BuildRequires: python2-mock -Requires: python2-docutils -Requires: python2-mistune -Summary: %{summary} -%{?python_provide:%python_provide python2-%{pkgname}} - - -%description -n python2-%{pkgname} -%{desc} - - %package -n python3-%{pkgname} BuildRequires: python3-devel BuildRequires: python3-docutils @@ -60,28 +44,17 @@ sed -i '1{\@^#!/usr/bin/env python@d}' m2r.py %build -%py2_build %py3_build %install -%py2_install %py3_install %check -PYTHONPATH=$(pwd) %{__python2} setup.py test -s tests PYTHONPATH=$(pwd) %{__python3} setup.py test -s tests -%files -n python2-%{pkgname} -%license LICENSE -%doc README.md -%{python2_sitelib}/%{pkgname}.py{,c,o} -%{python2_sitelib}/%{pkgname}-%{version}*-py%{python2_version}.egg-info -%exclude %{python2_sitelib}/tests - - %files -n python3-%{pkgname} %license LICENSE %doc README.md @@ -93,6 +66,10 @@ PYTHONPATH=$(pwd) %{__python3} setup.py test -s tests %changelog +* Thu Nov 07 2019 Nikola Forró - 0.2.0-6 +- Remove Python 2 subpackage + resolves: #1769838 + * Thu Oct 03 2019 Miro Hrončok - 0.2.0-5 - Rebuilt for Python 3.8.0rc1 (#1748018)