Skip to content

contrib/packaging/spec: Sync with Fedora changes #838

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 7, 2025

Conversation

travier
Copy link
Member

@travier travier commented Feb 6, 2025

contrib/packaging/spec: Sync with Fedora changes


Move systemd unit to systemd folder

This folder is already in Cargo.toml (leftover from our previous units)
so let's re-use that instead of including the contrib folder that has
the specfile in it as well.

Fixes: #803


The reverse is done in: https://src.fedoraproject.org/rpms/rust-bootupd/pull-request/16

@travier
Copy link
Member Author

travier commented Feb 6, 2025

Hum, for some reason, the systemd unit is not included in the crate tarball (the entire contrib directory is not there).

@cgwalters
Copy link
Member

(the entire contrib directory is not there).

Add contrib to

include = ["src", "LICENSE", "Makefile", "systemd"] in cargo.toml

This folder is already in Cargo.toml (leftover from our previous units)
so let's re-use that instead of including the contrib folder that has
the specfile in it as well.

Fixes: coreos#803
@cgwalters cgwalters merged commit 1af8396 into coreos:main Feb 7, 2025
12 checks passed
@travier travier deleted the main-sync-spec branch February 7, 2025 13:57
@cgwalters cgwalters mentioned this pull request Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants