[package] extra-files = [ "%{_mandir}/man1/oxipng.1*", ] [scripts.install] post = [ "mansrc='target/release/assets/oxipng.1'", "mandest='%{buildroot}%{_mandir}/man1'", "install -t \"${mandest}\" -D -p -m 0644 \"${mansrc}\"", ] [features] hide = [ # Needs "dep:image"; waiting for rust-image 0.25.1: # https://bugzilla.redhat.com/show_bug.cgi?id=2268816 "sanity-checks", ]