update to 0.8.4 (downgraded with epoch bump) [release 0.8.4-1mamba;Sun Feb 13 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 11:27:41 +01:00
parent 72ae2e9ac2
commit ee7da75c1f
2 changed files with 18 additions and 16 deletions

View File

@ -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.

View File

@ -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 <davide.madrisan@gmail.com>
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.8.4-1mamba
- update to 0.8.4 (downgraded with epoch bump)
* Wed Apr 28 2021 Automatic Build System <autodist@mambasoft.it> 2.0.0a4-1mamba
- automatic version update by autodist