You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You get the error because you enabled both the macro expansion and the queryformat expansion. Use only the 0b001 flag instead.
When you expand the macro (try rpm --eval '%systemd_post foo.service' in terminal to see the expanded value) you get square brackets in it which then get expanded as a queryformat.
I'm trying and failing to follow the instructions on https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#Systemd .
Here's what I have:
which results in:
Perhaps the problem is that I'm missing
BuildRequires: systemd-rpm-macros
, but there doesn't appear to be a way to add this with cargo-generate-rpm?The text was updated successfully, but these errors were encountered: