diff --git a/rust-image.spec b/rust-image.spec index 2699ac5..02042cc 100644 --- a/rust-image.spec +++ b/rust-image.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 9 +# Generated by rust2rpm 10 %bcond_without check %global debug_package %{nil} @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.21.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Imaging library written in Rust # Upstream license specification: MIT @@ -23,24 +23,6 @@ BuildArch: noarch %endif BuildRequires: rust-packaging -%if ! %{__cargo_skip_build} -BuildRequires: (crate(byteorder/default) >= 1.2.1 with crate(byteorder/default) < 2.0.0) -BuildRequires: (crate(gif/default) >= 0.10.0 with crate(gif/default) < 0.11.0) -BuildRequires: (crate(jpeg-decoder) >= 0.1.0 with crate(jpeg-decoder) < 0.2.0) -BuildRequires: (crate(jpeg-decoder/rayon) >= 0.1.0 with crate(jpeg-decoder/rayon) < 0.2.0) -BuildRequires: (crate(lzw/default) >= 0.10.0 with crate(lzw/default) < 0.11.0) -BuildRequires: (crate(num-iter/default) >= 0.1.32 with crate(num-iter/default) < 0.2.0) -BuildRequires: (crate(num-rational) >= 0.2.1 with crate(num-rational) < 0.3.0) -BuildRequires: (crate(num-traits/default) >= 0.2.0 with crate(num-traits/default) < 0.3.0) -BuildRequires: (crate(png/default) >= 0.14.0 with crate(png/default) < 0.15.0) -BuildRequires: (crate(scoped_threadpool/default) >= 0.1.0 with crate(scoped_threadpool/default) < 0.2.0) -BuildRequires: (crate(tiff/default) >= 0.2.0 with crate(tiff/default) < 0.3.0) -%if %{with check} -BuildRequires: (crate(glob/default) >= 0.3.0 with crate(glob/default) < 0.4.0) -BuildRequires: (crate(num-complex/default) >= 0.2.0 with crate(num-complex/default) < 0.3.0) -BuildRequires: (crate(quickcheck/default) >= 0.6.2 with crate(quickcheck/default) < 0.7.0) -%endif -%endif %global _description %{expand: Imaging library written in Rust. Provides basic filters and decoders for the @@ -282,6 +264,9 @@ which use "webp" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -294,6 +279,9 @@ which use "webp" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 20:49:22 CEST 2019 Igor Gnatenko - 0.21.2-2 +- Regenerate + * Sun Jun 09 17:07:34 CEST 2019 Igor Gnatenko - 0.21.2-1 - Update to 0.21.2