Apply PR6 by Igor Raits <ignatenkobrain@fedoraproject.org>: Support
for building on EPEL8 + upstream tests invocation. Remove unused BR on python3-tidy (we'd need pytidylib instead, which doesn't seem to be packaged).
This commit is contained in:
parent
8dd2a6eaee
commit
7b49a44132
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: python-%{pkgname}
|
Name: python-%{pkgname}
|
||||||
Version: 3.3.4
|
Version: 3.3.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Markdown implementation in Python
|
Summary: Markdown implementation in Python
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://python-markdown.github.io/
|
URL: https://python-markdown.github.io/
|
||||||
@ -20,8 +20,11 @@ there are a few very minor differences.
|
|||||||
Summary: Markdown implementation in Python
|
Summary: Markdown implementation in Python
|
||||||
BuildRequires: python%{python3_pkgversion}-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
BuildRequires: python%{python3_pkgversion}-PyYAML
|
BuildRequires: python%{python3_pkgversion}-PyYAML
|
||||||
BuildRequires: python%{python3_pkgversion}-tidy
|
|
||||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||||
|
%if 0%{?rhel} && 0%{?rhel} < 9
|
||||||
|
BuildRequires: python%{python3_pkgversion}-importlib-metadata
|
||||||
|
Requires: python%{python3_pkgversion}-importlib-metadata
|
||||||
|
%endif
|
||||||
|
|
||||||
Conflicts: python2-%{pkgname} < 3.1-2
|
Conflicts: python2-%{pkgname} < 3.1-2
|
||||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}
|
||||||
@ -49,7 +52,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} ./setup.py test
|
%python3 -m unittest discover tests
|
||||||
|
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-%{pkgname}
|
%files -n python%{python3_pkgversion}-%{pkgname}
|
||||||
@ -62,6 +65,12 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 27 2021 Thomas Moschny <thomas.moschny@gmx.de> - 3.3.4-2
|
||||||
|
- Apply PR6 by Igor Raits <ignatenkobrain@fedoraproject.org>: Support
|
||||||
|
for building on EPEL8 + upstream tests invocation.
|
||||||
|
- Remove unused BR on python3-tidy (we'd need pytidylib instead, which
|
||||||
|
doesn't seem to be packaged).
|
||||||
|
|
||||||
* Sat Feb 27 2021 Thomas Moschny <thomas.moschny@gmx.de> - 3.3.4-1
|
* Sat Feb 27 2021 Thomas Moschny <thomas.moschny@gmx.de> - 3.3.4-1
|
||||||
- Update to 3.3.4.
|
- Update to 3.3.4.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user