diff --git a/README.md b/README.md index 87c5f9b..339adad 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,4 @@ # python-mistune -A fast markdown parser in pure Python with renderer feature, inspired by marked and misaka. - A fast markdown parser in pure Python. diff --git a/python-mistune.spec b/python-mistune.spec index 8e316f0..5644456 100644 --- a/python-mistune.spec +++ b/python-mistune.spec @@ -1,24 +1,23 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-mistune -Version: 2.0.0a4 +Epoch: 1 +Version: 0.8.4 Release: 1mamba Summary: A fast markdown parser in pure Python Group: System/Libraries Vendor: openmamba Distribution: openmamba -Packager: Davide Madrisan +Packager: Silvan Calarco URL: https://github.com/lepture/mistune -Source: https://github.com/lepture/mistune/archive/v%{version}.tar.gz +Source: https://pypi.debian.net/mistune/mistune-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -BuildRequires: Cython -BuildRequires: python-nose -BuildRequires: python-setuptools -Requires: python >= %python_version -%description -A fast markdown parser in pure Python with renderer feature, inspired by marked and misaka. +%if 0%{?with_pyver} +%pyver_package +%endif %description %{summary}. @@ -34,17 +33,22 @@ CFLAGS="%{optflags}" %{__python} setup.py build %{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ - --install-headers=%{_includedir}/python \ + --install-headers=%{python_inc} \ --install-lib=%{python_sitearch} \ --record=%{name}.filelist -#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -%doc LICENSE README.rst +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* +%doc LICENSE %changelog +* Sun Feb 13 2022 Silvan Calarco 0.8.4-1mamba +- update to 0.8.4 (downgraded with epoch bump) + * Wed Apr 28 2021 Automatic Build System 2.0.0a4-1mamba - automatic version update by autodist