diff --git a/roles/copr/dist_git/files/patches/python3-rpkg-autospec.patch b/roles/copr/dist_git/files/patches/python3-rpkg-autospec.patch deleted file mode 100644 index bda337f09f..0000000000 --- a/roles/copr/dist_git/files/patches/python3-rpkg-autospec.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- /usr/lib/python3.10/site-packages/pyrpkg/utils.py 2022-09-06 20:05:35.000000000 +0000 -+++ /usr/lib/python3.10/site-packages/pyrpkg/utils.py 2022-09-22 19:08:16.328405267 +0000 -@@ -323,6 +323,7 @@ - - - def spec_file_processed_by_rpmautospec(file_name, dir_path=None): -+ return False - file_path = os.path.join(dir_path or "", file_name) - - try: diff --git a/roles/copr/dist_git/tasks/main.yml b/roles/copr/dist_git/tasks/main.yml index 9c0dc9b2a9..b258a10275 100644 --- a/roles/copr/dist_git/tasks/main.yml +++ b/roles/copr/dist_git/tasks/main.yml @@ -31,11 +31,6 @@ - dist-git-selinux - copr-dist-git -- name: re-allow importing autospec pre-generated srpms, https://pagure.io/copr/copr/issue/2317 - patch: src=patches/python3-rpkg-autospec.patch - dest=/usr/lib/python3.11/site-packages/pyrpkg/utils.py - tags: patches - - name: switch selinux to enforcing selinux: policy=targeted state=enforcing