diff --git a/python-mistune.changes b/python-mistune.changes index 024f851..ba01424 100644 --- a/python-mistune.changes +++ b/python-mistune.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Dec 26 17:24:01 UTC 2021 - Ben Greiner + +- Cleanup specfile +- Unskip python36: required by httpbin + ------------------------------------------------------------------- Thu Dec 16 19:49:28 UTC 2021 - Andreas Schneider diff --git a/python-mistune.spec b/python-mistune.spec index 704a9e1..95eb34d 100644 --- a/python-mistune.spec +++ b/python-mistune.spec @@ -18,19 +18,14 @@ %{?!python_module:%define python_module() python3-%{**}} %define modname mistune -%define skip_python36 1 -%if 0%{?suse_version} < 1550 %define skip_python2 1 -%endif -Name: python-mistune -# Wait with the upgrade to 2.* when python-m2r is working +Name: python-%{modname} Version: 2.0.0 Release: 0 -Summary: A markdown parser in pure Python +Summary: Python Markdown parser with renderers and plugins License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/lepture/mistune -# Source0: https://files.pythonhosted.org/packages/source/m/mistune/mistune-%%{version}.tar.gz Source: https://github.com/lepture/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} @@ -42,10 +37,11 @@ BuildArch: noarch %python_subpackages %description -A markdown parser in pure Python, inspired by marked. +A Python Markdown parser with renderers and plugins, +compatible with sane CommonMark rules. %prep -%autosetup -p1 -n mistune-%{version} +%autosetup -p1 -n %{modname}-%{version} %build %pyproject_wheel @@ -59,9 +55,8 @@ A markdown parser in pure Python, inspired by marked. %files %{python_files} %license LICENSE -%doc README.* -%{python_sitelib}/mistune -%dir %{python_sitelib}/mistune-%{version}.dist-info -%{python_sitelib}/mistune-%{version}.dist-info/* +%doc README.md +%{python_sitelib}/%{modname} +%{python_sitelib}/%{modname}-%{version}*-info %changelog