mirror of https://github.com/secdev/scapy.git
packit: set up OPENSSL_CONF properly (#4489)
openssl got updated on Fedora Rawhide and its defaults are no longer compatible with the test suite. `.config/ci/openssl.py` sets it up and gets the tests to pass there. Closes https://github.com/secdev/scapy/issues/4470
This commit is contained in:
parent
0548582f77
commit
cb784e0e69
|
@ -17,7 +17,7 @@ actions:
|
|||
- "git clone https://src.fedoraproject.org/rpms/scapy .packit_rpm --depth=1"
|
||||
# Drop the "sources" file so rebase-helper doesn't think we're a dist-git
|
||||
- "rm -fv .packit_rpm/sources"
|
||||
- "sed -i '/^# check$/a%check\\n./test/run_tests -c test/configs/linux.utsc -K scanner' .packit_rpm/scapy.spec"
|
||||
- "sed -i '/^# check$/a%check\\nOPENSSL_CONF=$(python3 ./.config/ci/openssl.py) ./test/run_tests -c test/configs/linux.utsc -K scanner' .packit_rpm/scapy.spec"
|
||||
- "sed -i '/^BuildArch/aBuildRequires: can-utils' .packit_rpm/scapy.spec"
|
||||
- "sed -i '/^BuildArch/aBuildRequires: libpcap' .packit_rpm/scapy.spec"
|
||||
- "sed -i '/^BuildArch/aBuildRequires: openssl' .packit_rpm/scapy.spec"
|
||||
|
|
Loading…
Reference in New Issue