Skip to content

Commit c3c62ec

Browse files
authored
ci: drop all downstream patches on Packit (#4932)
1 parent c09a292 commit c3c62ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.packit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ actions:
1717
- "git clone https://src.fedoraproject.org/rpms/scapy .packit_rpm --depth=1"
1818
# Drop the "sources" file so rebase-helper doesn't think we're a dist-git
1919
- "rm -fv .packit_rpm/sources"
20+
# Drop all downstream patches to prevent them from interfering with upstream builds
21+
- "sed -ri '/^Patch[0-9]+\\:.+\\.patch/d' .packit_rpm/scapy.spec"
2022
- "sed -i '/^%check$/apip3 install scapy-rpc\\nOPENSSL_ENABLE_SHA1_SIGNATURES=1 OPENSSL_CONF=$(python3 ./.config/ci/openssl.py) ./test/run_tests -c test/configs/linux.utsc -K ci_only -K netaccess -K scanner' .packit_rpm/scapy.spec"
2123
- "sed -i '/^BuildArch/aBuildRequires: can-utils' .packit_rpm/scapy.spec"
2224
- "sed -i '/^BuildArch/aBuildRequires: libpcap' .packit_rpm/scapy.spec"

0 commit comments

Comments
 (0)