|
|
|
@ -15,6 +15,7 @@ Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
|
BuildRequires: tomcli
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Read and write OpenEXR files without any unsafe code.}
|
|
|
|
@ -55,6 +56,8 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
%cargo_prep
|
|
|
|
|
# fix CRLF line endings in source files: https://github.com/johannesvollmer/exrs/issues/239
|
|
|
|
|
find . -type f \( -name '*.md' -o -name '*.rs' \) -execdir dos2unix --keepdate '{}' '+'
|
|
|
|
|
# Do not depend on bencher; it is needed only for benchmarks.
|
|
|
|
|
tomcli set Cargo.toml del dev-dependencies.bencher
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|