Skip to content

Commit

Permalink
packit: set up OPENSSL_CONF properly (#4489)
Browse files Browse the repository at this point in the history
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 #4470
  • Loading branch information
evverx authored Aug 2, 2024
1 parent 0548582 commit cb784e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .packit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit cb784e0

Please sign in to comment.