https://bugzilla.redhat.com/show_bug.cgi?id=2345948 Davide Cavalca <davide@xxxxxxxxxxxx> changed: What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value --- Comment #3 from Davide Cavalca <davide@xxxxxxxxxxxx> --- $ cat rust2rpm.toml [package] description = "binfmt-dispatcher is a simple dispatcher for binfmt_misc that dynamically picks the best interpreter to use at runtime." extra-files = [ "%doc docs/binfmt-dispatcher.toml.example", "%dir %{_prefix}/lib/binfmt-dispatcher.d/", "%ifnarch %{ix86} %{x86_64}", "%{_binfmtdir}/zz-binfmt-dispatcher-*.conf", "%{_prefix}/lib/binfmt-dispatcher.d/*.toml", "%endif", "%{_datadir}/polkit-1/actions/org.AsahiLinux.binfmt_dispatcher.policy", "%config(noreplace) %ghost %{_sysconfdir}/binfmt-dispatcher.toml", ] [requires] build = [ "make", "systemd-rpm-macros", ] bin = [ "polkit", "systemd", ] [scripts] install.post = [ "make install-data DESTDIR=\"%{buildroot}\"", "install -Ddpm0755 %{buildroot}%{_prefix}/lib/binfmt-dispatcher.d", "%ifarch %{ix86} %{x86_64}", # Do not install any default config on x86 "rm %{buildroot}%{_binfmtdir}/binfmt-dispatcher-*.conf", "rm %{buildroot}%{_sysconfdir}/binfmt-dispatcher.toml", "%else", # Prefix zz- to the binfmt.d configs to ensure they take precendence. "for f in %{buildroot}%{_binfmtdir}/binfmt-dispatcher-*.conf; do mv \"$f\" \"$(dirname \"$f\")/zz-$(basename \"$f\")\"; done", # Relocate the default config to /usr "mv %{buildroot}%{_sysconfdir}/binfmt-dispatcher.toml %{buildroot}%{_prefix}/lib/binfmt-dispatcher.d/00-default.toml", "%endif", ] -- You are receiving this mail because: You are always notified about changes to this product and component You are on the CC list for the bug. https://bugzilla.redhat.com/show_bug.cgi?id=2345948 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202345948%23c3 -- _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue