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:
Evgeny Vereshchagin 2024-08-02 20:52:09 +03:00 committed by GitHub
parent 0548582f77
commit cb784e0e69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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