copr dist-git: remove pyrpkg patch for SRPM pre-generating check

Completes: https://github.com/fedora-copr/copr/pull/2686

Partly resolves: https://github.com/fedora-copr/copr/issues/2317
This commit is contained in:
Jiri Kyjovsky 2023-04-24 17:37:10 +02:00 committed by praiskup
parent 34026767ff
commit f0e574daff
2 changed files with 0 additions and 15 deletions

View file

@ -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:

View file

@ -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