keylime / rust-keylime

Rust implementation of the keylime agent
https://keylime.dev
Apache License 2.0
101 stars 56 forks source link

rpm/fedora: Update rust macro usage #799

Closed ansasaki closed 5 months ago

ansasaki commented 5 months ago

Changes based on patch by Yaakov Selkowitz on Fedora

The rust macros in Fedora were updated. This fixes the specfile used to build on Fedora with the new macros

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.22%. Comparing base (2f7b3ad) to head (9ae1ace). Report is 28 commits behind head on master.

Additional details and impacted files | [Flag](https://app.codecov.io/gh/keylime/rust-keylime/pull/799/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keylime) | Coverage Δ | | |---|---|---| | [e2e-testsuite](https://app.codecov.io/gh/keylime/rust-keylime/pull/799/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keylime) | `61.22% <ø> (+3.63%)` | :arrow_up: | | [upstream-unit-tests](https://app.codecov.io/gh/keylime/rust-keylime/pull/799/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keylime) | `61.22% <ø> (+10.21%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keylime#carryforward-flags-in-the-pull-request-comment) to find out more. [see 10 files with indirect coverage changes](https://app.codecov.io/gh/keylime/rust-keylime/pull/799/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=keylime)
ansasaki commented 5 months ago

Tested the specfile with a scratch build on Fedora Rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=118702254