| |
@@ -1,4 +1,5 @@
|
| |
import contextlib
|
| |
+ import distro
|
| |
import os
|
| |
import logging
|
| |
import runpy
|
| |
@@ -375,6 +376,10 @@
|
| |
call = popen.call_args_list[0]
|
| |
assert call[0][0] == ['copr-repo', '--batched', '/some/dir', '--add', 'xxx']
|
| |
|
| |
+ @pytest.mark.skipif(
|
| |
+ distro.id() == 'fedora' and int(distro.version()) >= 36,
|
| |
+ reason="createrepo_c dropped md5 checksum support"
|
| |
+ )
|
| |
def test_copr_repo_el5(self, f_third_build):
|
| |
"""
|
| |
Test that special createrepo_c arguments are used when creating
|
| |
This will disallow us to create repositories for EL5 systems in the
future.
Relates: https://github.com/rpm-software-management/createrepo_c/pull/264
Fixes: #1971