diff --git a/increase_timeout_for_riscv.patch b/increase_timeout_for_riscv.patch new file mode 100644 index 0000000000000000000000000000000000000000..c9873f20ec6c8974c015218800c4e1a0f9627baf --- /dev/null +++ b/increase_timeout_for_riscv.patch @@ -0,0 +1,36 @@ +--- a/modulemd/meson.build 2022-01-05 09:59:49.201221900 +0800 ++++ b/modulemd/meson.build 2022-01-10 14:29:21.453537300 +0800 +@@ -379,7 +379,7 @@ + ) + test(name + '_debug', exe, + env : test_env, +- timeout : 120, ++ timeout : 720, + suite : ['ci', 'ci_valgrind', 'c', 'c_debug']) + test(name + '_release', exe, + env : test_release_env, +@@ -412,13 +412,13 @@ + test_python_scripts += files(script) + test (name + '_python3_debug', python3, + env : py_test_env, +- timeout : 60, ++ timeout : 360, + args : files(script), + depends : girs, + suite : ['ci', 'py3', 'py3_debug']) + test (name + '_python3_release', python3, + env : py_test_release_env, +- timeout : 60, ++ timeout : 360, + args : files(script), + depends : girs, + suite : ['ci', 'py3', 'py3_release']) +@@ -555,7 +555,7 @@ + test('test_import_headers', import_header_script, + env : test_env, + args : modulemd_hdrs, +- timeout : 300, ++ timeout : 600, + suite : ['smoketest', 'ci']) + + diff --git a/libmodulemd.spec b/libmodulemd.spec index 5fd00ca3fdf1e6948bb118b964d92399028ca3e5..ac59426a4d3fa38b9070b59c03e05fe102c058d3 100644 --- a/libmodulemd.spec +++ b/libmodulemd.spec @@ -2,12 +2,16 @@ # and made some modifications. Name: libmodulemd Version: 2.13.0 -Release: 1 +Release: 2 Summary: C Library for manipulating module metadata files License: MIT URL: https://github.com/fedora-modularity/libmodulemd Source0: https://github.com/fedora-modularity/libmodulemd/releases/download/libmodulemd-%{version}/modulemd-%{version}.tar.xz +%ifarch riscv64 +Patch1: increase_timeout_for_riscv.patch +%endif + BuildRequires: meson pkgconfig gcc gcc-c++ gobject-introspection-devel libxslt Buildrequires: python3-devel python3-gobject-base glib2-doc rpm-devel file-devel help2man %ifarch %{valgrind_arches} @@ -81,6 +85,12 @@ export LC_CTYPE=C.utf8 %{python3_sitearch}/gi/overrides/ %changelog +* Tue Jan 11 2022 lvxiaoqian - 2.13.0-2 +- Type:NA +- ID:NA +- SUG:NA +- DESC:increase test timeout for riscv + * Tue Jul 27 2021 zoulin - 2.13.0-1 - Type:requirement - ID:NA