You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-oxipng/rust2rpm.toml

19 lines
388 B

[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",
]