diff --git a/python-pygments-markdown-lexer.spec b/python-pygments-markdown-lexer.spec index f1b5fb1..3946ee5 100644 --- a/python-pygments-markdown-lexer.spec +++ b/python-pygments-markdown-lexer.spec @@ -1,6 +1,3 @@ -%if 0%{?fedora} -%global with_python3 1 -%endif %{!?_licensedir: %global license %%doc} @@ -9,7 +6,7 @@ Name: python-pygments-markdown-lexer Version: 0.1.0.dev39 -Release: 11%{?dist} +Release: 12%{?dist} Summary: %{sum} # One file is BSD, the rest are ASL @@ -19,29 +16,13 @@ URL: http://pypi.python.org/pypi/pygments-markdown-lexer Source0: https://pypi.python.org/packages/source/p/%{modname}/%{modname}-%{version}.zip BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-pygments - -%if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pygments -%endif %description %{sum} -%package -n python2-%{modname} -Summary: %{sum} -%{?python_provide:%python_provide python2-%{modname}} - -Requires: python2-pygments - -%description -n python2-%{modname} -%{sum} - -%if 0%{?with_python3} %package -n python3-%{modname} Summary: %{sum} %{?python_provide:%python_provide python3-%{modname}} @@ -50,41 +31,30 @@ Requires: python3-pygments %description -n python3-%{modname} %{sum} -%endif %prep %autosetup -n %{modname}-%{version} %build -%py2_build -%if 0%{?with_python3} %py3_build -%endif %install -%py2_install -%if 0%{?with_python3} %py3_install -%endif # Well this is weird... rm -rf %{buildroot}/usr/EGG-INFO -%files -n python2-%{modname} -%doc README.md -%license LICENSE -%{python2_sitelib}/pygments_markdown_lexer/ -%{python2_sitelib}/pygments_markdown_lexer-%{version}* - -%if 0%{?with_python3} %files -n python3-%{modname} %doc README.md %license LICENSE %{python3_sitelib}/pygments_markdown_lexer/ %{python3_sitelib}/pygments_markdown_lexer-%{version}-* -%endif %changelog +* Wed Jan 09 2019 Miro HronĨok - 0.1.0.dev39-12 +- Subpackage python2-pygments-markdown-lexer has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Jul 14 2018 Fedora Release Engineering - 0.1.0.dev39-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild