Skip to content

Commit 2d0c365

Browse files
authored
Fix ptest for subunit via pip installs (#12188)
1 parent 0097e27 commit 2d0c365

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

SPECS/subunit/subunit.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
Summary: C bindings for subunit
1111
Name: subunit
1212
Version: 1.4.4
13-
Release: 5%{?dist}
13+
Release: 6%{?dist}
1414
License: Apache-2.0 OR BSD-3-Clause
1515
Vendor: Microsoft Corporation
1616
Distribution: Azure Linux
@@ -198,6 +198,7 @@ touch -r c++/SubunitTestProgressListener.h \
198198

199199
%check
200200
%if %{without bootstrap}
201+
pip3 install testtools iso8601 testscenarios fixtures
201202
# Run the tests for python3
202203
export LD_LIBRARY_PATH=$PWD/.libs
203204
export PYTHON=%{python3}
@@ -247,6 +248,9 @@ make check
247248
%{_bindir}/tap2subunit
248249

249250
%changelog
251+
* Fri Jan 31 2025 Sam Meluch <[email protected]> - 1.4.4-6
252+
- Add testtools install to %check section to fix ptest
253+
250254
* Thu Sep 12 2024 Zhichun Wan <[email protected]> - 1.4.4-5
251255
- Initial Azure Linux import from Fedora 42 (license: MIT)
252256
- License Verified

0 commit comments

Comments
 (0)