diff --git a/.gitignore b/.gitignore index 207f1e2..db40896 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /imgref-1.8.0.crate /imgref-1.9.0.crate /imgref-1.9.1.crate +/imgref-1.9.2.crate diff --git a/rust-imgref.spec b/rust-imgref.spec index 9601521..2d80638 100644 --- a/rust-imgref.spec +++ b/rust-imgref.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate imgref Name: rust-%{crate} -Version: 1.9.1 +Version: 1.9.2 Release: %autorelease Summary: Interchange of 2-dimensional pixel buffers with width, height & stride @@ -15,11 +15,8 @@ URL: https://crates.io/crates/imgref Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Trivial struct for interchange of 2d-dimensional pixel buffers with width, @@ -33,13 +30,13 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,11 +44,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 778393d..78dfd3a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (imgref-1.9.1.crate) = f0b1d0963e01631811e43ccda8d59369d6c89f19e05b20b0c65ef56f0225f629b059ab9cd1e4a5b36809f1fa95cdb770b02fab03fca988badc41c41077082a17 +SHA512 (imgref-1.9.2.crate) = bd0bad3ed8419a2dff9b85b11741071f8b92e150fdb1c9917c94e5cfe49b583453669f3794074ba42b6273d6f27c56f83b41aeae8e47448708f929986027fa81