Skip to content

Commit 02469b5

Browse files
authored
Fix Ptest for python-markdown (#13634)
1 parent fdb0a1f commit 02469b5

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

SPECS/python-markdown/python-markdown.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Summary: Markdown implementation in Python
44
Name: python-%{pkgname}
55
Version: 3.5.2
6-
Release: 1%{?dist}
6+
Release: 2%{?dist}
77
License: BSD
88
Vendor: Microsoft Corporation
99
Distribution: Azure Linux
@@ -49,7 +49,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
4949
LICENSE.md > LICENSE.html
5050

5151
%check
52-
%{__python3} ./setup.py test
52+
%{__python3} -m unittest discover -v
5353

5454

5555
%files -n python%{python3_pkgversion}-%{pkgname}
@@ -61,6 +61,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
6161
%{_bindir}/markdown_py
6262

6363
%changelog
64+
* Tue Apr 29 2025 Riken Maharjan <rmaharjan@microsoft.com> - 3.5.2-2
65+
- Use proper ptest command to run the test.
66+
6467
* Fri Feb 16 2024 Andrew Phelps <anphel@microsoft.com> - 3.5.2-1
6568
- Upgrade to version 3.5.2
6669
- Add BR for python3-pip and python3-wheel

0 commit comments

Comments
 (0)